Red Hat LINUX VIRTUAL SERVER 4.6 - ADMINISTRATION Manuale di Installazione Pagina 232

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 296
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 231
212 z/VM and Linux on IBM System z: The Virtualization Cookbook for Red Hat Enterprise Linux 6.0
Metadata Sequence No 2
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 2.29 GiB
PE Size 4.00 MiB
Total PE 586
Alloc PE / Size 586 / 2.29 GiB
Free PE / Size 0 / 0
VG UUID 9HPTso-Amw3-70HQ-3ofl-AszO-1aeo-dFvB7z
# vgextend homevg /dev/dasdg1
Volume group "homevg" successfully extended
# vgdisplay homevg
--- Volume group ---
VG Name homevg
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 3
Act PV 3
VG Size 4.58 GiB
PE Size 4.00 MiB
Total PE 1172
Alloc PE / Size 586 / 2.29 GiB
Free PE / Size 586 / 2.29 GiB
VG UUID 9HPTso-Amw3-70HQ-3ofl-AszO-1aeo-dFvB7z
Note there are 586 new free physical extents (PEs).
13.3.3 Extending the logical volume and the file system
Now that you have free space in the volume group, you can increase the size of the existing
logical volume with the lvextend command. The -l option specifies the number extents to
add. Finally, use the ext2online command to increase the size of the file system while it is
still mounted.
You can use the df command to show the file system size before and after you extend it, as
the following example shows:
# df -h /home
/dev/mapper/homevg-homelv
2.3G 68M 2.1G 4% /home
# lvextend -l +586 /dev/homevg/homelv
Vedere la pagina 231
1 2 ... 227 228 229 230 231 232 233 234 235 236 237 ... 295 296

Commenti su questo manuale

Nessun commento