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
Używanie rsync poprzez Secure Shell
Viewed 41747 times since Thu, May 24, 2018
How setting the TZ environment variable avoids thousands of system calls
Viewed 10720 times since Mon, May 21, 2018
RHEL: Remove existing SAN LUNs
Viewed 14747 times since Sat, Jun 2, 2018
How to do a Filesystem Resize (ext3/ext4) on Redhat running on VMware
Viewed 11523 times since Wed, Jul 25, 2018
RHEL: Forgotten ’root’ password / using single-user to gain access
Viewed 8355 times since Sat, Jun 2, 2018
LVM: Reduce SWAP size by shrinking existing Logical Volume
Viewed 6837 times since Sat, Jun 2, 2018
stunnel How To Set Up an SSL Tunnel Using Stunnel on Ubuntu
Viewed 2294 times since Sun, Dec 6, 2020
10 Linux DIG Command Examples for DNS Lookup
Viewed 11653 times since Sun, Sep 30, 2018
How to configure an SSH proxy server with Squid
Viewed 3789 times since Sun, Dec 6, 2020
RHCS6: Reduce a Global Filesystem 2 (GFS2)
Viewed 3867 times since Sun, Jun 3, 2018