Mon disque dur fait 250go et comporte deux partition 100mo pour /boot et le reste est crypté et contient LVM.
J'ai deux LV : une partition de 100go (root) et 4go (swap) et le reste est inutilisé. Je voudrais utilisé tout l'espace disponible pour la partition root mais la commande suivante me donne cette erreur :
# lvextend -l 100%VG /dev/cryptvg/root
File descriptor 3 left open
Extending logical volume root to 232,79 GB
Insufficient free space: 33994 extents needed, but only 32970 available |
Voici les informations sur LVM
# pvdisplay
File descriptor 3 left open
--- Physical volume ---
PV Name /dev/mapper/root
VG Name cryptvg
PV Size 232,79 GB / not usable 1,55 MB
Allocatable yes PE Size (KByte) 4096
Total PE 59594
Free PE 32970
Allocated PE 26624
PV UUID LJXBz4-T1WH-b3Mv-ke11-16Ej-i7Nz-vq0Gjd |
# lvdisplay
--- Logical volume ---
LV Name /dev/cryptvg/root
VG Name cryptvg
LV UUID 5QKK5W-jAsp-3gma-yE4k-o9ag-JIsZ-v7ZdDW
LV Write Access read/write
LV Status available
# open 1
LV Size 100,00 GB
Current LE 25600
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2 |
# vgdisplay
File descriptor 3 left open
--- Volume group ---
VG Name cryptvg
System ID Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 232,79 GB
PE Size 4,00 MB
Total PE 59594
Alloc PE / Size 26624 / 104,00 GB
Free PE / Size 32970 / 128,79 GB
VG UUID hD0H63-AOej-Clgb-brby-6QkL-VlWT-x5BTKy |
Message édité par mexx20 le 17-09-2008 à 16:45:23