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
ZPOOL: Create a new zpool for zfs filesystems
Viewed 2770 times since Sun, Jun 3, 2018
Using stunnel and TinyProxy to obfuscate HTTP traffic
Viewed 7665 times since Fri, Sep 28, 2018
RHCS6: Clustered LVM
Viewed 2718 times since Sun, Jun 3, 2018
How to use yum command on CentOS/RHEL
Viewed 11657 times since Wed, Oct 17, 2018
Install OpenVPN On CentOS / RHEL 7
Viewed 3603 times since Fri, May 15, 2020
OEL 7 – How to disable IPv6 on Oracle Linux 7
Viewed 21343 times since Fri, Aug 3, 2018
rabbitmq Troubleshooting TLS-enabled Connections
Viewed 3137 times since Sun, Dec 6, 2020
How to Synchronize Directories Using Lsyncd in Linux
Viewed 14814 times since Wed, Oct 31, 2018
ZFS: Snapshots and clones on zfs filesystems
Viewed 3575 times since Sun, Jun 3, 2018
Secure Secure Shell
Viewed 11905 times since Fri, Aug 21, 2020