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
Moving SSL Certificate from IIS to Apache
Viewed 2073 times since Mon, Feb 18, 2019
debian How to Upgrade Debian 8 Jessie to Debian 9 Stretch
Viewed 2401 times since Sun, Sep 23, 2018
Red Hat ADDING SWAP SPACE
Viewed 2126 times since Fri, Jun 8, 2018
How To Add Swap Space on Ubuntu 16.04
Viewed 2413 times since Fri, Jun 8, 2018
10 Linux rsync Examples to Exclude Files/Directories
Viewed 11012 times since Wed, Oct 31, 2018
RHEL: Crash kernel dumps configuration and analysis on RHEL 7
Viewed 7226 times since Sat, Jun 2, 2018
A tcpdump Tutorial and Primer with Examples
Viewed 5346 times since Sun, Jun 17, 2018
HowTo: Kill TCP Connections in CLOSE_WAIT State
Viewed 15990 times since Thu, Feb 14, 2019
OpenSSL: Find Out SSL Key Length – Linux Command Line
Viewed 7141 times since Mon, Feb 18, 2019
VMWare tools free
Viewed 9124 times since Mon, Jul 16, 2018