| 9 | |
| 10 | = lvchange/vgchange -ay = |
| 11 | * root@Knoppix:~# vgdisplay -v |
| 12 | {{{ |
| 13 | Finding all volume groups |
| 14 | Finding volume group "vgnfs" |
| 15 | --- Volume group --- |
| 16 | VG Name vgnfs |
| 17 | System ID |
| 18 | Format lvm2 |
| 19 | Metadata Areas 1 |
| 20 | Metadata Sequence No 2 |
| 21 | VG Access read/write |
| 22 | VG Status resizable |
| 23 | MAX LV 0 |
| 24 | Cur LV 1 |
| 25 | Open LV 0 |
| 26 | Max PV 0 |
| 27 | Cur PV 1 |
| 28 | Act PV 1 |
| 29 | VG Size 1.94 GB |
| 30 | PE Size 32.00 MB |
| 31 | Total PE 62 |
| 32 | Alloc PE / Size 48 / 1.50 GB |
| 33 | Free PE / Size 14 / 448.00 MB |
| 34 | VG UUID I6vVoh-6gCJ-9uvA-v2MV-Fyva-7J8v-Cvftfi |
| 35 | |
| 36 | --- Logical volume --- |
| 37 | LV Name /dev/vgnfs/drbd |
| 38 | VG Name vgnfs |
| 39 | LV UUID dNxdNj-hZCZ-GMrC-woMk-0hA2-f3oR-sBsrHI |
| 40 | LV Write Access read/write |
| 41 | LV Status NOT available |
| 42 | LV Size 1.50 GB |
| 43 | Current LE 48 |
| 44 | Segments 1 |
| 45 | Allocation inherit |
| 46 | Read ahead sectors 0 |
| 47 | |
| 48 | --- Physical volumes --- |
| 49 | PV Name /dev/md0 |
| 50 | PV UUID Z2JXRP-fa5g-SYS5-xzMs-Lq8C-1Jbh-QPKihr |
| 51 | PV Status allocatable |
| 52 | Total PE / Free PE 62 / 14 |
| 53 | |
| 54 | }}} |
| 55 | * LV is "NOT available" |
| 56 | |
| 57 | * root@Knoppix:~# lvchange -ay /dev/vgnfs/drbd |
| 58 | * root@Knoppix:~# vgchange -ay |
| 59 | {{{ |
| 60 | 1 logical volume(s) in volume group "vgnfs" now active |
| 61 | }}} |
| 62 | |
| 63 | * root@Knoppix:~# vgdisplay -v |
| 64 | {{{ |
| 65 | Finding all volume groups |
| 66 | Finding volume group "vgnfs" |
| 67 | --- Volume group --- |
| 68 | VG Name vgnfs |
| 69 | System ID |
| 70 | Format lvm2 |
| 71 | Metadata Areas 1 |
| 72 | Metadata Sequence No 2 |
| 73 | VG Access read/write |
| 74 | VG Status resizable |
| 75 | MAX LV 0 |
| 76 | Cur LV 1 |
| 77 | Open LV 0 |
| 78 | Max PV 0 |
| 79 | Cur PV 1 |
| 80 | Act PV 1 |
| 81 | VG Size 1.94 GB |
| 82 | PE Size 32.00 MB |
| 83 | Total PE 62 |
| 84 | Alloc PE / Size 48 / 1.50 GB |
| 85 | Free PE / Size 14 / 448.00 MB |
| 86 | VG UUID I6vVoh-6gCJ-9uvA-v2MV-Fyva-7J8v-Cvftfi |
| 87 | |
| 88 | --- Logical volume --- |
| 89 | LV Name /dev/vgnfs/drbd |
| 90 | VG Name vgnfs |
| 91 | LV UUID dNxdNj-hZCZ-GMrC-woMk-0hA2-f3oR-sBsrHI |
| 92 | LV Write Access read/write |
| 93 | LV Status available |
| 94 | # open 0 |
| 95 | LV Size 1.50 GB |
| 96 | Current LE 48 |
| 97 | Segments 1 |
| 98 | Allocation inherit |
| 99 | Read ahead sectors 0 |
| 100 | Block device 254:0 |
| 101 | |
| 102 | --- Physical volumes --- |
| 103 | PV Name /dev/md0 |
| 104 | PV UUID Z2JXRP-fa5g-SYS5-xzMs-Lq8C-1Jbh-QPKihr |
| 105 | PV Status allocatable |
| 106 | Total PE / Free PE 62 / 14 |
| 107 | |
| 108 | }}} |