Browse Source

Make LVM over AoE work

If the rootfs is on a LVM over AoE, some additional magic is needed.
Possibly this has been broken since ever.
Christoph Biedl 5 months ago
parent
commit
76364a8f4b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      debian/usr/share/initramfs-tools/scripts/local-top/aoe

+ 2 - 1
debian/usr/share/initramfs-tools/scripts/local-top/aoe

@@ -29,8 +29,9 @@ configure_networking
 wait_for_udev 10
 
 modprobe aoe
+[ -x /usr/sbin/aoe-discover ] && aoe-discover
 
 # Wait until aoe device files have been generated.
 wait_for_udev 10
 
-[ -x /usr/sbin/aoe-discover ] && aoe-discover
+[ -x /usr/sbin/vgchange ] && vgchange -a y