minor improvment
This commit is contained in:
parent
7e5e472c65
commit
e0db64fd7b
1 changed files with 2 additions and 1 deletions
3
dmount
3
dmount
|
@ -50,13 +50,14 @@ error_umount() {
|
||||||
|
|
||||||
error_deactivate_vg() {
|
error_deactivate_vg() {
|
||||||
echo "Error, impossible de deactive vg." >&2
|
echo "Error, impossible de deactive vg." >&2
|
||||||
doas dmsetup info --columns
|
|
||||||
echo "Try to force remove vgdisk from memory." >&2
|
echo "Try to force remove vgdisk from memory." >&2
|
||||||
if force_remove_vgdevice
|
if force_remove_vgdevice
|
||||||
then
|
then
|
||||||
echo "could at list remove vgdevice."
|
echo "could at list remove vgdevice."
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
lsblk
|
||||||
|
doas dmsetup info --columns
|
||||||
echo "couldn't remove vgdevice. need manual intervention." >&2
|
echo "couldn't remove vgdevice. need manual intervention." >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue