On Sun, Sep 11, 2005 at 08:50:59AM +0200, Helge Kreutzmann wrote:
> Package: e2fsprogs
> Version: 1.37-2sarge1
> Severity: normal
> 
> I have a vg (/dev/system_vg) with several lv on it. I extended one lv
> (/dev/system_vg/media_lv) which worked fine. Now I want to extend the
> ext3 file system on it from 20 GB to 40 GB. So I do the following:
> 
> remaxp:~# env LANG=C e2fsck -f /dev/system_vg/media_lv
> e2fsck 1.37 (21-Mar-2005)
> Pass 1: Checking inodes, blocks, and sizes
> Pass 2: Checking directory structure
> Pass 3: Checking directory connectivity
> Pass 4: Checking reference counts
> Pass 5: Checking group summary information
> /scr/media: 2631/2621440 files (24.3% non-contiguous), 3830718/5242880
> blocks
> remaxp:~# env LANG=C resize2fs /dev/system_vg/media_lv
> resize2fs 1.37 (21-Mar-2005)
> Please run 'e2fsck -f /dev/system_vg/media_lv' first.
> 
> This continues. I do not do anything beside running these commands,
> but resize2fs does not work. Looking in the man page, I only see the
> "-f" option, but I am a little reluctant to use it...
> 
> I attach the output of dumpe2fs for this file system (before
> resizing).

It looks like you were having some clock problems.  Look at the
dumpe2fs information:

Last mount time:          Thu Sep  8 19:35:39 2005
Last checked:             Thu Sep  8 18:03:41 2005

One of the things which resize2fs checks is that the last checked time
is more recent than the last mount time.  Looks like your system clock
was running fast by at least half an hour (possibly a full hour or
more) when the filesystem was last mounted.

> Since the lvm-tools always required /dev/system_vg/* to work, I
> assumed the ext2tools would do the same. Now, however, I try to work
> with the /dev/mapper-paths, and voila: it works:

Actually, I don't think it has anything to do with the
/dev/mapper-paths (resize2fs doesn't care about paths, as long as it
leads to the correct device), but rather that 30 minutes had gone by,
and time on your system had progressed beyond the last mount time.

                                                - Ted


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to