Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-30-2010, 01:02 PM   #1
LQ Newbie
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Pvdisplay and Df -h

Why pvdisplay shows sdb2, and df -h has no mention of sdb2. Can please someone clarify this for me, i'm confused.

[root@localhost ~]# pvdisplay
--- Physical volume ---
PV Name /dev/sdb2
VG Name VolGroup00
PV Size 465.57 GB / not usable 5.43 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 14898
Free PE 1
Allocated PE 14897
PV UUID K3kHu8-E0At-N3F8-lpGl-s5G3-gkVl-Yw9ZtR

[root@localhost ~]# df -H
Filesystem Size Used Avail Use% Mounted on
490G 2.8G 488G 1% /
/dev/sdb1 200M 20M 170M 11% /boot
tmpfs 792M 13k 792M 1% /dev/shm
/dev/sda2 153G 29G 125G 19% /mnt/win
[root@localhost ~]#
[root@localhost ~]#
Old 09-30-2010, 04:16 PM   #2
Registered: Jan 2008
Posts: 105

Rep: Reputation: 28
sdb2 will not show up in df commands because it is a "Linux LVM" partition type and is a part of a VG (VolGroup00) out of which LVs (LogVol00 and LogVol01) are created and mounted. In your case sdb2 is nothing but the root partition (/) + default swap.

If you use
df -h
df -H
your numbers will tally up closer.

If you compare that to sdb1, this is a "Linux" partition type and the partition will simply appear as /dev/sdb1 when you run df -h.

1 members found this post helpful.
Old 09-30-2010, 04:28 PM   #3
LQ Newbie
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for clearing this up, it helped to clear up the confusion i had.
Thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 resizing question - pvdisplay shows that drive is 70G smaller than it is blueduck Linux - Software 1 06-29-2010 10:07 AM
vgcreate command is changing /dev/mapper as PV Name in pvdisplay to /dev/dm-xx path neeravsingh Linux - Enterprise 6 03-23-2010 04:05 AM
pvdisplay issue amitpardesi Linux - Software 0 10-16-2008 10:14 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:41 PM.

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