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
high swap space utilization in LINUX
Viewed 5702 times since Fri, Jul 13, 2018
RHEL: iSCSI target/initiator configuration on RHEL6
Viewed 7322 times since Sat, Jun 2, 2018
Understanding System auditing with auditd
Viewed 7450 times since Fri, Apr 5, 2019
sed Delete / Remove ^M Carriage Return (Line Feed / CRLF) on Linux or Unix
Viewed 8593 times since Thu, Feb 7, 2019
RHCS6: Reduce a Global Filesystem 2 (GFS2)
Viewed 2073 times since Sun, Jun 3, 2018
RHEL: Services basic management - systemd
Viewed 16924 times since Sat, Jun 2, 2018
Linux - How to monitor memory usage
Viewed 2123 times since Fri, Jun 8, 2018
Fake A Hollywood Hacker Screen in Linux Terminal linux FUN
Viewed 3234 times since Thu, Apr 18, 2019
How to automate SSH login with password? ssh autologin
Viewed 1762 times since Fri, Jun 8, 2018
How to schedule crontab in Unix Operating Systems
Viewed 1194 times since Fri, Jun 8, 2018