Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Dec 2020 20:23:58 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   Re: rc.d/zpool runs before ada(4) attaches
Message-ID:  <X8amXv2L66HQC8mS@rpi4.local>
In-Reply-To: <786faeee90e79aa0175b298ec859265ff57a3129.camel@freebsd.org>
References:  <b55604d6-5c23-a590-859c-a52f36386d44@omnilan.de> <1439301337.11.1606815206810@localhost> <08815f92-742c-2934-e746-fd04ca9b4e16@omnilan.de> <286917313.21.1606836130991@localhost> <786faeee90e79aa0175b298ec859265ff57a3129.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--qMG+2uCRzxAAIJzI
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Dec 01, 2020 at 08:34:33AM -0700, Ian Lepore wrote:
>On Tue, 2020-12-01 at 16:22 +0100, Ronald Klop wrote:
>>
>> You can define these in /boot/loader.conf:
>> #kern.cam.boot_delay=3D"10000" # Delay (in ms) of root mount for CAM
>> bus
>> #kern.cam.scsi_delay=3D"2000" # Delay (in ms) before probing SCSI
>>
>> Maybe that helps.
>>
>> Ronald.
>>
>
>Those settings control waiting before mounting root.  Harry's problem
>is that root is mounted quickly, before other drives are ready for zfs.
>
>The zpool script waits for 'disks'.  It would be nice if the cam
>subsystem had something like a sysctl it set to indicate when initial
>probing for disks was done, then there could be an rc.d/camprobe script
>with 'PROVIDE: disks' which waits for the probing to complete.
>
>-- Ian

kern.cam.boot_delay should still fix it because what is required is a delay
while the devices (all of the disks, zfs or not) get ready. Because root=20
has to happen before disks/zfs.=20
--=20
J.

--qMG+2uCRzxAAIJzI
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl/GplYACgkQs8o7QhFz
NAVURg/9HQdUEibtWcuSQ31RUSSCy/Y0ly7jruWb4FftNgZEN5f0sKukdh70eFF+
9OiDcHh2eVVvZat22ZgIjm0u+yBOoCHBdHSm1+yEuAzdaoPdftt4fDF5Y9u9RUoV
d4cN5eWECFSreJ7xM72fIjboVmB9TK9mEFNBg/leU80y9eIZ6ObRCPVeHJDqI8zN
98K9/fzAG+0nUcgd2JyYVTZIGVsDrX5bXFMGbWOFOTFD7BgKFLx+51FKe+nj03tB
/PamQ5BKv2oMs4dDio+rxhntQormIRiOg+zSomDwqtlRgIM6wMRSv5aNY4sO5n/O
v/wcgUmH7hu7FPk7ypbdufMEP/LavePwa+zLWjLLdrzgvBFNREBOL4JOJ/Czbjvr
lux57HDf5u1PNklz4pW/P8VHzCe/llNjw9yD9k9Jlsj412RFgnpy/GINauJ2ujwJ
sbnKPNS3BShoJNTvJ7Gq+21vZchKja8/QUa+sCh8VWUblHpmet0g6/SN1xh0JWl6
Yk7s4GPPwZ6xtRW7allKF3vQcU1foiWsHI+UWBUHpnvUgWoNXWuYTXdgITmpbxwa
PSEzJVg43QtIs8IWT+vI1vdRG75v1d+SD5zsJQ1UTAxuBGHS1o8VegbJjJOtRDfe
sDUZJWueMOhlrSDSEF8FO9vvqGRBnVszwS96Io9NcXReAIbbZa4=
=0mQT
-----END PGP SIGNATURE-----

--qMG+2uCRzxAAIJzI--



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