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

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



On Wed, Oct 11, 2000 at 01:25:50PM +0100, Andy Cowling wrote:
> I'm just starting out using LVM under SuSE 7.0. I created a logical
> volume which was initially 30Gb but I then resized it to 90Gb (using
> lvresize) spanning 3 physical volumes each of 30Gb.
> 
> Now, lvdisplay/vgdisplay shows the LV/VG size as 90Gb, but df still
> lists the file system as 30Gb.
> 
> How can I get df to recognise the addtional space ?

	I'm assume the filesystem is an ext2 filesystem.  If it is, then
you need to find an ext2 resizing utility.  resize2fs is one such
utility.  I'm not sure where to find them on the web, but they
definitely exist.

	In general, the filesystem can only be resized when it's
offline.  The filesystem resizing utility updates all the filesystem
data structures to reflect the new size, and creates new data structures
in the new space.  df bases it's output on what the filesystem says
about the size, not the block device itself.

	It might be that SUSE came with a resizing utility.  I'd
actually rather expect it if they also packaged LVM.

Have fun (if at all possible),
-- 
The best we can hope for concerning the people at large is that they
be properly armed.  -- Alexander Hamilton
-- Eric Hopper (hopper omnifarious mn org http://www.omnifarious.org/~hopper) --

Attachment: pgp00001.pgp
Description: PGP signature


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