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 configure an SSH proxy server with Squid
Viewed 3278 times since Sun, Dec 6, 2020
Top 20 OpenSSH Server Best Security Practices - good article
Viewed 10835 times since Mon, Oct 1, 2018
Jak znaleźć najszybszy publiczny serwer DNS w Polsce?
Viewed 3306 times since Mon, May 21, 2018
How To Set Up an SSL Tunnel Using Stunnel on Ubuntu
Viewed 3446 times since Fri, Sep 28, 2018
RHEL: Building a custom kernel on RHEL 6
Viewed 4282 times since Sat, Jun 2, 2018
Increase A VMware Disk Size (VMDK) Formatted As Linux LVM without rebooting
Viewed 15631 times since Wed, May 30, 2018
SSH: Execute Remote Command or Script – Linux
Viewed 2554 times since Mon, Feb 18, 2019
Install OpenVPN On CentOS / RHEL 7
Viewed 3164 times since Fri, May 15, 2020
LVM: Extend SWAP size by growing existing Logical Volume
Viewed 2600 times since Sat, Jun 2, 2018
CentOS / RHEL : How to move a Volume Group from one system to another
Viewed 3773 times since Mon, Jan 28, 2019