Archive

Posts Tagged ‘ZFS’

ZFS pool not imported automatically in Proxmox 4.1 (and Jessie)

August 22nd, 2016 No comments
From zfsonlinux issue #4496:
btbroot commented on May 24 edited

Hello.

This is actually a grave bug. Currently (zfsutils 0.6.5.7-8-jessie), zfs-import-cache.service starts before systemd-remount-fs.service and fails to import pools because the / filesystem is mounted read-only at this stage. See the fix below.

--- /lib/systemd/system/zfs-mount.service-  2016-05-24 15:44:31.460000000 -0400
+++ /lib/systemd/system/zfs-mount.service   2016-05-24 16:08:56.156000000 -0400
@@ -8,7 +8,7 @@
 After=zfs-import-cache.service
 After=zfs-import-scan.service
 Before=local-fs.target
-Before=systemd-remount-fs.service
+After=systemd-remount-fs.service

 [Service]
 Type=oneshot

 

Categories: Linux Tags: