Bonjour à tous,
Je n’ai pas bien calculé quand j’ai installé ma Debian Jessie, du coup j’arrive à saturation pour ma partition racine ( “/” ) et aussi sur la partition var ( “/var” ).
Est-il possible de régler le problème sans tout réinstaller ? Faut-il passer par un linux en live ? Ou bien peut-on faire ça au vol comme dans ce tutoriel sur system-linux.eu ?
Petit détail : Les partitions sont chiffrées. (Donc je tape un mot de passe au boot.)
Quelques commandes pour y voir clair :
esprit@debian8:~$ uname -a
Linux debian8 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u6 (2015-11-09) x86_64 GNU/Linux
esprit@debian8:~$ df -h
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
/dev/dm-1 8,2G 8,1G 0 100% /
udev 10M 0 10M 0% /dev
tmpfs 784M 9,1M 775M 2% /run
tmpfs 2,0G 1,1M 2,0G 1% /dev/shm
tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs 2,0G 0 2,0G 0% /sys/fs/cgroup
/dev/mapper/debian8--vg-tmp 360M 15M 323M 5% /tmp
/dev/mapper/debian8--vg-var 2,7G 2,0G 546M 79% /var
/dev/mapper/debian8--vg-home 440G 86G 332G 21% /home
/dev/sda1 236M 57M 167M 26% /boot
tmpfs 392M 12K 392M 1% /run/user/119
tmpfs 392M 12K 392M 1% /run/user/1000
[code]esprit@debian8:~$ cat /etc/fstab
/dev/mapper/debian8–vg-root / ext4 errors=remount-ro 0 1
/boot was on /dev/sda1 during installation
UUID=cac5dcc9-262a-4281-bf4a-f9706b2cc855 /boot ext2 defaults 0 2
/dev/mapper/debian8–vg-home /home ext4 defaults 0 2
/dev/mapper/debian8–vg-tmp /tmp ext4 defaults 0 2
/dev/mapper/debian8–vg-var /var ext4 defaults 0 2
/dev/mapper/debian8–vg-swap_1 none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0[/code]
[code]esprit@debian8:~$ sudo lvdisplay -a
— Logical volume —
LV Path /dev/debian8-vg/root
LV Name root
VG Name debian8-vg
LV UUID MC5YiV-wUXI-Nh44-Udq6-YQmN-mAwR-N7Uecl
LV Write Access read/write
LV Creation host, time debian8, 2014-12-14 10:45:37 +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:1
— Logical volume —
LV Path /dev/debian8-vg/var
LV Name var
VG Name debian8-vg
LV UUID YRCkdy-VOWz-t3H2-huJX-hCw9-pWm2-jbBG9x
LV Write Access read/write
LV Creation host, time debian8, 2014-12-14 10:45:37 +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:2
— Logical volume —
LV Path /dev/debian8-vg/swap_1
LV Name swap_1
VG Name debian8-vg
LV UUID ERtEPy-c1OG-40cD-kM54-2ps0-SSXB-8LxSqX
LV Write Access read/write
LV Creation host, time debian8, 2014-12-14 10:45:37 +0100
LV Status available
open 2
LV Size 7,40 GiB
Current LE 1894
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:3
— Logical volume —
LV Path /dev/debian8-vg/tmp
LV Name tmp
VG Name debian8-vg
LV UUID wfeLSX-gxSz-RJDw-nsW0-b4aL-1Ck3-xZWdsR
LV Write Access read/write
LV Creation host, time debian8, 2014-12-14 10:45:37 +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/debian8-vg/home
LV Name home
VG Name debian8-vg
LV UUID JQOVHb-9Vqc-8Q2B-MvJV-k7kf-GERT-P3vPyz
LV Write Access read/write
LV Creation host, time debian8, 2014-12-14 10:45:37 +0100
LV Status available
open 1
LV Size 446,57 GiB
Current LE 114323
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:5[/code]
esprit@debian8:~$ sudo vgdisplay debian8-vg
--- Volume group ---
VG Name debian8-vg
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 6
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 5
Max PV 0
Cur PV 1
Act PV 1
VG Size 465,52 GiB
PE Size 4,00 MiB
Total PE 119172
Alloc PE / Size 119172 / 465,52 GiB
Free PE / Size 0 / 0
VG UUID Hq9PNE-bl1Y-3T0c-Uaki-6v9n-xfhK-ZZJuIZ
J’ai envie de faire :
esprit@debian8:~# lvextend -L +5G /dev/debian8-vg/root
et
esprit@debian8:~# lvextend -L +3G /dev/debian8-vg/var
Mais j’ai l’impression qu’il n’y a pas d’espace disponible (" Free PE / Size 0 / 0" ?) et que je devrais d’avoir réduire la partition “/dev/debian8-vg/home” ? Sans doute avec “lvreduce” ?
Bref, merci de me rassurer et merci d’avance pour vos lumières!
(Et Joyeux Noël! )