Re: [OpenIndiana-discuss] removing a disk after a replace
On 07/11/13 06:29, John Ryan wrote: Try zpool detach nas c8t50014EE6561DDB4Cd0p0 «detach» only works on mirrors. You cannot remove or detach a device from a raidz, only offline it or replace it. In my experience, sometimes the system needs some prodding to accept the change. The use of p0 in those device names is odd. I'm not sure it would cause issues, but it's surely not the preferred way. It should be either full disk (d0) for data pools, or slice (d0s0) for rpools. Laurent ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
For the p0 it was done automatically, I didn't do anything. What do you think I should do, format one by one ? Le 07/11/2013 10:04, Laurent Blume a écrit : On 07/11/13 06:29, John Ryan wrote: Try zpool detach nas c8t50014EE6561DDB4Cd0p0 «detach» only works on mirrors. You cannot remove or detach a device from a raidz, only offline it or replace it. In my experience, sometimes the system needs some prodding to accept the change. The use of p0 in those device names is odd. I'm not sure it would cause issues, but it's surely not the preferred way. It should be either full disk (d0) for data pools, or slice (d0s0) for rpools. Laurent ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
On Thu, Nov 7, 2013 at 9:04 AM, Laurent Blume laurent...@elanor.org wrote: On 07/11/13 06:29, John Ryan wrote: Try zpool detach nas c8t50014EE6561DDB4Cd0p0 «detach» only works on mirrors. You cannot remove or detach a device from a raidz, only offline it or replace it. In my experience, sometimes the system needs some prodding to accept the change. No, detach is the appropriate option here. It's a little whacky, but you're operating on the replacing vdev which is essentially a mirror and you want to detach one component of it. Normally, though, I see the device with /old appended, although that's with c#t#d# notation. -- -Peter Tribble http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
On 07/11/13 10:21, Peter Tribble wrote: No, detach is the appropriate option here. It's a little whacky, but you're operating on the replacing vdev which is essentially a mirror and you want to detach one component of it. Really? And that works using nas as the pool name? Or do you tell it to use that replacing vdev? I've not seen that use so far. When replacing a disk that has been removed already, I don't see how that's a mirror, since the new disk must be reconstructed from the rest of the raidz, not from the removed disk. I find it confusing as hell, and redundant with the use of replace. Normally, though, I see the device with /old appended, although that's with c#t#d# notation. The /old only makes sense when you're replacing a device with the same device name. Here with WWN, it's not needed. Laurent ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
On 07/11/13 10:20, Clement BRIZARD wrote: For the p0 it was done automatically, I didn't do anything. Automatically? How did you create the pool? It's usually up to you to select the right device. p0 should not be used. What do you think I should do, format one by one ? Probably not worth it at this point. I'd try some more zpool replace nas c8t50014EE6561DDB4Cd0p0 c8t50014EE0AE2377B1d0 It is weird that it says it's replacing one with the other already, but the resilver has finished. Laurent ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
The first vdev was done via freenas gui Le 07/11/2013 10:36, Laurent Blume a écrit : On 07/11/13 10:20, Clement BRIZARD wrote: For the p0 it was done automatically, I didn't do anything. Automatically? How did you create the pool? It's usually up to you to select the right device. p0 should not be used. What do you think I should do, format one by one ? Probably not worth it at this point. I'd try some more zpool replace nas c8t50014EE6561DDB4Cd0p0 c8t50014EE0AE2377B1d0 It is weird that it says it's replacing one with the other already, but the resilver has finished. Laurent ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
zpool remove nas c8t50014EE6561DDB4Cd0p0 did that not work? j. On Nov 6, 2013, at 2:39 PM, Clement BRIZARD clem...@brizou.fr wrote: Hello, I have a little problem after I replaced a disk from my pool, the resilvered was ok (somme errrors on 2 files but not important ones so that's ok) The thing is I would like to remove the former disk from the pool clement@openindiana:~$ zpool status pool: nas state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: resilvered 1.54T in 15h5m with 3 errors on Wed Nov 6 23:15:13 2013 config: NAME STATE READ WRITE CKSUM nasDEGRADED 0 0 3 raidz1-0 DEGRADED 0 0 6 c8t50024E9004993E6Ed0p0ONLINE 0 0 0 c8t50024E92062E7524d0 ONLINE 0 0 0 c8t50024E900495BE84d0p0ONLINE 0 0 0 c8t50014EE25A5EEC23d0p0ONLINE 0 0 0 c8t50024E9003F03980d0p0ONLINE 0 0 0 c8t50014EE2B0D3EFC8d0 ONLINE 0 0 0 replacing-6DEGRADED 0 0 0 c8t50014EE6561DDB4Cd0p0 OFFLINE 0 0 0 c8t50014EE0AE2377B1d0ONLINE 0 0 0 c8t50024E9003F03A09d0p0ONLINE 0 0 0 raidz1-1 ONLINE 0 0 0 c50t8d0ONLINE 0 0 0 c2d0 ONLINE 0 0 0 c1d0 ONLINE 0 0 0 c50t11d0 ONLINE 0 0 0 c50t10d0 ONLINE 0 0 0 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
That did not work, It said that i could only remive spare,zlog... It restarted resilvering... I will see in 8-10 hours what's going on Le 07/11/2013 00:12, jason matthews a écrit : zpool remove nas c8t50014EE6561DDB4Cd0p0 did that not work? j. On Nov 6, 2013, at 2:39 PM, Clement BRIZARD clem...@brizou.fr wrote: Hello, I have a little problem after I replaced a disk from my pool, the resilvered was ok (somme errrors on 2 files but not important ones so that's ok) The thing is I would like to remove the former disk from the pool clement@openindiana:~$ zpool status pool: nas state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: resilvered 1.54T in 15h5m with 3 errors on Wed Nov 6 23:15:13 2013 config: NAME STATE READ WRITE CKSUM nasDEGRADED 0 0 3 raidz1-0 DEGRADED 0 0 6 c8t50024E9004993E6Ed0p0ONLINE 0 0 0 c8t50024E92062E7524d0 ONLINE 0 0 0 c8t50024E900495BE84d0p0ONLINE 0 0 0 c8t50014EE25A5EEC23d0p0ONLINE 0 0 0 c8t50024E9003F03980d0p0ONLINE 0 0 0 c8t50014EE2B0D3EFC8d0 ONLINE 0 0 0 replacing-6DEGRADED 0 0 0 c8t50014EE6561DDB4Cd0p0 OFFLINE 0 0 0 c8t50014EE0AE2377B1d0ONLINE 0 0 0 c8t50024E9003F03A09d0p0ONLINE 0 0 0 raidz1-1 ONLINE 0 0 0 c50t8d0ONLINE 0 0 0 c2d0 ONLINE 0 0 0 c1d0 ONLINE 0 0 0 c50t11d0 ONLINE 0 0 0 c50t10d0 ONLINE 0 0 0 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss
Re: [OpenIndiana-discuss] removing a disk after a replace
Try zpool detach nas c8t50014EE6561DDB4Cd0p0 John On 7/11/2013 12:22 AM, Clement BRIZARD wrote: That did not work, It said that i could only remive spare,zlog... It restarted resilvering... I will see in 8-10 hours what's going on Le 07/11/2013 00:12, jason matthews a écrit : zpool remove nas c8t50014EE6561DDB4Cd0p0 did that not work? j. On Nov 6, 2013, at 2:39 PM, Clement BRIZARD clem...@brizou.fr wrote: Hello, I have a little problem after I replaced a disk from my pool, the resilvered was ok (somme errrors on 2 files but not important ones so that's ok) The thing is I would like to remove the former disk from the pool clement@openindiana:~$ zpool status pool: nas state: DEGRADED status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://illumos.org/msg/ZFS-8000-8A scan: resilvered 1.54T in 15h5m with 3 errors on Wed Nov 6 23:15:13 2013 config: NAME STATE READ WRITE CKSUM nasDEGRADED 0 0 3 raidz1-0 DEGRADED 0 0 6 c8t50024E9004993E6Ed0p0ONLINE 0 0 0 c8t50024E92062E7524d0 ONLINE 0 0 0 c8t50024E900495BE84d0p0ONLINE 0 0 0 c8t50014EE25A5EEC23d0p0ONLINE 0 0 0 c8t50024E9003F03980d0p0ONLINE 0 0 0 c8t50014EE2B0D3EFC8d0 ONLINE 0 0 0 replacing-6DEGRADED 0 0 0 c8t50014EE6561DDB4Cd0p0 OFFLINE 0 0 0 c8t50014EE0AE2377B1d0ONLINE 0 0 0 c8t50024E9003F03A09d0p0ONLINE 0 0 0 raidz1-1 ONLINE 0 0 0 c50t8d0ONLINE 0 0 0 c2d0 ONLINE 0 0 0 c1d0 ONLINE 0 0 0 c50t11d0 ONLINE 0 0 0 c50t10d0 ONLINE 0 0 0 ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss ___ OpenIndiana-discuss mailing list OpenIndiana-discuss@openindiana.org http://openindiana.org/mailman/listinfo/openindiana-discuss