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
Applescript: Run or Call a Shell Script
Viewed 2052 times since Tue, Aug 6, 2019
LVM: Extend an existing Volume Group by adding a new disk
Viewed 732 times since Sat, Jun 2, 2018
RHCS6: Show/Add GFS2/GFS journals
Viewed 934 times since Sun, Jun 3, 2018
Using stunnel and TinyProxy to obfuscate HTTP traffic
Viewed 1451 times since Fri, Sep 28, 2018
Linux An introduction to swap space on Linux systems
Viewed 486 times since Thu, Jan 23, 2020
SSH Essentials: Working with SSH Servers, Clients, and Keys
Viewed 1325 times since Wed, Jun 27, 2018
LVM: Rename root VG/LV
Viewed 1232 times since Sat, Jun 2, 2018
Turbocharge PuTTY with 12 Powerful Add-Ons – Software for Geeks #3
Viewed 1188 times since Sun, Sep 30, 2018
Linux Network (TCP) Performance Tuning with Sysctl
Viewed 3272 times since Fri, Aug 3, 2018
How to use yum-cron to automatically update RHEL/CentOS Linux 6.x / 7.x
Viewed 1749 times since Tue, Dec 4, 2018