Lvm

Bonjour,
J’ai installé une Debian Wheezy sur un disque complet avec LVM.
En voulant installer java, j’ai décompressé l’archive dans /opt comme indiqué dans un tuto et là je me suis retrouvé avec un “no space left”, je me suis dit, pas de problème, avec LVM je peux redimensionner mes partitions.
J’ai donc suivi le ce tuto http://www.rooot.net/fr/geek-stuff/linux/18-redimensionner-une-partition-racine-sans-reboot.html, J’ai enlevé 30Go à Home que j’ai distribué…mais rien à faire je n’ai toujours pas de place, il y a quelquechose que je n’ai visiblement pas compris.
Voilà ou j’en suis :

root@AlainDebian:~# df
Sys. fich. 1K-blocks Util. Disponible Uti% Monté sur
rootfs 329233 134317 177918 44% /
udev 10240 0 10240 0% /dev
tmpfs 1246068 796 1245272 1% /run
/dev/mapper/AlainDebian-root 329233 134317 177918 44% /
tmpfs 5120 0 5120 0% /run/lock
tmpfs 2492120 84 2492036 1% /run/shm
/dev/sdc1 233191 17154 203596 8% /boot
/dev/mapper/AlainDebian-home 412849328 24118008 367759804 7% /home
/dev/mapper/AlainDebian-tmp 376807 10273 347078 3% /tmp
/dev/mapper/AlainDebian-usr 8647944 3741432 4467216 46% /usr
/dev/mapper/AlainDebian-var 2882592 1315944 1420216 49% /var
/dev/sdd2 228734036 191852 216923176 1% /debiantemp

avec :
root@AlainDebian:~# vgdisplay
— Volume group —
VG Name AlainDebian
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 11
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 6
Open LV 6
Max PV 0
Cur PV 1
Act PV 1
VG Size 465,52 GiB
PE Size 4,00 MiB
Total PE 119173
Alloc PE / Size 116953 / 456,85 GiB
Free PE / Size 2220 / 8,67 GiB
VG UUID N9S2cB-BxYc-Jqmv-ThIH-KyS6-6xtP-GnwOc8

et

root@AlainDebian:~# lvdisplay
— Logical volume —
LV Path /dev/AlainDebian/root
LV Name root
VG Name AlainDebian
LV UUID htwqqc-4If7-Ti0y-t7zA-PCsR-i92H-Dq5n8E
LV Write Access read/write
LV Creation host, time AlainDebian, 2014-12-14 08:24:42 +0100
LV Status available

open 1

LV Size 21,32 GiB
Current LE 5459
Segments 2
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:0

— Logical volume —
LV Path /dev/AlainDebian/usr
LV Name usr
VG Name AlainDebian
LV UUID tXuxLD-YydE-gL0w-wSbA-cV2U-lDhS-vCsGQA
LV Write Access read/write
LV Creation host, time AlainDebian, 2014-12-14 08:24:42 +0100
LV Status available

open 1

LV Size 8,38 GiB
Current LE 2145
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:2

— Logical volume —
LV Path /dev/AlainDebian/var
LV Name var
VG Name AlainDebian
LV UUID V55wAq-ECE6-4B3o-AGZd-wqBh-0x25-quG4Ai
LV Write Access read/write
LV Creation host, time AlainDebian, 2014-12-14 08:24:42 +0100
LV Status available

open 1

LV Size 2,79 GiB
Current LE 715
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:3

— Logical volume —
LV Path /dev/AlainDebian/swap_1
LV Name swap_1
VG Name AlainDebian
LV UUID rTbbS8-Ak95-arXX-pKtP-B0xO-aPzC-MbiEry
LV Write Access read/write
LV Creation host, time AlainDebian, 2014-12-14 08:24:42 +0100
LV Status available

open 2

LV Size 23,98 GiB
Current LE 6139
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:1

— Logical volume —
LV Path /dev/AlainDebian/tmp
LV Name tmp
VG Name AlainDebian
LV UUID lfwkCL-q373-DQu5-76BB-zzyz-1imn-a5KIy6
LV Write Access read/write
LV Creation host, time AlainDebian, 2014-12-14 08:24:42 +0100
LV Status available

open 1

LV Size 380,00 MiB
Current LE 95
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:4

— Logical volume —
LV Path /dev/AlainDebian/home
LV Name home
VG Name AlainDebian
LV UUID gEXpPv-Ys0V-DIVw-RNYD-4yb1-SHp1-6QKp5m
LV Write Access read/write
LV Creation host, time AlainDebian, 2014-12-14 08:24:42 +0100
LV Status available

open 1

LV Size 400,00 GiB
Current LE 102400
Segments 1
Allocation inherit
Read ahead sectors auto

  • currently set to 256
    Block device 254:5

Ou sont donc passés mes Gigas ???
Si vous avez une idée, je suis preneur.
Cordialement.
Alain.

oops,
Je crois que je viens de trouver, après avoir agrandi le LV, il faut agrandir le FS, aussi la commande resize2fs /dev/AlainDebian/root est en train de tourner, mon disque fait un drôle de bruit, il doit être en train de s’agrandir, ça va péter!!!
J’attends.
A plus tard peut-être.
Alain.

Oui ! ! ! c’est bon, le FS fait maintenant 20Go, j’ai peut-être un peu exagéré mais bon…
Merci pour votre soutien.
ALain.

oops, y’a plus rien dans /opt…aie ! aie !aie ! je crois que je vais être bon pour aller me coucher et réinstaller plus tard.