You are not logged in.

#1 2010-05-24 04:33:08

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

`pvs` shows incorrect output...

Maybe I'm just missing something or am not understanding the command correctly, but when running `pvs` on my file sever it outputs this:

  $ pvs
  PV         VG         Fmt  Attr PSize   PFree 
  /dev/sda1  VolGroup00 lvm2 a-   111.79G     0 
  /dev/sdb1  VolGroup00 lvm2 a-    74.53G 25.56G
  /dev/sdc2  VolGroup00 lvm2 a-    37.04G     0 
  /dev/sdd1  VolGroup00 lvm2 a-   465.76G     0

The problematic line is that of /dev/sdb1. It shows that I have 25.5GB free on that drive when that isn't the case. The entire drive is formatted for LVM, and I have over 200GB of free space on the Volume Group. I'm not quite sure where it's getting 25.5GB and the man page doesn't go into a whole lot of detail.

What exactly does that column represent?

Offline

#2 2010-05-25 00:16:14

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Re: `pvs` shows incorrect output...

Anyone?

Offline

#3 2010-05-25 00:34:09

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: `pvs` shows incorrect output...

Offline

#4 2010-05-25 00:50:39

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Re: `pvs` shows incorrect output...

Thanks for the link, though i am still somewhat confused...

This is my pvdisplay -m output for /dev/sdb:

$ pvdisplay -m
  --- Physical volume ---
  PV Name               /dev/sdb1
  VG Name               VolGroup00
  PV Size               74.53 GB / not usable 3.06 MB
  Allocatable           yes 
  PE Size (KByte)       4096
  Total PE              19079
  Free PE               6544
  Allocated PE          12535
  PV UUID               EM1AK2-UsBD-nTDj-52sZ-LpYW-rS5i-AEH4Vr
   
  --- Physical Segments ---
  Physical extent 0 to 5119:
    Logical volume    /dev/VolGroup00/lvolroot
    Logical extents    0 to 5119
  Physical extent 5120 to 10239:
    Logical volume    /dev/VolGroup00/lvolhome
    Logical extents    0 to 5119
  Physical extent 10240 to 12534:
    Logical volume    /dev/VolGroup00/lvolstorage
    Logical extents    9225 to 11519
  Physical extent 12535 to 19078:
    FREE

Is it correct to assume this means I have 25GB of logical volume space available, but isn't taken up by a filesystem? Will expanding /dev/VolGroup00/lvolstorage fix this? I'm hesitant to try without someone's input. >_>

Also, here's my df:

$  df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup00-lvolroot
                       20G  5.3G   14G  28% /
none                  120M   92K  120M   1% /dev
none                  120M     0  120M   0% /dev/shm
/dev/mapper/VolGroup00-lvolhome
                       20G  1.4G   18G   8% /home
/dev/mapper/VolGroup00-lvolstorage
                      613G  480G  103G  83% /storage
/dev/sdc1             228M   13M  204M   6% /boot

Offline

Board footer

Powered by FluxBB