[zfs-discuss] ZFS - how to determine which physical drive to replace

2009-12-12 Thread Paul Bruce
Hi, I'm just about to build a ZFS system as a home file server in raidz, but I have one question - pre-empting the need to replace one of the drives if it ever fails. How on earth do you determine the actual physical drive that has failed ? I've got the while zpool status thing worked out, but

Re: [zfs-discuss] ZFS - how to determine which physical drive to replace

2009-12-12 Thread Edward Ned Harvey
Bruce Sent: Saturday, December 12, 2009 9:18 AM To: zfs-discuss@opensolaris.org Subject: [zfs-discuss] ZFS - how to determine which physical drive to replace Hi, I'm just about to build a ZFS system as a home file server in raidz, but I have one question - pre-empting the need to replace one

Re: [zfs-discuss] ZFS - how to determine which physical drive to replace

2009-12-12 Thread Ed Plese
On Sat, Dec 12, 2009 at 8:17 AM, Paul Bruce p...@cais.com.au wrote: Hi, I'm just about to build a ZFS system as a home file server in raidz, but I have one question - pre-empting the need to replace one of the drives if it ever fails. How on earth do you determine the actual physical drive

Re: [zfs-discuss] ZFS - how to determine which physical drive to replace

2009-12-12 Thread Patrick O'Sullivan
I've found that when I build a system, it's worth the initial effort to install drives one by one to see how they get mapped to names. Then I put labels on the drives and SATA cables. If there were room to label the actual SATA ports on the motherboard and cards, I would. While this isn't

Re: [zfs-discuss] ZFS - how to determine which physical drive to replace

2009-12-12 Thread Mike Gerdts
On Sat, Dec 12, 2009 at 9:58 AM, Edward Ned Harvey sola...@nedharvey.com wrote: I would suggest something like this:  While the system is still on, if the failed drive is at least writable *a little bit* … then you can “dd if=/dev/zero of=/dev/rdsk/FailedDiskDevice bs=1024 count=1024” … and