LVM Infos: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
=Informationen über Physical Volumes abfragen=
+
=Kurzinfos=
 +
==Informationen über Physical Volumes abfragen==
 
*pvs
 
*pvs
 
   PV        VG    Fmt  Attr PSize    PFree
 
   PV        VG    Fmt  Attr PSize    PFree
 
   /dev/sdb  daten lvm2 a-  1020,00M      0
 
   /dev/sdb  daten lvm2 a-  1020,00M      0
 
   /dev/sdc  daten lvm2 a-  1020,00M 540,00M
 
   /dev/sdc  daten lvm2 a-  1020,00M 540,00M
=Informationen über Volume Groups abfragen=
+
==Informationen über Volume Groups abfragen==
 
*vgs
 
*vgs
 
   VG    #PV #LV #SN Attr  VSize VFree
 
   VG    #PV #LV #SN Attr  VSize VFree
 
   daten  2  1  0 wz--n- 1,99G 540,00M
 
   daten  2  1  0 wz--n- 1,99G 540,00M
  
=Informationen über Logical Volumes abfragen=
+
==Informationen über Logical Volumes abfragen==
 
*lvs
 
*lvs
 
   LV      VG    Attr  LSize Origin Snap%  Move Log Copy%  Convert
 
   LV      VG    Attr  LSize Origin Snap%  Move Log Copy%  Convert
 
   Speicher daten -wi-a- 1,46G
 
   Speicher daten -wi-a- 1,46G
 +
=Detailierte Infos=
 +
==Informationen über Physical Volumes abfragen==
 +
*pvdisplay
 +
<pre>
 +
  --- 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
 +
</pre>
 +
 +
==Informationen über Volume Groups abfragen==
 +
==Informationen über Logical Volumes abfragen==

Version vom 26. August 2026, 09:52 Uhr

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

Informationen über Logical Volumes abfragen