Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Brandon High
On Mon, Dec 29, 2008 at 8:45 PM, Larry Hastings larrya...@hastings.org wrote: Hope I'm posting this in the right place. I've got a RAIDZ2 volume made of 14 SATA 1TB drives. The box they're in is absolutely packed full; I know of no way to add any additional drives, or internal SATA

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Bob Friesenhahn
On Mon, 29 Dec 2008, Larry Hastings wrote: I could swap the dying drive with the fresh drive, then run an in-place zpool replace. But the drive isn't [i]dead,[/i] it is merely [i]dying[/i]. That seems like overkill. I am a bit slow today. It seems like a dying drive should be replaced

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Larry Hastings
On Tue, Dec 30, 2008 12:18 AM, Brandon High wrote: You should be able to export the volume and physically replace the disk at that point. Again, noob here, so just making sure I understand what you suggest: 1) zpool replace volume baddisk newdisk 2) zpool export volume 3) physically remove

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Bob Netherton
I am a bit slow today. It seems like a dying drive should be replaced ASAP. Completely agree with Bob on this. I drive an 8.000lb truck and the tires have industrial strength runflats. If I get a puncture or tear in a tire I replace it as soon as I can, not when it is convenient. The

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Bob Friesenhahn
On Tue, 30 Dec 2008, Larry Hastings wrote: Again, noob here, so just making sure I understand what you suggest: 1) zpool replace volume baddisk newdisk 2) zpool export volume 3) physically remove baddisk and replace it with newdisk (which for me requires shutting down, sigh) 4) zpool

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Larry Hastings
On Tue, 30 Dec 2008, Bob Friesenhahn wrote: I don't see a need for the zpool export and import unless you have a way to convert your USB drive into an drive which works directly in your chassis. Ah, but that's exactly what I've got. I'm not using a dedicated USB drive, I'm using a simple

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Akhilesh Mritunjai
Umm, why do you need to do it the complicated way ? Here it is from zpool man page- zpool replace [-f] pool old_device [new_device] Replaces old_device with new_device. This is equivalent to attaching new_device, waiting for it to resilver, and then detaching

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Brandon High
On Tue, Dec 30, 2008 at 12:18 AM, Brandon High bh...@freaks.com wrote: Use a USB enclosure for the new drive, and do: zfs replace bad_disk new_disk You should be able to export the volume and physically replace the disk at that point. It was late when I wrote that, so let me clarify a few

Re: [zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-30 Thread Larry Hastings
On Tue, Dec 30, 2008 at 2:58 PM, Brandon High bh...@freaks.com wrote: 4) zpool import volume Alas--it did not work. r...@elephant# zpool import home cannot import 'home': no such pool available I was able to import it by force: r...@elephant# zpool import -d /dev/mapper home I exported it

[zfs-discuss] Noob: Best way to replace a disk when you're out of internal connectors?

2008-12-29 Thread Larry Hastings
Hope I'm posting this in the right place. I've got a RAIDZ2 volume made of 14 SATA 1TB drives. The box they're in is absolutely packed full; I know of no way to add any additional drives, or internal SATA connectors. I have a dying drive in the array (hereafter drive N). Obviously I should