ZFS-inly server and dedicated ZIL

Mark Felder feld at feld.me
Thu Apr 11 11:44:42 UTC 2013


On Wed, 10 Apr 2013 16:39:26 -0500, Lawrence K. Chen, P.Eng.  
<lkchen at 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)


More information about the freebsd-fs mailing list