New ZFSv28 patchset for 8-STABLE: ARRRGG HELP !!

Freddie Cash fjwcash at gmail.com
Tue Dec 28 22:40:46 UTC 2010


On Tue, Dec 28, 2010 at 8:58 AM, Jean-Yves Avenard <jyavenard at gmail.com> wrote:
> On 28 December 2010 08:56, Freddie Cash <fjwcash at 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
fjwcash at gmail.com


More information about the freebsd-stable mailing list