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
How to accurately determine when the system was booted
Viewed 1098 times since Wed, Oct 3, 2018
How to find your System details using inxi
Viewed 1792 times since Sat, Jun 2, 2018
RHEL: XFS basic operations
Viewed 12952 times since Sat, Jun 2, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 13309 times since Thu, Jun 21, 2018
How To Ping Specific Port Number
Viewed 1515 times since Mon, Jun 1, 2020
RHEL: GPT/MBR partition tables (using disks larger than 2 TiB)
Viewed 10345 times since Sun, May 27, 2018
YUM How to use yum command on CentOS/RHEL
Viewed 3442 times since Thu, Oct 25, 2018
RHEL: Crash kernel dumps configuration and analysis on RHEL 5
Viewed 5410 times since Sat, Jun 2, 2018
LVM: Rename root VG/LV
Viewed 4944 times since Sat, Jun 2, 2018
LUKS List available methods of encryption for LUKS
Viewed 1012 times since Fri, Jul 13, 2018