SUMMARY Restoring Boot Disk after hard drive crash

From: Kamalan Govender <kamalang_at_cns.wits.ac.za>
Date: Sat Apr 06 2002 - 04:26:03 EST
Many thanks to the following for all the help and advice given.

davem@fdgroup.com 
eisenman@ilt.com 
pat.novak@po.state.ct.us
Vern.Walls@parsons.com
Charles.Homan@GDC4S.Com
Bertrand_Hutin@notes.amdahl.com 
fabrice@bluemartini.com 
peter@ashlyn.co.uk 
mikelist@sky.net 
ddunham@taos.com
mps@blackbird.discomsys.com
Stan.Pietkiewicz@statcan.ca
keith_tarbell@ad.gris.wnyric.org
mike@babbage.cs.umsl.edu
paul@ultra5.co.uk
epa9206@epa.state.il.us
chipman@ecopiabio.com
John.E.Riddoch@is.shell.com
Will.Enestvedt@jwu.edu
RDinwid@templeinland.com
mike.salehi@kodak.com
JStults@ap.org
dharrington@dscr.dla.mil

The sequence that brought up the machine is as follows.
1	"stop + a"
2 	Boot with cdrom and command "boot cdrom -sw"
3	type "format"
4	select damaged disk
5	print partition table
6	power-off and remove damaged disk and replace with new disk
7	boot with cdrom and command "boot cdrom -sw"
8	type "format"
9	recreate old partitions from old drive
10	name, label and save
11	type newfs /dev/rdsk/c0t0d0s0
12	mount /dev/dsk/c0t0d0s0 /a   (note the change from rdsk to dsk,
this 
	took a while to figure out)
13	cd /a
14	ufsresote -I /dev/rmt/0n 
15	add * (change as per you requirement and also what you backed up
on 
	your tape)
16	extract
17	more /a/etc/vfstab (verfity that is what your system should look
like)
18	init 6

This successfully brought up our machine (as you can see as I am using
my e-mail address to send the summary)

Once again thanks to everyone.
_________________________________________________
Kamalan Govender
Computer & Network Services
University of the Witwatersrand
Tel:         +27 11 717 1671
Fax:         +27 11 339 1225
Web-site:    www.wits.ac.za
 

-----Original Message-----
 Subject: Restoring Boot Disk after hard drive crash

Hi all. We have a SPARC server 1000 with Solaris 7. The hard drive from
which the OS boots crashed and has since been replaced. We has created
the needed partitions for the drive and want to restore from tape the
data that was there. On the drive were the files for /root and /usr and
swap. We are able to bring the machine up from cdrom with the command
"boot cdrom -sw". When we try to make the directory /root from / it
gives
the error "mkdir: Failed to make directory "/root"; Read-only file
system". We are able to see the drive using the format command. Once we
make the /root directory we were going to try to add the files from tape
in to the directory. using ufsrestore -i /dev/rmt/0 to read the files
and
them to the directory.  Any help or suggestions will we greatly
appreciated. thanks in advance

------------------------------------------------------------------------
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Sat Apr 6 03:19:21 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:39 EST