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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System Disk Dead - Restore ?

Status
Not open for further replies.

Michael42

Programmer
Oct 8, 2001
1,454
US
Hello, I need to replace a SunBlade 100's hard disk. Does this sound like the right steps? Thanks for your advice!

Environment:
No network boot option is available for this workstation and disk is dead (cannot restore disk-to-disk).


Prerequisites:
* Document vfstab, disk partition layout (using format).
* ufsdump disk file system's to tape.


Procedure:
1. Replace disk.
2. Boot from Solaris cdrom
Do not start the solaris installation program, or stop it.
3. Run format and create the partitions on the new disk.
4. newfs each partition.
5. Restore each partition one at a time:
a. Mount partition
b. ufsrestore the corresponing partition (file system).
c. umount, next partition.
6. Create book block.
cd /usr/platform/`uname -i `/lib/fs/ufs
installboot bootblk /dev/rdsk/c0t0d0s0

Michael
 
how do you want mount a dead disk partition ? -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
Thanks for replying jamisar,

Actually I'll have several partitions. Hwre is the layout:

rootdisk.s0 95 0 - 193 /
rootdisk.s1 500 194 - 1209 swap
rootdisk.s3 1250 1210 - 3749 /usr
rootdisk.s4 120 3750 - 3993 /var
rootdisk.s5 250 3994 - 4501 /tmp
rootdisk.s6 980 4502 - 6493 /opt
rootdisk.s7 free 6494 -<last> /usr1
Michael
 
TOO SMALL rootdisk.s0 95 0 - 193 /
rootdisk.s1 500 194 - 1209 swap
PUT THIS IN / rootdisk.s3 1250 1210 - 3749 /usr
rootdisk.s4 120 3750 - 3993 /var
DO NOT DO THIS rootdisk.s5 250 3994 - 4501 /tmp
rootdisk.s6 980 4502 - 6493 /opt
rootdisk.s7 free 6494 -<last> /usr1

OS ? mem ?
-----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
Jamisar, thanks for the comments. OS will be Solaris 8 (0202). RAM is 512mb.

Do my steps seem OK or am I missing something?


Thanks again, Michael
 
sol8 puts swap on slice 0, min 512mb
don't try to change this (you get problems)
make a 2gigs / partition on slice 1, sol8 is 'gourmand'
donot make a /usr part, you simply lose space
let /tmp in /
the rest is up to you -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top