Quote:
Originally Posted by RTM
Re-seating the 'bad' drives can be done without powering down - they are hot-swappable so it would be like removing the old and putting in the new (just that it's the same drive). So try that first with c1t3 - if it spins up the system may see it. If not, you haven't lost anything.
You can determine the slice by looking at /etc/vfstab and finding the md device for / partiton. Then look at your metastat output for that device.
And the only way to tell if the drive is bad is to hit it - ls -Rla from top of the partition should create some errors at some point - or go into format and run an analyze (read, refresh, or test - the ones that do not harm data).
Double check that syslogd is running and configured to pop warning messages into your /var/adm/messages file (or what ever you put it in).
I tried removing and reseating the drive, but no go. The box still isn't seeing it... I ran an iostat -En and found c1t1 has a ton of hard errors and c1t3 is not listed... So I've requested two replacement drives from Sun.
Once I get them, I can hot swap them for a the new drives, right? Is there a command a need to run before yanking out the drive and putting in the new one? C1t1 seems to be a mirror of the slices of the system disk. If so I can then just run these command to setup slices automatically, right?
# prtvtoc /dev/rdsk/c1t0d0s2 > /tmp/format.out
# fmthard -s /tmp/format.out /dev/rdsk/c1t1d0s2
# prtvtoc /dev/rdsk/c1t2d0s2 > /tmp/format.out
# fmthard -s /tmp/format.out /dev/rdsk/c1t3d0s2
Then once that's done, I enable the metabases on the new disks as metastat indicates:
# /usr/opt/SUNWmd/metareplace -e d60 c1t3d0s6
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s0
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s1
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s3
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s6
The mirrors will start resyncing once metareplace is invoked, right?
Thanks!