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
ZFS: Remove an existing zfs filesystem
Viewed 3007 times since Sun, Jun 3, 2018
RHCS6: Install a two-node basic cluster
Viewed 4505 times since Sun, Jun 3, 2018
Zabijanie wszystkich procesów użytkownika
Viewed 3555 times since Thu, May 24, 2018
How setting the TZ environment variable avoids thousands of system calls
Viewed 11290 times since Mon, May 21, 2018
How to recover error - Audit error: dispatch err (pipe full) event lost
Viewed 28673 times since Tue, Aug 6, 2019
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 109979 times since Thu, Jun 21, 2018
RHEL7: How to get started with Firewalld.
Viewed 13673 times since Wed, May 22, 2019
How To Ping Specific Port Number
Viewed 6806 times since Mon, Jun 1, 2020
LVM: Recovering Physical Volume Metadata
Viewed 14370 times since Sat, Jun 2, 2018
Using renice and taskset to manage process priority and CPU affinity with Linux OEL 6.4
Viewed 5005 times since Mon, Feb 17, 2020