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
RHEL: Checking HBAs
Viewed 15048 times since Sun, May 27, 2018
RHEL: Getting/Setting hardware clock’s time
Viewed 3219 times since Sat, Jun 2, 2018
Watchdog script to keep an application running
Viewed 18885 times since Tue, Jul 31, 2018
Moving SSL Certificate from IIS to Apache
Viewed 2146 times since Mon, Feb 18, 2019
RHCS6: Debug and test multicast traffic between two hosts
Viewed 6850 times since Sun, Jun 3, 2018
RHEL: Services basic management - systemd
Viewed 18909 times since Sat, Jun 2, 2018
Linux - How to get CPU information
Viewed 2364 times since Fri, Jun 8, 2018
FIO (Flexible I/O) – a benchmark tool for any operating system
Viewed 19651 times since Wed, Jul 25, 2018
RHEL: Reinstalling Boot Loader on the Master Boot Record (MBR)
Viewed 3551 times since Sun, May 27, 2018
CONFIGURE FOR ASM Linux
Viewed 5683 times since Sat, Jun 2, 2018