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
zabbix linux How to solve apache error No space left on device: Cannot create SSLMutex
Viewed 3313 times since Wed, Nov 11, 2020
Manage SSH Key File With Passphrase
Viewed 3024 times since Tue, Mar 5, 2019
Red Hat Enterprise Linux - Allow Root Login From a Specific IP Address Only
Viewed 3636 times since Wed, Oct 3, 2018
Linux How to reset a root password on Fedora
Viewed 3410 times since Sun, Dec 6, 2020
How To Ping Specific Port Number
Viewed 6236 times since Mon, Jun 1, 2020
7 Tips – Tuning Command Line History in Bash
Viewed 6982 times since Fri, Jul 5, 2019
Using Official Redhat DVD as repository
Viewed 12229 times since Mon, Oct 29, 2018
Df command in Linux not updating actual diskspace, wrong data
Viewed 3607 times since Wed, May 30, 2018
Prosty skaner portów TCP w bash
Viewed 3986 times since Thu, May 24, 2018
RHEL: Extending the maximum inode count on a ext2/ext3/ext4 filesystem
Viewed 4459 times since Sun, May 27, 2018