How to create Physical Volume in Linux

0 votes

Hi Guys,

I have attached one new hard disk in my Linux system. I want to create one Physical volume from this hard disk. How can I do that? 

Jul 9, 2020 in Linux Administration by akhtar
• 38,260 points
5,335 views

1 answer to this question.

0 votes

Hi@akhtar,

To create Physical volume in the Linux system, you need to use pvcreate command. You can go through the below-given example.

[root@localhost ~]# pvcreate /dev/sdb
  Physical volume "/dev/sdb" successfully created.
[root@localhost ~]# pvdisplay /dev/sdb
  "/dev/sdb" is a new physical volume of "20.00 GiB"
  --- NEW Physical volume ---
  PV Name               /dev/sdb
  VG Name
  PV Size               20.00 GiB
  Allocatable           NO
  PE Size               0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               KYY6Qd-NyL8-A1ce-I3CN-rzy0-Ebxb-VQgTGC

In this example, I have one Hard Disk named /dev/sdb. I created one Physical volume from this hard disk.

answered Jul 9, 2020 by MD
• 95,460 points

Related Questions In Linux Administration

0 votes
1 answer

How to create a symlink in Linux?

To create a symbolic link, you can ...READ MORE

answered Feb 1, 2019 in Linux Administration by Omkar
• 69,220 points
1,191 views
0 votes
1 answer

How to create one new partition in my hard disk in Linux?

Hi@akhtar, To create new partition you can follow ...READ MORE

answered Apr 7, 2020 in Linux Administration by MD
• 95,460 points
1,182 views
0 votes
1 answer

How to create one crontab job in Linux?

Hi@akhtar, To configure crontab in your system, you ...READ MORE

answered May 13, 2020 in Linux Administration by MD
• 95,460 points
851 views
0 votes
1 answer

How to create a group in Linux system?

Hi@MD, On Linux, group information is held in the /etc/group file. ...READ MORE

answered Aug 14, 2020 in Linux Administration by akhtar
• 38,260 points
850 views
0 votes
1 answer
0 votes
1 answer

How to increase Logical Volume Size in Linux?

Hi@akhtar, To increase the Logical Volume Size, the ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
1,304 views
0 votes
1 answer

How to format Logical Volume in Linux?

Hi@akhtar, In Linux, you can find lots of ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
961 views
0 votes
1 answer

How to recover deleted LVM in linux?

Hi@akhtar, Using the command vgcfgrestore we can recover deleted ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
1,837 views
0 votes
1 answer

How to create Volume Group in Linux?

Hi@akhtar, To create a Volume Group, you need ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
1,374 views
0 votes
1 answer

How to create Logical Volume from Volume Group in Linux?

Hi@akhtar, You can use lvcreate command to create ...READ MORE

answered Jul 9, 2020 in Linux Administration by MD
• 95,460 points
1,735 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP