From f8196c1bcbcfbc9332846dcf8e74d3b07e4edf87 Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Mon, 20 Apr 2020 11:21:08 -0400 Subject: mount/umount tosh & handle lvm vgs --- bin/wd-umount | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 bin/wd-umount (limited to 'bin/wd-umount') diff --git a/bin/wd-umount b/bin/wd-umount new file mode 100755 index 0000000..8b1ec47 --- /dev/null +++ b/bin/wd-umount @@ -0,0 +1,7 @@ +#!/bin/sh + +sudo umount --lazy -f /var/lib/mpd/music +sudo zpool export -f ztosh +sudo cryptdisks_stop tosh +sudo vgchange -an tosh +sudo vgexport tosh -- cgit v1.2.3