Solved

root disk crashed!!!!

Posted on 2004-04-14
8
461 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 

Author Comment

by:redim
Comment Utility
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
Comment Utility
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
Comment Utility
ter is only one disk on my e3500...
0
 
LVL 5

Accepted Solution

by:
Netminder earned 0 total points
Comment Utility
User resolved; closed, 125 points refunded.

Netminder
Site Admin
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

772 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now