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
Using Official Redhat DVD as repository
Viewed 12190 times since Mon, Oct 29, 2018
LVM: Extend SWAP size by adding a new Logical Volume
Viewed 3891 times since Sat, Jun 2, 2018
Linux Screen
Viewed 2736 times since Sat, Jun 2, 2018
logrotate - rotates, compresses, and mails system logs.
Viewed 2536 times since Fri, Nov 30, 2018
Linux How to reset a root password on Fedora
Viewed 3370 times since Sun, Dec 6, 2020
linux ssh Remotely Initiated Reverse SSH Tunnel
Viewed 4198 times since Wed, Apr 22, 2020
A Quick and Practical Reference for tcpdump
Viewed 13520 times since Fri, Jul 27, 2018
ZPOOL: Remove an existing zpool
Viewed 2956 times since Sun, Jun 3, 2018
How to enable Proxy Settings for Yum Command on RHEL / CentOS Servers
Viewed 14201 times since Thu, Jul 19, 2018
debian Debian/Ubuntu Linux: Find If Installed APT Package Includes a Fix/Patch Via CVE Number
Viewed 10370 times since Sun, Sep 23, 2018