System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Trying to understand output of pvs command

Randy Hagedorn
Regular Advisor

Trying to understand output of pvs command

Hi,

After an unexplained reboot, we seem to have comsumed or lost some disk space that I can not explain, on the logical volume LogVol00.

Here is a partial df command:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
14220336 11301008 2185352 84% /
/dev/sda1 505604 26890 452610 6% /boot
tmpfs 8219540 0 8219540 0% /dev/shm

Here is a partial pvs command:
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 VolGroup00 lvm2 a- 39.47G 5.47G
/dev/sdaa1 VGU08 lvm2 a- 10.00G 0
/dev/sdab1 VGTED lvm2 a- 5.00G 0
/dev/sdac1 VGTED_ARCHIVE lvm2 a- 2.00G 0
/dev/sdad1 VGTED_CTRL lvm2 a- 1020.00M 0
/dev/sdae1 VGTED_CTRL lvm2 a- 1020.00M 0
/dev/sdaf1 VGTED_CTRL lvm2 a- 1020.00M 1016.00M
/dev/sdag1 VGTED_REDO1 lvm2 a- 4.00G 0
/dev/sdah1 VGTED_REDO2 lvm2 a- 4.00G 0

The column PFree is listing 5.47G, which is about the amount of unexplained disc usage. This is a BL480C attached to an HP4100 SAN.

Other than, volume group VGTED_CTRL, which is mirrored, I am wondering why this is listing free space when other volumes are not?

Thanks,
Randy
1 REPLY
Randy Hagedorn
Regular Advisor

Re: Trying to understand output of pvs command

I have found what the PFree value is telling me in in the pvs command for VolGroup00. The 5.47GB is the amount of space left in the volume group that is not configured into logical any logical volumes.

Thanks,
Randy