[linux-lvm] lvdisplay disagrees with df for resized LV

Charles Duffy cduffy at mvista.com
Wed Oct 11 17:57:16 UTC 2000


On Wed, Oct 11, 2000 at 05:28:22PM +0100, Andy Cowling wrote:
> Thanks to all for your help. I'm using reiserfs and on SuSE 7.0, the
> resize utility was hidden away in /sbin/resize_reiserfs.
> 
> I have resized the file system to 90G successfully but, there always a
> but isn't there :-), df now reports a total of 88Gb.
> 
> Out of interest is this due to rounding or reisfer/LVM housekeeping ?

FYI, reiserfs can also be resized online (at least, the current
2.4-beta versions) w/ a command like the following:

mount -o remount,resize=[NEWSIZE] filesystem

I can't speak authoritatively about the missing 2G, but you can
compare the LVM's allocated size (use vgdisplay to see how many PEs
are allocated and what their size is) to the size of the filesystem
reported by debugreiserfs.

Also note that some earlier versions of reiserfs had some issues which
resulted in inaccurate results from du; however, I don't know of any
issues offhand which affected df's results.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20001011/072848d7/attachment.sig>


More information about the linux-lvm mailing list