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
How to encrypt a partition using LUKS?
Viewed 2053 times since Fri, Jul 13, 2018
RHCS6: Debug and test multicast traffic between two hosts
Viewed 6944 times since Sun, Jun 3, 2018
Fałszujemy rozpoznania skanerów #2
Viewed 3189 times since Mon, May 21, 2018
Modifying the inode count for an ext2/ext3/ext4 file system
Viewed 15737 times since Fri, Sep 18, 2020
YUM CRON Enabling automatic updates in Centos 7 and RHEL 7
Viewed 12156 times since Fri, Oct 26, 2018
How to use yum command on CentOS/RHEL
Viewed 11305 times since Wed, Oct 17, 2018
IPTABLES linux
Viewed 17315 times since Sat, Jun 2, 2018
30 Handy Bash Shell Aliases For Linux / Unix / MacOS
Viewed 5183 times since Thu, Feb 11, 2021
Linux - How to monitor CPU usage
Viewed 6695 times since Fri, Jun 8, 2018
Tropienie pożeracza dysku
Viewed 2473 times since Thu, May 24, 2018