Re: [zfs-macos] abort zpool replace

2014-10-29 Thread ilovezfs
zpool attach makes a non-mirror into a mirror. zpool detach makes a mirror into a non-mirror. I believe you are looking for zpool remove. On Wednesday, October 29, 2014 12:54:48 AM UTC-7, Busty wrote: Wow, thanks Bjoern for that, now I really know what was going on. I really appreciate the

Re: [zfs-macos] abort zpool replace

2014-10-29 Thread 'Busty' via zfs-macos
thanks for the input but: only inactive hot spares can be removed, whereas I need to remove/detach/whatever one disk of a raidz1 pool, no mirrors, no duplicates. I get the impression there is no way to do that, so I might have to build the pool from scratch again, am I right? On 29.10.14

Re: [zfs-macos] abort zpool replace

2014-10-29 Thread Jason Belec
If I understand what I'm reading here, you have a disk that is in your pool and the pool is raidz, so you must always have the same number of devices attached to the pool, this is a raidz law. You can replace a new one with a damaged one, but you cannot remove the damaged one until the

Re: [zfs-macos] abort zpool replace

2014-10-29 Thread ilovezfs
Yeah, zpool remove won't work on a device in a raidz vdev, nor will zpool detach. What does your current zpool status look like? On Wednesday, October 29, 2014 4:19:31 AM UTC-7, jasonbelec wrote: If I understand what I'm reading here, you have a disk that is in your pool and the pool is

Re: [zfs-macos] abort zpool replace

2014-10-29 Thread 'Busty' via zfs-macos
Hey Jason, not really that frustrated, as I feel I'm working my way towards the solution with the help of you maczfs guys. I clearly didn't think that out when telling zfs that it is ok to use the whole disk instead of the s2 slice. The issue seems to be that I can't tell zfs that I want to

Re: [zfs-macos] abort zpool replace

2014-10-29 Thread ilovezfs
OpenZFS on OS X has a command called zpool labelclear to handle this situation, but it rarely comes up because if you give OpenZFS on OS X a whole device, it will automatically partition it for you. Since MacZFS does not have the zpool labelclear command, you can achieve the same effect by

Re: [zfs-macos] abort zpool replace

2014-10-26 Thread Bjoern Kahl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (this is going to be a bit longer, but since it is a reappearing topic I'd like to provide some background information on what happens behind the scene) Am 26.10.14 um 12:09 schrieb 'Busty' via zfs-macos: This generated a follow up question:

Re: [zfs-macos] abort zpool replace

2014-10-26 Thread BelecMartin
Well that sure is detailed. And should be in the wiki as it is very useful and a great overall explanation. ;) Jason Belec Sent from my It's an iPod, a Phone, and an Internet Device... On Oct 26, 2014, at 9:43 AM, Bjoern Kahl googlelo...@bjoern-kahl.de wrote: -BEGIN PGP SIGNED

Re: [zfs-macos] abort zpool replace

2014-10-15 Thread Bjoern Kahl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi 'Busty', Am 15.10.14 um 20:32 schrieb 'Busty' via zfs-macos: In my pool, I had a disk that got a smart error (bad block), so I pulled it out, installed a new one and made a zpool replace disk5s2 806745480046791602. (That number was shown when

Re: [zfs-macos] abort zpool replace

2014-10-15 Thread 'Busty' via zfs-macos
zpool status -v shows: Server:~ busty$ zpool status -v pool: Collection state: DEGRADED status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the resilver to complete. scrub: resilver in progress, 0,98%