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
RHCS6: Basic operations on clustered services
Viewed 3767 times since Sun, Jun 3, 2018
Używanie rsync poprzez Secure Shell
Viewed 42215 times since Thu, May 24, 2018
Using etckeeper with git
Viewed 9198 times since Sun, Jun 3, 2018
Top 4 Reasons for Node Reboot or Node Eviction in Real Application Cluster (RAC) Environment
Viewed 109959 times since Thu, Jun 21, 2018
Linux – delete the LUN and remove traces from OS
Viewed 5051 times since Tue, May 22, 2018
Linux – How to check the exit status of several piped commands
Viewed 3883 times since Wed, Jul 25, 2018
RHEL: Extending a vmdk (Virtual Machine disk)
Viewed 5530 times since Sun, May 27, 2018
CONFIGURE FOR ASM Linux
Viewed 6430 times since Sat, Jun 2, 2018
How to maximise SSD performance with Linux
Viewed 10147 times since Fri, May 15, 2020
YUM CRON Enabling automatic updates in Centos 7 and RHEL 7
Viewed 13014 times since Fri, Oct 26, 2018