diff options
-rw-r--r-- | shutdown | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -16,18 +16,10 @@ stop_device() { read devname <"$1/dm/name" cryptsetup remove "$devname" ;; - dm) + lvm|dm) read devname <"$1/dm/name" dmsetup remove "$devname" ;; - lvm) - # disassemble the parent VG - read devname <"$1/dm/name" - lvm lvdisplay -c "/dev/mapper/$devname" | { - IFS=: read _ vgname _ - lvm vgchange --noudevsync -an "$vgname" - } - ;; raid*) # wait for arrays with external metadata to be marked as # clean. unfortunately, there isn't a whole lot we can do |