LVM: Create a new Volume Group

LVM: Create a new Volume Group

# Tested on RHEL 5, 6 & 7

# First, verify the disk/partition to use on the new VG with "fdisk" or any other similar
# tool

DISK=/dev/sdb
VG=newvg



# Initialize the physical disk to be used by LVM
pvcreate $DISK


# Create VG

vgcreate  -v $VG $DISK
0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
RHCS6: Create a new Logical Volume / Global Filesystem 2 (GFS2)
Viewed 1120 times since Sun, Jun 3, 2018
YUM How to use yum command on CentOS/RHEL
Viewed 3441 times since Thu, Oct 25, 2018
Tips to Solve Linux & Unix Systems Hard Disk Problems
Viewed 1277 times since Fri, May 15, 2020
RHEL: Force system to prompt for password in Single User mode
Viewed 3568 times since Sat, Jun 2, 2018
Fix rpmdb: Thread died in Berkeley DB library
Viewed 19112 times since Fri, Feb 14, 2020
RHEL7: Create and configure LUKS-encrypted partitions and logical volumes to prompt for password and mount a decrypted file system at boot.
Viewed 4200 times since Mon, Aug 6, 2018
Linux Cluster Tutorial
Viewed 840 times since Sat, Sep 29, 2018
What is yum-cron ?
Viewed 1712 times since Fri, Oct 26, 2018
HowTo: The Ultimate Logrotate Command Tutorial with 10 Examples
Viewed 2255 times since Fri, Nov 30, 2018
How to maximise SSD performance with Linux
Viewed 4903 times since Fri, May 15, 2020