
Necesito aumentar el tamaño decentos_s0106ac9e17b4312300-root
estoy intentandosudo lvextend -L +10G /dev/mapper/centos_s0106ac9e17b4312300-rootJESSE
pero consiguiendo Logical volume rootJESSE not found in volume group centos_s0106ac9e17b4312300.
sda 8:0 0 447.1G 0 disk
├─sda1 8:1 0 200M 0 part
├─sda2 8:2 0 1G 0 part
└─sda3 8:3 0 445.9G 0 part
├─centos_s0106ac9e17b4312300-swap 253:8 0 31.4G 0 lvm
├─centos_s0106ac9e17b4312300-home 253:9 0 364.5G 0 lvm
└─centos_s0106ac9e17b4312300-root 253:10 0 50G 0 lvm /mnt/centos_s0106ac9e17b4312300-rootJESSE
[liveuser@localhost-live /]$ sudo vgdisplay
--- Volume group ---
VG Name centos00
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 930.31 GiB
PE Size 4.00 MiB
Total PE 238160
Alloc PE / Size 238159 / <930.31 GiB
Free PE / Size 1 / 4.00 MiB
VG UUID nfnzo3-i6kf-w6Fi-qSgD-UQcj-EAL3-0qrmXK
--- Volume group ---
VG Name centos_s0106ac9e17b43123
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size <485.09 GiB
PE Size 4.00 MiB
Total PE 124182
Alloc PE / Size 124181 / 485.08 GiB
Free PE / Size 1 / 4.00 MiB
VG UUID VyxNSf-Ke6x-wVkq-t4Up-UyjQ-Jron-yWLflf
--- Volume group ---
VG Name centos_s0106ac9e17b4312300
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 1
Max PV 0
Cur PV 1
Act PV 1
VG Size 445.93 GiB
PE Size 4.00 MiB
Total PE 114159
Alloc PE / Size 114158 / <445.93 GiB
Free PE / Size 1 / 4.00 MiB
VG UUID Swvxel-gX0y-q1xF-ZMeU-irH8-9KCu-RHpBPp
--- Volume group ---
VG Name nvmeVg
System ID
Format lvm2
Metadata Areas 7
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 7
Act PV 7
VG Size <325.94 GiB
PE Size 4.00 MiB
Total PE 83440
Alloc PE / Size 83200 / 325.00 GiB
Free PE / Size 240 / 960.00 MiB
VG UUID sM2ZQz-ke7H-543U-EylK-pO25-0G6S-jhV57f
Respuesta1
El volumen lógico se llama root
, no rootJESSE
. Está montado en /mnt/centos_s0106ac9e17b4312300-rootJESSE
pero necesitas usarlo <vg_name>/<lv_name>
para lvextend
, no el punto de montaje, por lo que debes ejecutar
sudo lvextend -L +10G centos_s0106ac9e17b4312300/root
También recomendaría usar --resizefs
para cambiar el tamaño del sistema de archivos (de lo contrario, tendría que hacerlo después de la lvextend
llamada con xfs_growfs
(para XFS) o resize2fs
(para Ext4)).
Tampoco tienes 10 GiB de espacio libre en el centos_s0106ac9e17b4312300
grupo de volúmenes, por lo que el lvextend
comando seguirá fallando. No hay espacio adicional en tu sda
disco, así que no estoy seguro de cuál es tu plan aquí.