Date: Wed, 18 Dec 2013 20:20:56 +0100 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-stable@freebsd.org Subject: Re: ZFS and ISCSI Message-ID: <op.w8ayo71t8527sy@212-182-167-131.ip.telfort.nl> In-Reply-To: <52B1CDB8.8050400@LaTech.edu> References: <52B1C42A.4020506@LaTech.edu> <op.w8ap0zzd8527sy@212-182-167-131.ip.telfort.nl> <52B1CDB8.8050400@LaTech.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 18 Dec 2013 17:30:48 +0100, Danny Schales <dan@latech.edu> wrote: > On 12/18/13 10:13 AM, Ronald Klop wrote: >> On Wed, 18 Dec 2013 16:50:02 +0100, Danny Schales <dan@latech.edu> >> wrote: >> >>> It seems that ZFS and ISCSI don't play well at boot time in FreeBSD 10. >>> ZFS is started fairly early in the boot sequence, well before ISCSI >>> is >>> initiated, so ISCSI based pools aren't detected. Should there be a >>> stage 2 ZFS rc.d script that rescans for pools and mounts the >>> filesystems after ISCSI initiation if ISCSI and ZFS are enabled? I >>> don't know the rc setup well enough to create one myself. Right now, >>> I'm simply using rc.local, but I would think an official rc.d solution >>> would be preferable in the long run. >>> >>> Danny Schales >>> >> >> As soon as a disk with ZFS is connected GEOM/ZFS should detect it >> automatically. But I could be wrong. >> > > > The disks/pools are detected, but the filesystem are not being > mounted..freshly booted system: > > # df -lh | grep test > [nothing] > # zfs mount -a > # df -lh | grep test > test 1.2T 152K 1.2T 0% /test > test2 49G 152K 49G 0% /test2 > > > Danny Schales Maybe asking for the obvious, but... Do your zfs volumes have mountpoint set? I have things like: $ zfs get mountpoint tank/usr NAME PROPERTY VALUE SOURCE tank/usr mountpoint /usr local Ronald.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.w8ayo71t8527sy>