ZFS and ISCSI
Edward Tomasz Napierała
trasz at FreeBSD.org
Thu Dec 19 10:07:58 UTC 2013
Wiadomość napisana przez Danny Schales <dan at LaTech.edu> w dniu 18 gru 2013, o godz. 17:30:
> 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
Do you have zfs_enable=„YES” in /etc/rc.conf?
More information about the freebsd-stable
mailing list