kern.cam…delay, suspend and ZFS pools on USB (was: rc.d/zpool runs before ada(4) attaches)

2020-12-13 Thread Graham Perrin
On 01/12/2020 20:23, tech-lists wrote: 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="1" # Delay (in ms) of root mount for CAM bus

Re: rc.d/zpool runs before ada(4) attaches

2020-12-05 Thread Edward Tomasz Napierała
On 1201T0834, 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="1" # Delay (in ms) of root mount for CAM > > bus > > #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI > > > >

Re: rc.d/zpool runs before ada(4) attaches

2020-12-05 Thread Harry Schmalzbauer
Am 01.12.2020 um 16:34 schrieb Ian Lepore:: : : : You can define these in /boot/loader.conf: #kern.cam.boot_delay="1" # Delay (in ms) of root mount for CAM bus #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI Maybe that helps. Ronald. Those settings control waiting before

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Oleg Sidorkin
Tue, 1 Dec. 2020 г. в 23:24, tech-lists : > > 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="1" # Delay (in ms) of root mount for CAM > >> bus >

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread tech-lists
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="1" # Delay (in ms) of root mount for CAM bus #kern.cam.scsi_delay="2000" # Delay (in ms) before probing SCSI

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Ronald Klop
Van: Ian Lepore Datum: dinsdag, 1 december 2020 16:34 Aan: Ronald Klop , FreeBSD Current Onderwerp: Re: rc.d/zpool runs before ada(4) attaches On Tue, 2020-12-01 at 16:22 +0100, Ronald Klop wrote: > > Van: Harry Schmalzbauer > Datum: dinsdag, 1 december 2020 12:51 > Aan:

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Ian Lepore
On Tue, 2020-12-01 at 16:22 +0100, Ronald Klop wrote: > > Van: Harry Schmalzbauer > Datum: dinsdag, 1 december 2020 12:51 > Aan: Ronald Klop , FreeBSD Current < > freebsd-current@freebsd.org> > Onderwerp: Re: rc.d/zpool runs before ada(4) attaches > > > > A

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Ronald Klop
Van: Harry Schmalzbauer Datum: dinsdag, 1 december 2020 12:51 Aan: Ronald Klop , FreeBSD Current Onderwerp: Re: rc.d/zpool runs before ada(4) attaches Am 01.12.2020 um 10:33 schrieb Ronald Klop: : : : >> One machine fails importing zpool because the correponding vdevs >>

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Harry Schmalzbauer
Am 01.12.2020 um 10:33 schrieb Ronald Klop: : : : One machine fails importing zpool because the correponding vdevs (ada0-ada2) are not available at the time rc.d/zpool runs. Adhoc  I'm not aware of any rc(8) vs. driver awareness. Is there any? Suggestions how to fix else than 'sleep 1'?

Re: rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Ronald Klop
Van: Harry Schmalzbauer Datum: dinsdag, 1 december 2020 09:43 Aan: freebsd-current@freebsd.org Onderwerp: rc.d/zpool runs before ada(4) attaches Hello, I'm playing with HEAD (post r364746, Merge OpenZFS support in to HEAD) on some of my non-out-of-box setups. One machine fails importing

rc.d/zpool runs before ada(4) attaches

2020-12-01 Thread Harry Schmalzbauer
Hello,  I'm playing with HEAD (post r364746, Merge OpenZFS support in to HEAD) on some of my non-out-of-box setups. One machine fails importing zpool because the correponding vdevs (ada0-ada2) are not available at the time rc.d/zpool runs. Adhoc  I'm not aware of any rc(8) vs. driver