Link to home
Start Free TrialLog in
Avatar of redim
redim

asked on

root disk crashed!!!!

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
Avatar of Otetelisanu
Otetelisanu

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



     
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?
Avatar of redim

ASKER

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
Avatar of redim

ASKER

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
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
Avatar of redim

ASKER

ter is only one disk on my e3500...
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial