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
ZFS: Create a new zfs filesystem
Viewed 2286 times since Sun, Jun 3, 2018
SSH: Execute Remote Command or Script – Linux
Viewed 2071 times since Mon, Feb 18, 2019
INSTALACJA MIB SNMP W SYSTEMIE CENTOS/RHEL 6
Viewed 12632 times since Fri, Nov 30, 2018
Split and Reassemble files
Viewed 3173 times since Mon, May 28, 2018
Inxi: Find System And Hardware Information On Linux
Viewed 1974 times since Sat, Jun 2, 2018
LVM: Managing snapshots
Viewed 7415 times since Sat, Jun 2, 2018
Zabijanie wszystkich procesów użytkownika
Viewed 2382 times since Thu, May 24, 2018
RHEL: Manually encrypting a filesystem with LUKS
Viewed 3437 times since Sun, May 27, 2018
Linux - How to get network speed and statistic of ethernet adapter in Linux
Viewed 1725 times since Fri, Jun 8, 2018
Manage Linux Password Expiration and Aging Using chage
Viewed 4258 times since Tue, Sep 11, 2018