zpool add log to root pool

Freddie Cash fjwcash at gmail.com
Mon Sep 17 20:36:22 UTC 2012


On Mon, Sep 17, 2012 at 1:02 PM, Charles Sprickman <spork at 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 at gmail.com


More information about the freebsd-fs mailing list