Hello everyone
I went from managing my ZFS pool with Ubuntu and ZoL to FreeBSD. This works nicely so far.
There was one issue, though: the linux pool had a log device that wasn't available to the new machine. So it was set to unavailable. Since this is a vm, I gave it virtual disk and replaced the log device.
That worked. Now I would like to replace the virtual log device with a hardware ssd, however the ssd is smaller.
When trying to remove the log, I get an error:
cannot remove da1: pool already exists
Now I seem to be reading different things online: Both that I'll have to do the backup, destroy pool, recreate pool routine and that removing a log device should be possible at any time (which I find would make sense).
I see that FreeBSD ZFS obviously has functions ZoL doesn't. I was afraid of corrupting the data if I upgraded. Do you think this would be a wise course and might even solve my issue?
Can you help me make sense of this?
Also as you can see, the naming convention of the volumes isn't uniform. I would like to get that fixed, especially if you think it might have something to do with my issue but it's not a priority otherwise.
Regards,
Marco
I went from managing my ZFS pool with Ubuntu and ZoL to FreeBSD. This works nicely so far.
There was one issue, though: the linux pool had a log device that wasn't available to the new machine. So it was set to unavailable. Since this is a vm, I gave it virtual disk and replaced the log device.
That worked. Now I would like to replace the virtual log device with a hardware ssd, however the ssd is smaller.
Code:
pool: storage
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(7) for details.
scan: resilvered 0 in 0h6m with 0 errors on Mon Dec 4 22:46:01 2017
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
gpt/Row1Slot1 ONLINE 0 0 0
da4p1 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
da3p1 ONLINE 0 0 0
da5p1 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
gpt/Row2Slot1 ONLINE 0 0 0
da8p1 ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
da7p1 ONLINE 0 0 0
da9p1 ONLINE 0 0 0
logs
da1 ONLINE 0 0 0
spares
gpt/Row6Slot4 AVAIL
errors: No known data errors
When trying to remove the log, I get an error:
zpool remove storage da1
cannot remove da1: pool already exists
Now I seem to be reading different things online: Both that I'll have to do the backup, destroy pool, recreate pool routine and that removing a log device should be possible at any time (which I find would make sense).
I see that FreeBSD ZFS obviously has functions ZoL doesn't. I was afraid of corrupting the data if I upgraded. Do you think this would be a wise course and might even solve my issue?
Can you help me make sense of this?
Also as you can see, the naming convention of the volumes isn't uniform. I would like to get that fixed, especially if you think it might have something to do with my issue but it's not a priority otherwise.
Regards,
Marco