~]# Step 4) Create logical volumes from thin pool LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Verify the thin pool size ~]# lvs /dev/volgrp/lvpool Rounding up size to full physical extent 9.90 GiB Where -L is used to specify the size of the pool and -T specify the thin pool ~]# lvcreate -L 9.90G -T volgrp/lvpool Thin pool is like a logical volume which is created using lvcreate command ~]# Step 3) Create a thin pool from the volume group Volume group "volgrp" successfully created Run vgcrereate command to create volume with name ‘ volgrp‘ ~]# vgcreate volgrp /dev/sdb ~]# Step 2) Create volume group using vgcreate command Physical volume "/dev/sdb" successfully created Run below pvcreate command to create physical volume on the disk. Let’s assume new disk is detected as /dev/sdb. Refer the following steps to create thinly provisioned Logical Volumes Step 1) Create the physical volume using pvcreate command We will be creating a thin pool of 10 GB, from this thin pool initially we will create two logical volumes of each 4 GB and one logical volume of size 1GB. Let’s assume we have Linux Server (CentOS 7.x / RHEL 7.x) and have assigned new a disk of 10 GB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |