Vamos começar a dizer que, depois de várias tentativas e vindo desta postagem Eu talvez bagunçar o sistema de partições ou qualquer outra coisa. Dê uma olhada na seguinte saída para cada comando:
# pvdisplay
--- Physical volume ---
PV Name /dev/sda6
VG Name pc_rperez_lvm
PV Size 105.38 GiB / not usable 2.00 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 26976
Free PE 0
Allocated PE 26976
PV UUID A3t5RY-fk2V-qud5-hQQ5-coJ0-5Z8X-wLerqT
# lvdisplay
--- Logical volume ---
LV Path /dev/pc_rperez_lvm/root
LV Name root
VG Name pc_rperez_lvm
LV UUID m7XejM-82cZ-hODn-nT8H-y2BM-3B4s-lq2xgn
LV Write Access read/write
LV Status available
# open 1
LV Size 50.00 GiB
Current LE 12800
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Path /dev/pc_rperez_lvm/home
LV Name home
VG Name pc_rperez_lvm
LV UUID Ehl9tF-XV30-uF4Y-T1Bc-WB8r-Pfim-ONQFn3
LV Write Access read/write
LV Status available
# open 1
LV Size 47.38 GiB
Current LE 12128
Segments 3
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
--- Logical volume ---
LV Path /dev/pc_rperez_lvm/swap
LV Name swap
VG Name pc_rperez_lvm
LV UUID pJuBnV-fhD1-NgOe-xMUc-gck8-CfeM-YkQHAX
LV Write Access read/write
LV Status available
# open 2
LV Size 8.00 GiB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
$ df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 32M 3.9G 1% /dev/shm
tmpfs 3.9G 1.4M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/pc_rperez_lvm-root 50G 38G 9.2G 81% /
tmpfs 3.9G 2.2M 3.9G 1% /tmp
/dev/sda5 453M 140M 286M 33% /boot
/dev/mapper/pc_rperez_lvm-home 11G 9.3G 591M 95% /home
tmpfs 798M 24K 798M 1% /run/user/1000
Por que, lvdisplay
mostrou um tamanho diferente de df -h
? Qual é o tamanho real da partição e quantos espaços eu tenho disponível?
Tags disk-usage lvm fedora partition