Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jun 2008 09:41:09 -0300
From:      JoaoBR <joao@matik.com.br>
To:        freebsd-stable@freebsd.org, freebsd-bugs@freebsd.org, freebsd-rc@freebsd.org
Subject:   zfs start failure when /usr is on zfs (and rcorder change suggestion)
Message-ID:  <200806010941.09448.joao@matik.com.br>

next in thread | raw e-mail | index | archive | help

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


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