Re: [zfs-discuss] replacing a device with itself doesn't work

2007-10-08 Thread Pawel Jakub Dawidek
On Wed, Oct 03, 2007 at 10:02:03PM +0200, Pawel Jakub Dawidek wrote: On Wed, Oct 03, 2007 at 12:10:19PM -0700, Richard Elling wrote: - # zpool scrub tank # zpool status -v tank pool: tank state: ONLINE status: One or more devices could not be used because the

Re: [zfs-discuss] replacing a device with itself doesn't work

2007-10-06 Thread MP
Pawel, Is this a problem with ZFS trying to open the device twice? Richard, Yes a scrub should fix the device. One of zfs' faetures is ease of administration. It seems to defy logic that a scrub does not fix all devices, if possible. Why make it any harder for the admin? Cheers. This

Re: [zfs-discuss] replacing a device with itself doesn't work

2007-10-03 Thread Richard Elling
MP wrote: Hi, I hope someone can help cos ATM zfs' logic seems a little askew. I just swapped a failing 200gb drive that was one half of a 400gb gstripe device which I was using as one of the devices in a 3 device raidz1. When the OS came back up after the drive had been changed, the

Re: [zfs-discuss] replacing a device with itself doesn't work

2007-10-03 Thread Richard Elling
more below... MP wrote: On 03/10/2007, *Richard Elling* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yes. From the fine manual on zpool: zpool replace [-f] pool old_device [new_device] Replaces old_device with new_device. This is equivalent

Re: [zfs-discuss] replacing a device with itself doesn't work

2007-10-03 Thread Pawel Jakub Dawidek
On Wed, Oct 03, 2007 at 12:10:19PM -0700, Richard Elling wrote: - # zpool scrub tank # zpool status -v tank pool: tank state: ONLINE status: One or more devices could not be used because the label is missing or invalid. Sufficient replicas exist for the

Re: [zfs-discuss] replacing a device with itself doesn't work

2007-10-03 Thread MC
I think I might have run into the same problem. At the time I assumed I was doing something wrong, but... I made a b72 raidz out of three new 1gb virtual disks in vmware. I shut the vm off, replaced one of the disks with a new 1.5gb virtual disk. No matter what command I tried, I couldn't