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
--Boundary-00=_ljpQIYbqfhWA8+B
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi

when you need /usr/compat on your sistem (linuxfs) and you have /usr on zfs=
=20
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=20
actual zfs_swap behaviour and configuration a little bit more=20
[user]understandable and easier and working

this needs two more rc vars as

zfs_swap_enable=3D"YES|NO"
zfs_swap_vols=3D"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=20
zfs started by this script


=2D-=20

Jo=E3o

--Boundary-00=_ljpQIYbqfhWA8+B--







A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura.
Service fornecido pelo Datacenter Matik  https://datacenter.matik.com.br



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