LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-14-2013, 04:39 AM   #1
sudeep.jadhav
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Rep: Reputation: Disabled
physical volume


I have created pv on /dev/sda5
But now if I do 'pvs'
Then it shows
Two pv with same name as following
/dev/sda5 . . .
/dev/sda5. . .
And if I do pvdisplay
Then it show to pv with same uuid
What would be the reason of it
 
Old 04-14-2013, 05:07 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Can you post the output of the following commands:
Code:
fdisk -l | grep sda5

pvdisplay /dev/sda5

pvs
You might want to have a look at these links:
- Logical Volume Manager (Linux)
- Logical volume management
- Logical volume manager
 
Old 04-15-2013, 12:15 AM   #3
sudeep.jadhav
LQ Newbie
 
Registered: Apr 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
hello thanks for reply here i am have past output you have asked

[root@sud ~]# fdisk -l |grep sda5
Disk /dev/md127 doesn't contain a valid partition table
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
/dev/sda5 64 128 512000 83 Linux
[root@sud ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/md127 wgroup lvm2 a- 1.95g 396.00m
/dev/sda5 wgroup lvm2 a- 496.00m 496.00m
/dev/sda5 wgroup lvm2 a- 496.00m 496.00m
[root@sud ~]# pvdisplay
--- Physical volume ---
PV Name /dev/md127
VG Name wgroup
PV Size 1.95 GiB / not usable 2.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 499
Free PE 99
Allocated PE 400
PV UUID CTSnMh-Aee6-om1S-1iFp-WKKT-pxqZ-9YhVhb

--- Physical volume ---
PV Name /dev/sda5
VG Name wgroup
PV Size 500.00 MiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 124
Free PE 124
Allocated PE 0
PV UUID 3w1oZt-b2u1-ZVPm-I0V3-dfPn-mfOl-yDTL5B

--- Physical volume ---
PV Name /dev/sda5
VG Name wgroup
PV Size 500.00 MiB / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 124
Free PE 124
Allocated PE 0
PV UUID 3w1oZt-b2u1-ZVPm-I0V3-dfPn-mfOl-yDTL5B
 
Old 04-15-2013, 01:55 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Except for the double entries for /dev/sda5 I can only see one thing that isn't correct:
Quote:
Originally Posted by sudeep.jadhav
[root@sud ~]# fdisk -l |grep sda5
/dev/sda5 64 128 512000 83 Linux
It seems that sda5 has a Linux label, this should be a LVM label (8e Linux LVM).

I'm not 100% sure if this is the cause of your issue, but it is a place to start.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
problem on physical volume saghi Linux - General 3 02-28-2011 06:08 AM
New/Old Physical Volume Ectropian Fedora 1 11-26-2008 05:22 PM
Cannot allocate Physical Volume adscombi Linux - Newbie 1 09-30-2008 09:07 AM
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration