You can Watch all our Tutorials and Training Videos for Free on ourYouTube Channel

How to Create LVM Volume group in Linux Easily

how to create lvm volume group in linux, create volume group on linux, lvm volume group creation on linux, lvm volume group commands, create vg linux
This post will help show you How to Create LVM Volume group in Linux Easily.

Prerequisites:

1. We should have already created physical volume on disk using pvcreate. Refer this link to know how to create a physical volume (PV) on Linux

How to Create LVM Volume group?

Once you have found your physical volume is created using the command "pvs". Use "vgcreate" command to create a volume group.

vgcreate datavg /dev/sda /dev/sdb

Where,
"datavg" is the new volume group name.
/dev/sda and /dev/sdb - Disk initilized under LVM using pvcreate command.

Above command will create a volume group called "datavg" on two disk /dev/sda and /dev/sdb.

Use "vgs" command to confirm the newly created volume group is available or not.

Hope this post helped you to know How to Create LVM Volume group in Linux Easily.

Related Content on Linux might be useful to you to improve your Linux Skills.


Keep practicing and have fun. Leave your comments if any.

Support Us: Share with your friends and groups.

Stay connected with us on social networking sites, Thank you.

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.
whatsapp logo