zfs & diskless boot problem

[ Available lists | Index of freebsd-stable | Month of Dec 2007 | Week of 25 Dec 2007 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Danny Braniss <danny@cs.huji.ac.il>
Date
25 Dec 2007 09:48:49
Subject
zfs & diskless boot problem
Message-ID
E1J76P2-0006SF-8m@cs1.cs.huji.ac.il


[ Hide this part ]
Zfs uses /boot/zfs to keep track of it's pools, but in a diskless
environment, this is a read-only fs. This causes several inconveniences,
- /etc/rc.d/zfs needs :
zfs_start_main()
{
dlv=`/sbin/sysctl -n vfs.nfs.diskless_valid 2> /dev/null`
if [ ${dlv:=0} -ne 0 ]; then
zpool import -a
fi
...
- how important is /boot/zfs?

danny




Elapsed time: 0.036 seconds