我目前正在学习 Linux 命令中的 lvm,但是我遇到了“逻辑卷路径无效”的问题,我到处搜索,但仍然找不到逻辑卷的路径,步骤 1sudo su...
我目前正在学习 linux 命令中的 lvm,但我遇到了逻辑卷路径无效的问题
我到处搜索,但仍然找不到逻辑卷的路径
步骤 1
sudo su
第 2 步
df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 391M 2.0M 389M 1% /run
/dev/sda5 24G 9.4G 14G 42% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/loop2 131M 131M 0 100% /snap/docker/2915
/dev/loop4 56M 56M 0 100% /snap/core18/2829
/dev/loop3 219M 219M 0 100% /snap/gnome-3-34-1804/93
/dev/loop5 75M 75M 0 100% /snap/core22/1612
/dev/loop6 219M 219M 0 100% /snap/gnome-3-34-1804/72
/dev/loop7 128K 128K 0 100% /snap/bare/5
/dev/loop1 75M 75M 0 100% /snap/core22/1586
/dev/loop0 132M 132M 0 100% /snap/docker/2932
/dev/loop8 66M 66M 0 100% /snap/gtk-common-themes/1519
/dev/loop9 50M 50M 0 100% /snap/snap-store/467
/dev/loop10 51M 51M 0 100% /snap/snap-store/547
/dev/loop11 92M 92M 0 100% /snap/gtk-common-themes/1535
/dev/loop12 39M 39M 0 100% /snap/snapd/21759
/dev/loop13 56M 56M 0 100% /snap/core18/2128
/dev/sda1 511M 4.0K 511M 1% /boot/efi
tmpfs 391M 20K 391M 1% /run/user/1000
步骤 3
lvextend --resizefs -l +100%FREE /dev/sda5
错误:\'/dev/sda5\':逻辑卷的路径无效。运行“lvextend --help”获取更多信息。