Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 10:51:08 +1100
From:      Jean-Yves Avenard <jyavenard@gmail.com>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Re: New ZFSv28 patchset for 8-STABLE: ARRRGG HELP !!
Message-ID:  <AANLkTimPCm_wonyiSR-qv1X3GiB_8oPCWsJ21sSujCaT@mail.gmail.com>
In-Reply-To: <AANLkTinmkAfyaLzcTdQu0aoUg=%2BisqmDPwFCTjEDv1o4@mail.gmail.com>
References:  <AANLkTikcHRewK1t%2BWLmTwhVCtgWNmBhnjVbXp4e%2BgZxq@mail.gmail.com> <AANLkTinmkAfyaLzcTdQu0aoUg=%2BisqmDPwFCTjEDv1o4@mail.gmail.com>

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

On Tuesday, 28 December 2010, Freddie Cash <fjwcash@gmail.com> wrote:
> 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
>> =A0pool: pool
>> =A0state: ONLINE
>> =A0scan: none requested
>> config:
>>
>> =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSU=
M
>> =A0 =A0 =A0 =A0pool =A0 =A0 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0raidz1-0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =
=A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada2 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada3 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada4 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada5 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada6 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada7 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0cache
>> =A0 =A0 =A0 =A0 =A0label/zcache =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =
=A0 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
>> =A0pool: pool
>> =A0state: ONLINE
>> =A0scan: none requested
>> config:
>>
>> =A0 =A0 =A0 =A0NAME =A0 =A0 =A0 =A0 =A0 =A0STATE =A0 =A0 READ WRITE CKSU=
M
>> =A0 =A0 =A0 =A0pool =A0 =A0 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0raidz1-0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =
=A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada2 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada3 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada4 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada5 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada6 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0 =A0 =A0ada7 =A0 =A0 =A0 =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 =
0 =A0 =A0 0
>> =A0 =A0 =A0 =A0logs
>> =A0 =A0 =A0 =A0 =A0label/zil =A0 =A0 ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =
=A0 0
>> =A0 =A0 =A0 =A0cache
>> =A0 =A0 =A0 =A0 =A0label/zcache =A0ONLINE =A0 =A0 =A0 0 =A0 =A0 0 =A0 =
=A0 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? =A0You have an extra "s"
> in there. =A0Should be "log" and not "logs". =A0However, 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
>

It was a typo, it should have been log (according to sun's doc). As it
was showing "logs" in the status I typed this.
According to sun, it zpool remove pool cache/log

A typo should have never resulted in what happened, showing an error
for sure; but zpool hanging and kernel panic?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimPCm_wonyiSR-qv1X3GiB_8oPCWsJ21sSujCaT>