I'm working on a server which works with logical volumes. The root partition was full, basically because of a large
/lib directory. I wanted to set this
/lib to a logical partition, as I did already with
So I created the volume by
sudo lvcreate -L 20G -n lib vg00
and the filesystem by
sudo mkfs.ext4 /dev/mapper/vg00-lib
then I mounted it by
mount /dev/mapper/vg00-lib /lib/
Now I can't run any command anymore. The mount command somehow failed.
df -h bash: /bin/df: No such file or directory
Any assistance is greatly appreciated. Thanks in advance!