Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 2013 10:30:48 -0600
From:      Danny Schales <dan@LaTech.edu>
To:        freebsd-stable@freebsd.org
Subject:   Re: ZFS and ISCSI
Message-ID:  <52B1CDB8.8050400@LaTech.edu>
In-Reply-To: <op.w8ap0zzd8527sy@212-182-167-131.ip.telfort.nl>
References:  <52B1C42A.4020506@LaTech.edu> <op.w8ap0zzd8527sy@212-182-167-131.ip.telfort.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms090604030308020309090102
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable

On 12/18/13 10:13 AM, Ronald Klop wrote:
> On Wed, 18 Dec 2013 16:50:02 +0100, Danny Schales <dan@latech.edu> wrot=
e:
>
>> It seems that ZFS and ISCSI don't play well at boot time in FreeBSD 10=
=2E
>>   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=20
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





--------------ms090604030308020309090102
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKPzCC
BRowggQCoAMCAQICEG0Z6qc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2F0aW9uIGFuZCBTZWN1cmUgRW1h
aWwgQ0ECEAqG+ttpvDTDRnfRN3J41hswgbsGCyqGSIb3DQEJEAILMYGroIGoMIGTMQswCQYD
VQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxmb3Jk
MRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDE5MDcGA1UEAxMwQ09NT0RPIENsaWVudCBB
dXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhAKhvrbabw0w0Z30TdyeNYbMA0G
CSqGSIb3DQEBAQUABIIBAHz4C4l1RVSq1ZST1okJT5ik3eNkED+tmnaUUQ8EMxq7EZmlAszS
dB6hcjItXZp8XDJ19iBVY/cFTvfQr6wtrD7XjVt5QqbPk+BYPb3J0E5mdyna1ulXV6rR26tq
T1W//exFmHg+VzmhSfCxgVdXELbO5S3g0hL7aynC9zhFmaT20oe1K69yo2dcgNoQz44Jrjsc
ndTjXhMhHMZYuxSKAjxhw9LqzbTildpNil+SH+VQIOL9/YY1CtI1Zkz0gWWQ3ycWy0JcZ45F
wh25bH0JAutKgXADyC05vHktp3hmcLFBzbN/DJNuCFB2m3MNi8sxd+rOb4VlmTIUBJZsXGcF
yMsAAAAAAAA=
--------------ms090604030308020309090102--



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