Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 06:44:33 -0500
From:      "Mark Felder" <feld@feld.me>
To:        freebsd-fs@freebsd.org
Subject:   Re: ZFS-inly server and dedicated ZIL
Message-ID:  <op.wvdj8jqh34t2sn@tech304.office.supranet.net>
In-Reply-To: <802657359.5644092.1365629966726.JavaMail.root@k-state.edu>
References:  <802657359.5644092.1365629966726.JavaMail.root@k-state.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Apr 2013 16:39:26 -0500, Lawrence K. Chen, P.Eng.  
<lkchen@ksu.edu> wrote:

> The root pool only having one root vdev is probably a restriction on  
> what functionality could be put into the bootblock.

You can have multiple vdevs in a root pool, but only if they're mirror.  
You also have to go out of your way to make it work. It's certainly  
possible, though.

$ zpool status
   pool: tank0
  state: ONLINE
   scan: resilvered 1.51G in 0h2m with 0 errors on Mon Apr  1 07:08:24 2013
config:

         NAME         STATE     READ WRITE CKSUM
         tank0        ONLINE       0     0     0
           mirror-0   ONLINE       0     0     0
             mfid0p2  ONLINE       0     0     0
             mfid1p2  ONLINE       0     0     0
           mirror-1   ONLINE       0     0     0
             mfid2p2  ONLINE       0     0     0
             mfid3p2  ONLINE       0     0     0

errors: No known data errors

$ gpart show
=>       34  584843197  mfid0  GPT  (278G)
          34        128      1  freebsd-boot  (64k)
         162          6         - free -  (3.0k)
         168  584822784      2  freebsd-zfs  (278G)
   584822952      20279         - free -  (9.9M)

=>       34  584843197  mfid1  GPT  (278G)
          34        128      1  freebsd-boot  (64k)
         162          6         - free -  (3.0k)
         168  584843056      2  freebsd-zfs  (278G)
   584843224          7         - free -  (3.5k)

=>       34  584843197  mfid3  GPT  (278G)
          34        128      1  freebsd-boot  (64k)
         162          6         - free -  (3.0k)
         168  584822784      2  freebsd-zfs  (278G)
   584822952      20279         - free -  (9.9M)

=>       34  584843197  mfid2  GPT  (278G)
          34        128      1  freebsd-boot  (64k)
         162          6         - free -  (3.0k)
         168  584822784      2  freebsd-zfs  (278G)
   584822952      20279         - free -  (9.9M)



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