-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inform OpenRC that ZFS uses mtab #2148
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
p_l in #zfsonlinux reported that he had issues mounting filesystems that were resolved by adding rc_need="mtab" to /etc/init.d/zfs. Closer inspection revealed that we do have a race, but it is not clear how this race caused mounting to fail. What is clear is that this race should be fixed, so lets add the proper `use mtab` line to handle it. Signed-off-by: Richard Yao <[email protected]>
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Feb 27, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Mar 5, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Mar 5, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Mar 7, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe.
ryao
added a commit
to ryao/zfs
that referenced
this pull request
Apr 9, 2014
p_l in #zfsonlinux reported that he had issues mounting filesystems that were resolved by adding rc_need="mtab" to /etc/init.d/zfs. Closer inspection revealed that we do have a race, but it is not clear how this race caused mounting to fail. What is clear is that this race should be fixed, so lets add the proper `use mtab` line to handle it. Signed-off-by: Richard Yao <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#2148
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Jul 23, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Jul 28, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Jul 28, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 3, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 5, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 5, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 7, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 17, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 19, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 21, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 25, 2014
then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Aug 29, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 5, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 5, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 5, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 5, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 7, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 10, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 14, 2014
… init scripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Sep 16, 2014
…ripts included with Debian GNU/Linux Base scripts on the init scripts included with Debian GNU/Linux then take code from the already existing ones, trying to merge them into one. + NFS server service is just called 'nfs' in Redhat based system, and nfs-kernel-server on Debian GNU/Linux based. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Stop after umountfs + When stopping, don't check for LOCKDIR/zfs-mount - it won't be mounted, so the file won't exist making the script not run. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
Apr 30, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 1, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 1, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 1, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 3, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 3, 2015
…tems * Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 5, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 6, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 6, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. + Run all scripts through ShellCheck. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 6, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. + All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 6, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. + All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 10, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + ZED script from the Debian GNU/Linux packages added. + All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 15, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). + ZED script from the Debian GNU/Linux packages added. + Refreshed ZED init script from behlendorf/zfs@5e7a660. Reworked to be portable so it may be used on LSB and Redhat style systems. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 15, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. + Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. + Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. + The import function, do_import(), imports pools by name instead of '-a' [all]. + Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. + Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. + Add exceptions to pool imports. + All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). + ZED script from the Debian GNU/Linux packages added. + Refreshed ZED init script from behlendorf/zfs@5e7a660. Reworked to be portable so it may be used on LSB and Redhat style systems. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 16, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 17, 2015
…tems * Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 17, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 18, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 18, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 20, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 20, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 20, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
FransUrbo
added a commit
to FransUrbo/zfs
that referenced
this pull request
May 20, 2015
* Based on the init scripts included with Debian GNU/Linux, then take code from the already existing ones, trying to merge them into one for better maintainability. * Merge openzfs#2148 - Inform OpenRC that ZFS uses mtab. * Add a configurable ZFS_INITRD_POST_MODPROBE_SLEEP used in the initrd to sleep after the modprobe. * The import function, do_import(), imports pools by name instead of '-a' [all]. * Test all '/dev/disk/by-*' dirs for import. Include /dev as a last ditch attempt. * Fallback on importing the pool using the cache file (if it exists) if the 'by-id' didn't work. * Add exceptions to pool imports. * All scripts passes ShellCheck (with one false positive in zfs-mount:do_mount()). * ZED script from the Debian GNU/Linux packages added. * Refreshed ZED init script from behlendorf/zfs@5e7a660 to be portable so it may be used on both LSB and Redhat style systems. Signed-off-by: Turbo Fredriksson [email protected] Closes: openzfs#2974, openzfs#2107.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
p_l in #zfsonlinux reported that he had issues mounting filesystems that
were resolved by adding rc_need="mtab" to /etc/init.d/zfs. Closer
inspection revealed that we do have a race, but it is not clear how this
race caused mounting to fail. What is clear is that this race should be
fixed, so lets add the proper
use mtab
line to handle it.Signed-off-by: Richard Yao [email protected]