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
IPTABLES linux
Viewed 17296 times since Sat, Jun 2, 2018
What is OS Watcher Utility and How to use it for Database Troubleshooting ?
Viewed 30605 times since Thu, Jun 21, 2018
How to do a Filesystem Resize (ext3/ext4) on Redhat running on VMware
Viewed 11223 times since Wed, Jul 25, 2018
OCFS2 Cluster File System Setup Guide in Linux
Viewed 7544 times since Sat, Jun 2, 2018
RHCS6: Clustered LVM
Viewed 2468 times since Sun, Jun 3, 2018
How to encrypt a partition using LUKS?
Viewed 2040 times since Fri, Jul 13, 2018
HP-UX - Stunnel Configuration
Viewed 2608 times since Fri, Sep 28, 2018
Linux - How to get network speed and statistic of ethernet adapter in Linux
Viewed 2378 times since Fri, Jun 8, 2018
KONTO SFTP Z CHROOTEM Z UŻYCIEM OPENSSH-SERVER NA CENTOS/RHEL6
Viewed 2040 times since Fri, Nov 30, 2018
Linux ssh Hide OpenSSH Version Banner
Viewed 52478 times since Wed, Apr 22, 2020