Red Hat SATELLITE 5.1.0 RELEASE NOTES Instrukcja Instalacji Strona 201

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 268
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 200
Chapter 13. Miscellaneous recipes 183
--- NEW Physical volume ---
PV Name /dev/dasde1
VG Name
PV Size 4.59 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID y6lMf2-PkCk-w46g-lSkl-3M9d-7vUZ-rtvaJX
Creating a single volume group
The vgcreate command can be used to create a volume group named homevg from the two
DASDs. Use the vgdisplay command to verify:
# vgcreate homevg /dev/dasdd1 /dev/dasde1
# vgdisplay
--- Volume group ---
VG Name homevg
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 9.16 GB
PE Size 4.00 MB
Total PE 2346
Alloc PE / Size 0 / 0
Free PE / Size 2346 / 9.16 GB
VG UUID IHAq2g-ME3w-b6LY-E3hA-raNk-bF0G-Poprma
In this example, there are 2346 free physical extents.
Creating a single logical volume
The lvcreate command is used to create a logical volume. The -l 2346 flag specifies to use
all free extents, in this example. The -n homelv specifies the name of the new logical volume.
The last argument homevg specifies the name of the volume group from which the logical
volume will be created. Use the lvdisplay command to verify:
# lvcreate -l 2346 -n homelv homevg
Logical volume "homelv" created
# lvdisplay
--- Logical volume ---
LV Name /dev/homevg/homelv
VG Name homevg
LV UUID roBwTM-sxkF-AdLn-sePN-KnzT-n36r-7lkIxk
LV Write Access read/write
LV Status available
# open 0
LV Size 9.16 GB
Current LE 2346
Przeglądanie stron 200
1 2 ... 196 197 198 199 200 201 202 203 204 205 206 ... 267 268

Komentarze do niniejszej Instrukcji

Brak uwag