[zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-04 Thread F. Wessels
Thanks for the replies. I guess I misunderstood the manual: 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 old_device. The size of new_device must be greater

[zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread F. Wessels
Hi, can anybody describe the correct procedure to replace a disk (in a working OK state) with a another disk without degrading my pool? For a mirror I thought off adding the spare, you'll get a three device mirror. Let it resilver. Finally remove the disk I want. But what would be the correct

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Mark J. Musante
On 3 Sep 2008, at 05:20, F. Wessels [EMAIL PROTECTED] wrote: Hi, can anybody describe the correct procedure to replace a disk (in a working OK state) with a another disk without degrading my pool? This command ought to do the trick: zfs replace pool old-disk new-disk The type of pool

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Enda O'Connor
Mark J. Musante wrote: On 3 Sep 2008, at 05:20, F. Wessels [EMAIL PROTECTED] wrote: Hi, can anybody describe the correct procedure to replace a disk (in a working OK state) with a another disk without degrading my pool? This command ought to do the trick: zfs replace pool old-disk

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Ross
I'm pretty sure you just need the zpool replace command: # zpool replace poolname olddisk newdisk Run that for the disk you want to replace and let it resilver. Once it's done, you can unconfigure the old disk with cfgadm and remove it. If you have multiple mirror vdev's, you'll need to run

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Ross
Gaah, my command got nerfed by the forum, sorry, should have previewed. What you want is: # zpool replace poolname olddisk newdisk -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Jerry K
How would this work for servers that support only (2) drives, or systems that are configured to have pools of (2) drives, i.e. mirrors, and there is no additional space to have a new disk, as shown in the sample below. I still support lots of V490's, which hold only (2) drives. Thanks,

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Bob Friesenhahn
On Wed, 3 Sep 2008, Jerry K wrote: How would this work for servers that support only (2) drives, or systems that are configured to have pools of (2) drives, i.e. mirrors, and there is no additional space to have a new disk, as shown in the sample below. You may be able to accomplish what

Re: [zfs-discuss] What is the correct procedure to replace a non failed disk for another?

2008-09-03 Thread Jerry K
Hello Bob, Thank you for your reply. Your final sentence is a gem I will keep. As far as the rest, I have a lot of production server that are (2) drive systems, and I really hope that there is a mechanism to quickly RR dead drives, resilvering aside. I guess I need to do some more RTFMing