Solved

root disk crashed!!!!

Posted on 2004-04-14
8
463 Views
Last Modified: 2013-12-27
hi all,

i am having an E3500 sun server with solaris 8 (patch level 12) with a D1000 sun storedge attached to it....the root disk of this server having /,swap,/var & /export/home has crashed.

i am trying to restore the same from my backups which was taken in multiuser mode with all the users logged off & no activity on the disk during the period.

 i am doing restoration by booting through the  sun cdrom in single user mode & restoring it through "ufsrestore rvf".

now my new disk is getting detected at " probe-fcal-all" & also while booted through cd but on loading through the root disk on which all data was recenly backed up,the following happens:

1.>it starts loading the os

2.>shows hostname

3.>then gives errors like

c0t0d0s1 not found

c0t0d0s0 not found , these are my swap & root partitions respectively.

then it comes to single user mode and asks for passwd:

here it accepts my old root passwd but on giving " format" command it shows me the six harddisks on my D1000 but the local hard disk is not shown....& the booting process stops & doesnt proceed further.

also

# cd /dev/dsk

#ls -l

shiows the entries made on todays date....as i had given boot -r...i have also tried restoring from a backup taken 6 months back the effect being the same.

this server being an NIS client many users are being affected by it ..... any suggestions are welcome.

i will summarise

thanks n regards

red
0
Comment
Question by:redim
8 Comments
 
LVL 4

Expert Comment

by:Otetelisanu
ID: 10830275
1. Change the the root disk

2. Boot with boot cdrom

3. Install from CDROM in your new disk the Solaris (only boot disk  c0t0d0s0..7)
    smool install

4. after installation reboot with boor -r

5. cp /usr/lib/fs/ufs/ufsrestore /usr/lib/fs/ufs/ufsrestore1

6. go to /   (cd /)

7 .     /usr/lib/fs/ufs/ufsrestore1 -xfv (from backup file)

Example:
ufsrestore xfs /dev/rmt/0hn 5
or
ufsrestore -xfv /dev/rmt0
.....


That is all



     
0
 
LVL 7

Expert Comment

by:fim32
ID: 10834717
you put the new disk where the old disk was?  meaning, the new disk is at c0t0d0s0?

what does probe-scsi-all show? you say you used probe-fcal-all?  but the disks on the e3500 and the d1000 should be plain old scsi devices?  where does your boot disk reside?

from the errors you have given, it sounds like you just need to rebuild your links.  from single user mode, try "devfsadm -c disk" to see if you can rebuild the disk links.

strange that it would boot up, AND not find your root disk, is it booting off of the network?  what is the path to the boot device?
0
 

Author Comment

by:redim
ID: 10834985
hi administrator
kindly return my 125 pts...i hav solved the issue...as foll:
1.>boot through cd
2.>restore backup
3.>remove path_to_inst & dev links
4.>reconfigure & reboot
thanks to everybody who tried helping.
bye n regards
red
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:redim
ID: 10835004
also  "fim32"  the disks on E3500 are fibre & do show up in
probe-fcal-all.... and abt why the system booted half way through i hav no idea maybe someone cld enlighten us on this issue.
bye
red
0
 
LVL 7

Expert Comment

by:fim32
ID: 10835841
ah, well there you go :P

on your e3500, what are you other boot-devices?  on your running system, you can type "/usr/platform/sun4u/sbin/eeprom" to view the settings in your boot prom
0
 

Author Comment

by:redim
ID: 10839447
ter is only one disk on my e3500...
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
ID: 10839736
User resolved; closed, 125 points refunded.

Netminder
Site Admin
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question