zpool add log to root pool

Olivier Smedts olivier at gid0.org
Mon Sep 17 12:34:24 UTC 2012


Hello ZFS folks,

Is there anyone here using a separate log device (or "ZIL") on a root pool ?

# zpool add tank log gpt/zil
cannot add to 'tank': root pool can not have multiple vdevs or separate logs

Under 9-STABLE, using zpool v28. This seems to be a limitation from
OpenSolaris. For example, FreeBSD supports booting from a
multiple-vdev root pool. I found that most people use the "unset
bootfs property, add vdev, set bootfs again" trick to have a working
multiple-vdev root pool under FreeBSD. I think I can do the same for
the log device but don't want to loose my data.

Is there anyone successfuly using a log device / zil on a root pool
under FreeBSD ?

Thanks

-- 
Olivier Smedts                                                 _
                                        ASCII ribbon campaign ( )
e-mail: olivier at gid0.org        - against HTML email & vCards  X
www: http://www.gid0.org    - against proprietary attachments / \

  "Il y a seulement 10 sortes de gens dans le monde :
  ceux qui comprennent le binaire,
  et ceux qui ne le comprennent pas."


More information about the freebsd-fs mailing list