[SUMMARY] Solstice DiskSuite question

From: J. A. Landamore <jal_at_mcs.le.ac.uk>
Date: Tue Aug 28 2007 - 06:00:31 EDT
On 21st August I asked

--
I have 5 disks in a RAID 0 (stripe/concat) configuration under Solstice
DiskSuite.  One is going bad (1 hard error, soft errors clocking up 2 or 3
a day)  As you can see the system isn't mirrored, so if I'm not careful
I'll have to do a full restore of all the data, tedious.

The system is under contract, so a replacement disk is arriving tomorrow.
If I format the new disk the same as the old one, don't newfs it, and dd
the data partition from failing to new, what is the chance of it working?
--

Thanks to 

Andrew Toon
James W. Abendschan
Darren Dunham
John Stoffel
Jeff Woolsey
Brad Morrison

for their replies and messages of support, especially those who mentioned
about SLVM keeping track of the disk ids.

In short it worked.

The technique is as follows

remove any state database replicas on the failing disk using metadb -d
comment out S35svm.init in /etc/rcS.d to stop volume manager initialising
comment out entry in /etc/vfstab for the metadrive
touch /reconfigure to force a configuration reboot
halt the system
connect the new disk
boot single user
format and label the new disk identically to the failing one.  (Here I was
probably very fortunate as the disk supplied was same make and model as
the failing one)
dd the data partition from the old to new disk.  I used a block size of
248b i.e. one track per transfer  This stage must be error free.
touch /reconfigure
halt the system
replace the failing drive with the new one, making sure the SCSI address
stays the same i.e. if the failing drive was c1t2d0 the new one must be
c1t2d0
boot single user
update the disk id using metadevadm
uncomment S35svm.init in /etc/rcS.d
halt the system
boot single user
fsck the metadrive

If this goes cleanly then uncomment the metadrive in vfstab and reboot.
You can add state database replicas if you wish

This took me 90 minutes to rebuild the system as opposed to approximately
18 hours if I'd had to restore all the data from backup.


-- 
John Landamore

School of Mathematics & Computer Science
University of Leicester
University Road, LEICESTER, LE1 7RH
J.Landamore@mcs.le.ac.uk
Phone: +44 (0)116 2523410       Fax: +44 (0)116 2523604
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Aug 28 05:58:55 2007

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