zfs start failure when /usr is on zfs (and rcorder change
suggestion)
JoaoBR
joao at matik.com.br
Sun Jun 1 12:37:50 UTC 2008
Hi
when you need /usr/compat on your sistem (linuxfs) and you have /usr on zfs
boot fails because mountcritlocal does not find /usr/compat
so I changed the rcorder as you can see in the attached files
also I changed /etc/rc.d/zfs and added /etc/rc.d/zfs_swap in order to make the
actual zfs_swap behaviour and configuration a little bit more
[user]understandable and easier and working
this needs two more rc vars as
zfs_swap_enable="YES|NO"
zfs_swap_vols="spaced vol_list"
using this rc files zfs, swap on zfs and other fs mount fine
the changed /etc/rc.d/zfs prevents losing zpools (and later import) as long as
zfs started by this script
--
João
More information about the freebsd-stable
mailing list