[zfs-discuss] Removing log device from existing pool

Durval Menezes durval.menezes at gmail.com
Fri Dec 8 06:45:15 EST 2017

Hello Marco,

When (if) you find out, please let me know. AFAIK there's a bug in ZoL (and
perhaps on FreeBSD ZFS too) that prevents log devices from being removed,
so your only solution would be to re-create the pool.

I have even opened a GitHub ticket for that some time ago, but so far no
solution has been forthcoming: https://github.com/zfsonlinux/zfs/issues/6677

Cheers, and good luck,

On Fri, Dec 8, 2017 at 9:28 AM, Marco Glavas via zfs-discuss <
zfs-discuss at list.zfsonlinux.org> wrote:

> Hi everybody
> When I moved my pool from Linux (Ubuntu 16.04) to FreeBSD (NAS4Free), I
> had to leave the log partition behind (noticed it only after the fact of
> course).
> So the pool was in a degraded state. since NAS4free is a vm, I just added
> a thin provisioned disk and replaced the faulty one. So far so good.
> Only I'd like to give it another, smaller disk to use for logs. Therefore
> I'd like to know if it is at all possible to remove the log partition from
> the pool. It is mounted as da1 at the moment and I get "pool already
> exists" error when trying to remove it.
> Anybody have a good idea on how to proceed?
> Regards and thank you,
> Marco
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss at list.zfsonlinux.org
> http://list.zfsonlinux.org/cgi-bin/mailman/listinfo/zfs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20171208/2c3c59eb/attachment.html>

More information about the zfs-discuss mailing list