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: Linux Hard Disk Encryption With LUKS [ cryptsetup Command ]
Viewed 8502 times since Fri, Jul 13, 2018
Inxi – A Powerful Feature-Rich Commandline System Information Tool for Linux
Viewed 19869 times since Sat, Jun 2, 2018
Telnet – Send GET/HEAD HTTP Request
Viewed 4828 times since Mon, Feb 18, 2019
20 Practical Examples of RPM Commands in Linux rpm
Viewed 9135 times since Mon, Feb 18, 2019
RHCS6: Quorum disk and heuristics
Viewed 5471 times since Sun, Jun 3, 2018
Tunnel SSH Connections Over SSL Using ‘Stunnel’ On Debian 7 / Ubuntu 13.10
Viewed 4697 times since Fri, Sep 28, 2018
LVM: Extend SWAP size by growing existing Logical Volume
Viewed 3349 times since Sat, Jun 2, 2018
How to Register and Enable Red Hat Subscription, Repositories and Updates for RHEL 7.0 Server
Viewed 16351 times since Mon, Oct 29, 2018
YUM How to use yum command on CentOS/RHEL
Viewed 8516 times since Thu, Oct 25, 2018
HowTo: Kill TCP Connections in CLOSE_WAIT State
Viewed 17663 times since Thu, Feb 14, 2019