Merci encore une fois Remi
Dans mon cas, voilà ce que j'ai
[root@localhost ~]# fdisk -l
Disque /dev/sda: 250.0 Go, 250059350016 octets
255 heads, 63 sectors/track, 30401 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6c2421e8
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 30401 244091610 8e Linux LVM
[root@localhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sda2
VG Name VolGroup00
PV Size 232,78 GB / not usable 2,71 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 7449
Free PE 1
Allocated PE 7448
PV UUID Q0heMR-IrWL-I7NT-sq07-jhPE-vFAu-pRNzol
[root@localhost ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID rHHkDH-a9mb-Aqdl-0tlQ-iD5J-CnXd-bnhPJl
LV Write Access read/write
LV Status available
# open 1
LV Size 15,00 GB
Current LE 480
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol02
VG Name VolGroup00
LV UUID 6a9PNI-K1R7-2daH-7kuG-LN1l-PSI6-bsp48F
LV Write Access read/write
LV Status available
# open 1
LV Size 215,75 GB
Current LE 6904
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 7odDpU-6qoL-PFFi-j1E0-qD00-WHeV-xKcBcP
LV Write Access read/write
LV Status available
# open 1
LV Size 2,00 GB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
Donc pour réduire mon /home à 100Go et réduire le groupe de volume de 100Mo, je dois faire ces commandes ?
*resize2fs /dev/VolGroup00/LogVol02 100G
*lvreduce -L 100G /dev/VolGroup00/LogVol02
*pvresize /dev/sda2 --setphysicalvolumesize 232,68G (232,78G-100Mo pour monb /boot en ext3)
*fdisk je me rappelle plus trop comment on l'utilise ^^'
C'est bon comme manière de procéder ?