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
LVM: Remove a Filesystem / Logical Volume
Viewed 630 times since Sat, Jun 2, 2018
linux manual tools
Viewed 528 times since Fri, Sep 28, 2018
10 Linux nslookup Command Examples for DNS Lookup
Viewed 493 times since Sun, Sep 30, 2018
high swap space utilization in LINUX
Viewed 482 times since Fri, Jul 13, 2018
python learning
Viewed 364 times since Wed, Dec 18, 2019
Fix rpmdb: Thread died in Berkeley DB library
Viewed 310 times since Fri, Feb 14, 2020
RHEL: Route network packets to go out via the same interface they came in
Viewed 1022 times since Sat, Jun 2, 2018
OpenSSL: Check SSL Certificate Expiration Date and More
Viewed 567 times since Mon, Feb 18, 2019
A Quick and Practical Reference for tcpdump
Viewed 1640 times since Fri, Jul 27, 2018
How log rotation works with logrotate
Viewed 1109 times since Fri, Nov 30, 2018