Re: repartitionner ext2 et lvm
Le jeudi 14 juillet 2011, Frédéric MASSOT a écrit :
> Le 14/07/2011 19:35, corbie@free.fr a écrit :
> > Le jeudi 14 juillet 2011, Frederic MASSOT a écrit :
> >> Le 14/07/2011 19:01, corbie@free.fr a écrit :
> >>> Bonjour à Tous,
> >>>
> >>> Sur un serveur, voici son partitionnement :
> >>> -----------------------------------------------------
> >>> /dev/sda :
> >>> sda1 1049kB 256MB 255MB primary ext2 démarrage (/boot)
> >>> sda2 257MB 2000GB 2000GB extended
> >>> sda5 257MB 2000GB 2000GB logical lvm
> >>
> >> Ta partition sda5 est bien un volume logique ou volume physique ?
> Que donne les commandes : vgdisplay, pvdisplay et lvdisplay ?
vgdisplay
--- Volume group ---
VG Name corbie
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
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 1,82 TiB
PE Size 4,00 MiB
Total PE 476738
Alloc PE / Size 476738 / 1,82 TiB
Free PE / Size 0 / 0
VG UUID LYCilB-GgOw-2xxR-FHGy-KMbE-Bg5l-Zg7HN7
---------------------------------------------------
pvdisplay
--- Physical volume ---
PV Name /dev/sda5
VG Name corbie
PV Size 1,82 TiB / not usable 2,00 MiB
Allocatable yes (but full)
PE Size 4,00 MiB
Total PE 476738
Free PE 0
Allocated PE 476738
PV UUID vRNIa0-Sswp-RMEE-B8aF-sbiL-kFZI-6EnJOi
---------------------------------------------------
lvdisplay
--- Logical volume ---
LV Name /dev/corbie/root
VG Name corbie
LV UUID kUddgR-I9rw-GXsh-gefn-rL2m-Qk6e-8T6Q23
LV Write Access read/write
LV Status available
# open 1
LV Size 1,77 TiB
Current LE 464967
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:0
---------------------------------------------------
--- Logical volume ---
LV Name /dev/corbie/swap_1
VG Name corbie
LV UUID C9m7Hp-UcVs-Y7Gl-fTgi-ksb9-Sgg8-raK3Bg
LV Write Access read/write
LV Status available
# open 1
LV Size 45,98 GiB
Current LE 11771
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 251:1
---------------------------------------------------
Pourquoi créer d'autres partitions ? :
installer d'autres OS + sauvegardes ... etc ...
Quand on a 1 Tera octets d'espace, on ne créé pas une seule partition,
voire deux mais plus ...
Reply to: