ZFS and ISCSI

Danny Schales dan at LaTech.edu
Wed Dec 18 16:30:54 UTC 2013


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




-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3734 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20131218/b2382247/attachment.bin>


More information about the freebsd-stable mailing list