On Tue, Dec 28, 2010 at 8:58 AM, Jean-Yves Avenard <jyaven...@gmail.com> wrote:
> On 28 December 2010 08:56, Freddie Cash <fjwc...@gmail.com> wrote:
>
>> Is that a typo, or the actual command you used?  You have an extra "s"
>> in there.  Should be "log" and not "logs".  However, I don't think
>> that command is correct either.
>>
>> I believe you want to use the "detach" command, not "remove".
>>
>> # zpool detach pool label/zil
>
> well, I tried the detach command:
>
> server4# zpool detach pool ada1s1
> cannot detach ada1s1: only applicable to mirror and replacing vdevs
>
> server4# zpool remove pool ada1s1
> server4#
>
> so you need to use remove, and adding log (or cache) makes no
> difference whatsoever..
>
Interesting, thanks for the confirmation.  I don't have any ZFS
systems using log devices, so can only go by what's in the docs.

May want to make a note that the man page (at least for ZFSv15 in
FreeBSD 8.1) includes several sections that use "zpool detach" when
talking about log devices.

If that's still in the man page for ZFSv28, it'll need to be cleaned up.


-- 
Freddie Cash
fjwc...@gmail.com
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Reply via email to