ZFS and ISCSI
Ronald Klop
ronald-freebsd8 at klop.yi.org
Wed Dec 18 19:22:16 UTC 2013
On Wed, 18 Dec 2013 17:30:48 +0100, Danny Schales <dan at 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 at 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.
More information about the freebsd-stable
mailing list