0

I see that LVM1 (/dev/mapper/lvm1--vg-lvm1--lv) fails to umount during the shutdown, when I cannot run one of the many options to find out which process or user is holding up the mountpoint.

It also seems that there is no log kept which I could look into.

How do I log or at least display which process is locking the disk during a shutdown?

PS: Ubuntu 18.04.1

0

Please try to enable debugging with below options.

-d|--debug : Set  debug  level.  Repeat  from  1  to 6 times to increase the detail of messages sent to the log file and/or syslog (if configured).  Overrides config file setting.
-v|--verbose : Set verbose level. Repeat from 1 to 3 times to increase the detail  of  messages  sent  to  stdout  and stderr.  Overrides config file setting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.