Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Sep 2012 13:36:20 -0700
From:      Freddie Cash <fjwcash@gmail.com>
To:        Charles Sprickman <spork@bway.net>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: zpool add log to root pool
Message-ID:  <CAOjFWZ4bfgYesMOUr8yNRzmJ7SCB%2Bwkoh0-QLvSmn4rKG==68A@mail.gmail.com>
In-Reply-To: <9A49FDEB-325E-4A25-8FB9-C4FF8F9BAF67@bway.net>
References:  <CABzXLYMO3NkNws_8eLE21qMxOiTBK5zq9m_Nb_WrRA_fu=D1_Q@mail.gmail.com> <9A49FDEB-325E-4A25-8FB9-C4FF8F9BAF67@bway.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 17, 2012 at 1:02 PM, Charles Sprickman <spork@bway.net> wrote:
> I did that and it seems to work.
>
>   pool: zroot
>  state: ONLINE
>   scan: scrub repaired 0 in 0h0m with 0 errors on Tue Aug 21 01:28:27 2012
> config:
>
>         NAME           STATE     READ WRITE CKSUM
>         zroot          ONLINE       0     0     0
>           mirror-0     ONLINE       0     0     0
>             ada1p3     ONLINE       0     0     0
>             ada2p3     ONLINE       0     0     0
>           mirror-1     ONLINE       0     0     0
>             ada3p3     ONLINE       0     0     0
>             ada0p3     ONLINE       0     0     0
>         logs
>           mirror-2     ONLINE       0     0     0
>             gpt/zil-a  ONLINE       0     0     0
>             gpt/zil-b  ONLINE       0     0     0
>         cache
>           gpt/l2arc-a  ONLINE       0     0     0
>           gpt/l2arc-b  ONLINE       0     0     0
>
> errors: No known data errors
>
> Lost my /dev/gpt entries for the existing mirror slices in the process though...

Have you tried booting from a LiveCD (like Frenzy or the 9.0
installer), doing an import of the pool, and export of the pool, and
then a "zpool import -d /dev/gpt zroot"?  You may be able to skip the
iniatial import/export.

-- 
Freddie Cash
fjwcash@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOjFWZ4bfgYesMOUr8yNRzmJ7SCB%2Bwkoh0-QLvSmn4rKG==68A>