[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stupid question about pvdisplay, just to be sure.

On Wed, 12 Oct 2011 16:33:06 +0000, Hendrik Boom wrote:

> On Wed, 12 Oct 2011 15:53:30 +0000, Camaleón wrote:


>>> does that mean that /dev/md0 still has 59037*4.00 = 236148 mebibytes
>>> of free space left to be allocated to logical volumes?
>> Mmm... I've been reading the man page for "pvdisplay" and seems a bit
>> cryptic (to me at least that know nothing about LVM :-) ).
>> What's the output of "pvdisplay -s"? Let's see if both values (~230
>> GiB) match.
> april:/farhome/hendrik# pvdisplay -s
>   Device "/dev/md0" has a capacity of 230.61 GiB
> april:/farhome/hendrik#
> Indeed it does say approx 230GiB.  This looks promising, except that the
> man page for pvdisplay says
>        -s, --short
>               Only display the size of the given physical volumes.
> so I'd expect it to report the size (673.62 GiB), instead of the free
> space.  Is this a bug or a feature?

Yep, that's why I say I found it "cryptic" :-)

However, a Google search on that parameter ("-s") reveals that is used to 
know the available physical space on that volume. Go figure... maybe an 
outdated man page? :-?



Reply to: