Additionally, the way I do it is to draw a diagram of the drives in the system, labelled with the drive serial numbers. Then when a drive fails, I can find out from smartctl which drive it is and remove/replace without trial and error.
On 5 Feb 2011, at 21:54, zfs-discuss-requ...@opensolaris.org wrote: > > Message: 7 > Date: Sat, 5 Feb 2011 15:42:45 -0500 > From: rwali...@washdcmail.com > To: David Dyer-Bennet <d...@dd-b.net> > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] Identifying drives (SATA) > Message-ID: <58b53790-323b-4ae4-98cd-575f93b66...@washdcmail.com> > Content-Type: text/plain; charset=us-ascii > > > On Feb 5, 2011, at 2:43 PM, David Dyer-Bennet wrote: > >> Is there a clever way to figure out which drive is which? And if I have to >> fall back on removing a drive I think is right, and seeing if that's true, >> what admin actions will I have to perform to get the pool back to safety? >> (I've got backups, but it's a pain to restore of course.) (Hmmm; in >> single-user mode, use dd to read huge chunks of one disk, and see which >> lights come on? Do I even need to be in single-user mode to do that?) > > Obviously this depends on your lights working to some extent (the right light > doing something when the right disk is accessed), but I've used: > > dd if=/dev/rdsk/c8t3d0s0 of=/dev/null bs=4k count=100000 > > which someone mentioned on this list. Assuming you can actually read from > the disk (it isn't completely dead), it should allow you to direct traffic to > each drive individually. > > Good luck, > Ware
_______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss