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
debian How to check Debian CVE status using python script
Viewed 3497 times since Sun, Sep 23, 2018
Linux Kernel /etc/sysctl.conf Security Hardening
Viewed 23440 times since Fri, Aug 3, 2018
LVM: Mount LVM Partition(s) in Rescue Mode
Viewed 4712 times since Sat, Jun 2, 2018
Modifying the inode count for an ext2/ext3/ext4 file system
Viewed 14916 times since Fri, Sep 18, 2020
high swap space utilization in LINUX
Viewed 6469 times since Fri, Jul 13, 2018
Szybkie sprawdzenie zewnętrznego adresu IP i hosta
Viewed 3291 times since Thu, May 24, 2018
CONFIGURE OCFS2
Viewed 7935 times since Sat, Jun 2, 2018
Linux - How to unlock and reset user’s account
Viewed 4291 times since Fri, Jun 8, 2018
7 Tips – Tuning Command Line History in Bash
Viewed 5204 times since Fri, Jul 5, 2019
LVM: Extend SWAP size by adding a new Logical Volume
Viewed 3071 times since Sat, Jun 2, 2018