Answer the question
In order to leave comments, you need to log in
LVM deleting a partition. How right?
Hey! The goal is to learn how to use LVM.
Created volume group parts, created logical volume varlog, mounted /var/log to /dev/parts/varlog ext4.
I want to delete /var/log, for this I unmounted umount /dev/parts/varlog then lvremove -f /dev/parts/varlog
I get: Logical volume parts/varlog contains a filesystem in use
How to delete?
update: lsof | grep var gave no results, as did mount | grep var
Answer the question
In order to leave comments, you need to log in
Type mount
, get a list of mounted devices. Your volume may have been mounted somewhere else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question