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
10 Linux nslookup Command Examples for DNS Lookup
Viewed 10227 times since Sun, Sep 30, 2018
debian Install a newer kernel in Debian 9 (stretch) stable
Viewed 1790 times since Sun, Sep 23, 2018
ZPOOL: Create a new zpool for zfs filesystems
Viewed 2229 times since Sun, Jun 3, 2018
VMWare tools free
Viewed 9050 times since Mon, Jul 16, 2018
RHEL: Resize/disable /dev/shm filesystem
Viewed 14841 times since Sun, May 27, 2018
RHEL: iSCSI target/initiator configuration on RHEL6
Viewed 8765 times since Sat, Jun 2, 2018
Netcat shell zabezpieczony hasłem
Viewed 2229 times since Thu, May 24, 2018
KONTO SFTP Z CHROOTEM Z UŻYCIEM OPENSSH-SERVER NA CENTOS/RHEL6
Viewed 1826 times since Fri, Nov 30, 2018
How to Analyze or Read OS Watcher Output in three easy steps -- With Example ?
Viewed 41625 times since Thu, Jun 21, 2018
Inxi – A Powerful Feature-Rich Commandline System Information Tool for Linux
Viewed 18917 times since Sat, Jun 2, 2018