Last active
August 29, 2015 14:01
-
-
Save hihellobolke/1e36434ff2cd08c4c80f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # : Creating two VGs | |
| # lvm | |
| lvm> vgcreate rootvg /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 | |
| Volume group "rootvg" successfully created | |
| lvm> vgcreate datavg /dev/sdb2 /dev/sdc2 /dev/sdd2 /dev/sde2 | |
| Volume group "datavg" successfully created | |
| # : Create root volume in thin pool 'rootpool' | |
| # lvm | |
| lvm> lvcreate -T rootvg/rootpool -l 100%VG -V10G -n rootvol | |
| Logical volume “rootpool” created | |
| Logical volume "rootvol” created | |
| lvm> lvcreate -T rootvg/rootpool -V10G -n varvol | |
| Logical volume "varvol” created | |
| lvm> lvs | |
| LV VG Attr LSize Pool Origin Data% Move Log Cpy%Sync Convert | |
| rootpool rootvg twi-a-tz-- 19.95g 0.00 | |
| rootvol rootvg Vwi-a-tz-- 10.00g rootpool 0.00 | |
| varvol rootvg Vwi-a-tz-- 10.00g rootpool 0.00 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment