Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Dec 2010 13:56:23 -0800
From:      Freddie Cash <fjwcash@gmail.com>
To:        Jean-Yves Avenard <jyavenard@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: New ZFSv28 patchset for 8-STABLE: ARRRGG HELP !!
Message-ID:  <AANLkTinmkAfyaLzcTdQu0aoUg=%2BisqmDPwFCTjEDv1o4@mail.gmail.com>
In-Reply-To: <AANLkTikcHRewK1t%2BWLmTwhVCtgWNmBhnjVbXp4e%2BgZxq@mail.gmail.com>
References:  <AANLkTikcHRewK1t%2BWLmTwhVCtgWNmBhnjVbXp4e%2BgZxq@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, Dec 26, 2010 at 4:43 PM, Jean-Yves Avenard <jyavenard@gmail.com> wrote:
> On 27 December 2010 09:55, Jean-Yves Avenard <jyavenard@gmail.com> wrote:
>> Hi there.
>>
>> I used stable-8-zfsv28-20101223-nopython.patch.xz from
>> http://people.freebsd.org/~mm/patches/zfs/v28/
>
> I did the following:
>
> # zpool status
>  pool: pool
>  state: ONLINE
>  scan: none requested
> config:
>
>        NAME            STATE     READ WRITE CKSUM
>        pool            ONLINE       0     0     0
>          raidz1-0      ONLINE       0     0     0
>            ada2        ONLINE       0     0     0
>            ada3        ONLINE       0     0     0
>            ada4        ONLINE       0     0     0
>            ada5        ONLINE       0     0     0
>            ada6        ONLINE       0     0     0
>            ada7        ONLINE       0     0     0
>        cache
>          label/zcache  ONLINE       0     0     0
>
> errors: No known data errors
>
> so far so good
>
> [root@server4 /pool/home/jeanyves_avenard]# zpool add pool log
> /dev/label/zil [root@server4 /pool/home/jeanyves_avenard]# zpool
> status
>  pool: pool
>  state: ONLINE
>  scan: none requested
> config:
>
>        NAME            STATE     READ WRITE CKSUM
>        pool            ONLINE       0     0     0
>          raidz1-0      ONLINE       0     0     0
>            ada2        ONLINE       0     0     0
>            ada3        ONLINE       0     0     0
>            ada4        ONLINE       0     0     0
>            ada5        ONLINE       0     0     0
>            ada6        ONLINE       0     0     0
>            ada7        ONLINE       0     0     0
>        logs
>          label/zil     ONLINE       0     0     0
>        cache
>          label/zcache  ONLINE       0     0     0
>
> errors: No known data errors
>
> so far so good:
>
> # zpool remove pool logs label/zil
> cannot remove logs: no such device in pool

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

-- 
Freddie Cash
fjwcash@gmail.com


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTinmkAfyaLzcTdQu0aoUg=%2BisqmDPwFCTjEDv1o4>