From: Richard Skelton (Richard.Skelton@infineon.com)
Date: Wed Oct 05 2005 - 09:59:41 EDT
Hi,
Why does my RAID 5 disk not go into maintenance state when I remove it?
I have installed Solaris 9 9/05 and created a RAID 5 from 12 36GB disks:-
metainit d8 -r c0t1d0s2 c0t2d0s2 c0t3d0s2 c1t5d0s2 c1t6d0s2 c1t7d0s2
c3t0d0s2 c3t1d0s2 c3t2d0s2 c4t5d0s2 c4t6d0s2 c4t7d0s2
I then created a hot spare :-
metainit hsp001 c3t3d0s2
and associated it to d8:-
metaparam -h hsp001 d8
When the RAID had finished initialising I created a file system on the
RAID and mounted it on /mnt
Running metastat shows everything looks OK:-
root: metastat d8
d8: RAID
State: Okay
Hot spare pool: hsp001
Interlace: 32 blocks
Size: 782361423 blocks
Original device:
Size: 782363296 blocks
Device Start Block Dbase State Hot Spare
c0t1d0s2 3219 No Okay
c0t2d0s2 3219 No Okay
c0t3d0s2 3219 No Okay
c1t5d0s2 3219 No Okay
c1t6d0s2 3219 No Okay
c1t7d0s2 3219 No Okay
c3t0d0s2 3219 No Okay
c3t1d0s2 3219 No Okay
c3t2d0s2 3219 No Okay
c4t5d0s2 3219 No Okay
c4t6d0s2 3219 No Okay
c4t7d0s2 3219 No Okay
If I pull the disk c0t1d0 is see in /var/adm/messages:-
Oct 5 14:35:40 brstb1 scsi: [ID 243001 kern.info]
/sbus@2,0/SUNW,socal@d,10000/sf@0,0 (sf0):
Oct 5 14:35:40 brstb1 Open failure to target 0x1 forcing LIP
Oct 5 14:35:40 brstb1 scsi: [ID 107833 kern.notice]
/sbus@2,0/SUNW,socal@d,10000/sf@0,0 (sf0):
Oct 5 14:35:40 brstb1 Forcing lip
Oct 5 14:35:40 brstb1 socal: [ID 403145 kern.info]
ID[SUNWssa.socal.link.5010] socal0: port 0: Fibre Channel is OFFLINE
Oct 5 14:35:40 brstb1 socal: [ID 403145 kern.info]
ID[SUNWssa.socal.link.6010] socal0: port 0: Fibre Channel Loop is ONLINE
Oct 5 14:35:40 brstb1 scsi: [ID 243001 kern.info]
/sbus@2,0/SUNW,socal@d,10000/sf@0,0 (sf0):
Oct 5 14:35:40 brstb1 target 0x1 al_pa 0xe8 lun 0 offlined
but metastat still shows:-
root: metastat d8
d8: RAID
State: Okay
Hot spare pool: hsp001
Interlace: 32 blocks
Size: 782361423 blocks
Original device:
Size: 782363296 blocks
Device Start Block Dbase State Hot Spare
c0t1d0s2 3219 No Okay
c0t2d0s2 3219 No Okay
c0t3d0s2 3219 No Okay
c1t5d0s2 3219 No Okay
c1t6d0s2 3219 No Okay
c1t7d0s2 3219 No Okay
c3t0d0s2 3219 No Okay
c3t1d0s2 3219 No Okay
c3t2d0s2 3219 No Okay
c4t5d0s2 3219 No Okay
c4t6d0s2 3219 No Okay
c4t7d0s2 3219 No Okay
Why?
-- Cheers Richard Skelton Richard.Skelton@infineon.com Infineon Technologies UK Ltd Infineon House Great Western Court Hunts Ground Road Stoke Gifford Bristol BS34 8HP Tel +44(0)117 9528808 _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:32:10 EDT