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 >> 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 > 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>
