Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ufsrestore and DR

Status
Not open for further replies.

kozlow

MIS
Mar 3, 2003
326
US
I am testing my DR procedure for a SUNFIRE V100 running 9. My v100 does not have a tape drive, so I backup each individual filesystem as follows:

ufsdump 0cuf - / | rsh PAIX5 dd of=/dev/rmt0.1 obs=1024
ufsdump 0cuf - /var | rsh PAIX5 dd of=/dev/rmt0.1 obs=1024
ufsdump 0cuf - /etc | rsh PAIX5 dd of=/dev/rmt0.1 obs=1024

where PAIX5 is an IBM RS6000 with an 8mm tape unit. No problems here. If I wanted to recovery my system, can I do the following:

OK boot cdrom -s
# mount /dev/dsk/c0t2d0s0 /a
# cd /a
# rm -r /a/*
# rsh PAIX5 dd if=/dev/rmt0.1 ibs=1024 | ufsrestore rvxf -
then
# unmount /a
# mount /dev/dsk/c0t2d0s5 /a
repeating the process for each slice/filesystem.
 
Your first problem will be networking since you do not have a valid IP address, nor does Solaris know the ip address or name of the PAIX5 server. You should be able to overcome this by bringing your interface up and setting a default gateway if required. You will probably need to refer to PAIX5 by IP adress rather than name.

Secondly - you may need to reformat and run mkfs on your disk if it has been replaced. You don't need to unmount the /a each filesystem simply mount /a/var /a/etc etc.

Remember to call installlboot after recovering root to replace the bootblk if the disk has been replaced.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top