X-Git-Url: https://git.camperquake.de/gitweb.cgi?a=blobdiff_plain;f=etc%2Finit.d%2Fzfs.fedora;h=70b7281060107e1a5a02e01b0e5280504ded42c9;hb=1ef5e8296a07a0d208d0663ae966c8b0206f7e6a;hp=69df621e30bf3923cf621d4b34e92d342c2e4b7c;hpb=6f582dc708e713f1d5e1c6871657ac726873b4bf;p=zfs.git diff --git a/etc/init.d/zfs.fedora b/etc/init.d/zfs.fedora index 69df621..70b7281 100644 --- a/etc/init.d/zfs.fedora +++ b/etc/init.d/zfs.fedora @@ -126,6 +126,9 @@ start() action $"SELinux ZFS policy required: " /bin/false || return 6 fi + # Delay until all required block devices are present. + udevadm settle + # load kernel module infrastructure if ! grep -q zfs /proc/modules ; then action $"Loading kernel ZFS infrastructure: " modprobe zfs || return 5 @@ -155,6 +158,8 @@ start() action $"Mounting ZFS filesystems not yet mounted: " $ZFS mount -a || return 152 + action $"Exporting ZFS filesystems: " $ZFS share -a || return 153 + read_mtab "^/dev/zd" read_fstab "^/dev/zd"