LVM Infos

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Kurzinfos

Informationen über Physical Volumes abfragen

  • pvs
 PV         VG    Fmt  Attr PSize    PFree
 /dev/sdb   daten lvm2 a-   1020,00M      0
 /dev/sdc   daten lvm2 a-   1020,00M 540,00M

Informationen über Volume Groups abfragen

  • vgs
 VG    #PV #LV #SN Attr   VSize VFree
 daten   2   1   0 wz--n- 1,99G 540,00M

Informationen über Logical Volumes abfragen

  • lvs
 LV       VG    Attr   LSize Origin Snap%  Move Log Copy%  Convert
 Speicher daten -wi-a- 1,46G

Detailierte Infos

Informationen über Physical Volumes abfragen

  • pvdisplay
 
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               daten
  PV Size               6.00 GiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              1535
  Free PE               0
  Allocated PE          1535
  PV UUID               bFu5lR-NZCh-3JXc-Ri4y-TcIB-Nkr3-tjGyrg
   
  --- Physical volume ---
  PV Name               /dev/sdb2
  VG Name               daten
  PV Size               6.00 GiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              1535
  Free PE               0
  Allocated PE          1535
  PV UUID               VNJGe3-nI7c-4mOi-qmqE-EZqL-epXP-1i7qy1
   
  --- Physical volume ---
  PV Name               /dev/sdb3
  VG Name               daten
  PV Size               6.00 GiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              1535
  Free PE               0
  Allocated PE          1535
  PV UUID               HbDzxt-2cLa-L1jh-Cen8-8DbB-aW1y-3Ps72S
   
  --- Physical volume ---
  PV Name               /dev/sdb4
  VG Name               daten
  PV Size               6.00 GiB / not usable 4.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              1535
  Free PE               0
  Allocated PE          1535
  PV UUID               W2Cg8y-Rw1j-ANyZ-T6AS-55tD-zR11-tKLY2M

Informationen über Volume Groups abfragen

  • vgdisplay
  --- Volume group ---
  VG Name               daten
  System ID             
  Format                lvm2
  Metadata Areas        4
  Metadata Sequence No  9
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                4
  Act PV                4
  VG Size               23.98 GiB
  PE Size               4.00 MiB
  Total PE              6140
  Alloc PE / Size       6140 / 23.98 GiB
  Free  PE / Size       0 / 0   
  VG UUID               vxYO0U-hfOW-A6BC-vzdl-B6lm-c9yR-3PFcVx

Informationen über Logical Volumes abfragen