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 ze

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 star

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 r

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 replace/r

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 09:4

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 09:

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 th

Re: [zfs-macos] abort zpool replace

2014-10-29 Thread 'Busty' via zfs-macos
Wow, thanks Bjoern for that, now I really know what was going on. I really appreciate the time you took to explain all that. The problem I'm facing is, that I can't detach the drive. A "zpool detach pool diskx" gives me the error: "cannot detach diskx: only applicable to mirror and replacing vdevs

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 wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > >

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 'Busty' via zfs-macos
This generated a follow up question: I did the zpool replace with an unformatted disk as described in the oracle documentation. After that, zpool status showed the disk as part of the pool, but as "disk2", not as "disk2s2". Accordingly, OSX wanted to initialize the disk every time upon booting. S

Re: [zfs-macos] abort zpool replace

2014-10-23 Thread BelecMartin
Yeah! Jason Belec Sent from my "It's an iPod, a Phone, and an Internet Device..." > On Oct 23, 2014, at 8:01 AM, 'Busty' via zfs-macos > wrote: > > This was in fact easier than I thought. What did the trick was to > physically swap the faulty disk with a new one and then "zpool detach > (fault

Re: [zfs-macos] abort zpool replace

2014-10-23 Thread 'Busty' via zfs-macos
This was in fact easier than I thought. What did the trick was to physically swap the faulty disk with a new one and then "zpool detach (faulty disk)" After that a "zpool replace" went like a charm. Problem solved. On 15.10.14 20:32, 'Busty' via zfs-macos wrote: > In my pool, I had a disk that g

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% do

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

[zfs-macos] abort zpool replace

2014-10-15 Thread '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 typing "zpool status" as the missing device.) The resilver process started, but it seems that the new disk is f