ubuntuusers.de

LVM Wabuo

Datum:
16. April 2014 21:57
Code:
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
sudo pvs 
  PV         VG     Fmt  Attr PSize   PFree 
  /dev/sda1  Ubusudo pvs 
  PV         VG     Fmt  Attr PSize   PFree 
  /dev/sda1  Ubuntu lvm2 a--  238,47g 61,57g
ntu lvm2 a--  238,47g 61,57g

sudo pvdisplay 
  --- Physical volume ---
  PV Name               /dev/sda1
  VG Name               Ubuntu
  PV Size               238,47 GiB / not usable 1,00 MiB
  Allocatable           yes 
  PE Size               4,00 MiB
  Total PE              61049
  Free PE               15763
  Allocated PE          45286
  PV UUID               heyZDk-JvKX-9q1w-wFWd-zTXZ-yjzg-g8Xvc0

 sudo vgs 
  VG     #PV #LV #SN Attr   VSize   VFree 
  Ubuntu   1   3   0 wz--n- 238,47g 61,57g

 sudo vgdisplay 
  --- Volume group ---
  VG Name               Ubuntu
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  7
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               0
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               238,47 GiB
  PE Size               4,00 MiB
  Total PE              61049
  Alloc PE / Size       45286 / 176,90 GiB
  Free  PE / Size       15763 / 61,57 GiB
  VG UUID               HNlfwF-qbpm-a784-ODmT-O9Rc-lJy2-b2ugaI

sudo lvs 
  LV   VG     Attr      LSize   Pool Origin Data%  Move Log Copy%  Convert
  home Ubuntu -wi-a---- 150,00g                                           
  root Ubuntu -wi-a----  10,00g                                           
  swap Ubuntu -wi-a----  16,90g                                    

sudo lvdisplay 
  --- Logical volume ---
  LV Path                /dev/Ubuntu/root
  LV Name                root
  VG Name                Ubuntu
  LV UUID                70qL2D-ikfH-GTIT-7AYj-A24b-UyPU-N3qYLU
  LV Write Access        read/write
  LV Creation host, time ubuntu-gnome, 2014-04-16 19:26:01 +0000
  LV Status              available
  # open                 0
  LV Size                10,00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:0
   
  --- Logical volume ---
  LV Path                /dev/Ubuntu/home
  LV Name                home
  VG Name                Ubuntu
  LV UUID                1S1l5H-ufDS-XFPh-fRaE-T3pD-bv7g-M8oFtS
  LV Write Access        read/write
  LV Creation host, time ubuntu-gnome, 2014-04-16 19:30:02 +0000
  LV Status              available
  # open                 0
  LV Size                150,00 GiB
  Current LE             38400
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:1
   
  --- Logical volume ---
  LV Path                /dev/Ubuntu/swap
  LV Name                swap
  VG Name                Ubuntu
  LV UUID                DkghRa-xoax-Pm9O-hMdD-x6nR-D8NK-2xAfnB
  LV Write Access        read/write
  LV Creation host, time ubuntu-gnome, 2014-04-16 19:31:18 +0000
  LV Status              available
  # open                 0
  LV Size                16,90 GiB
  Current LE             4326
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:2