bug-parted
[Top][All Lists]
Advanced

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

Re: ext2 resize problem


From: Phil Williams
Subject: Re: ext2 resize problem
Date: Sun, 1 Sep 2002 21:28:15 +0100
User-agent: Mutt/1.3.28i

Hi,
OK, I've figured it out (I think).  As usual, it turns out that I've done
something stupid ;-)

My root filesystem was originally on /dev/hda2 and so in /etc/lilo.conf I had
specified:

        root=/dev/hda2

and in /etc/fstab I had specified:

        /dev/hda2 / ext2 defaults,errors=remount-ro 01

I created a new partition, /dev/hda5, and copied the root filesystem there.  I
remembered to update /etc/fstab (the reminder on exiting parted probably helped
:-), but I didn't think to update /etc/lilo.conf, so I continued using the root
filesystem on /dev/hda2 while thinking I was using the one on /dev/hda5.

Of course, this explains why when I resized /dev/hda5 I didn't see any change in
the size of the root filesystem.  The behaviour of df seems confusing, though: I
would have figured out what was going on a lot sooner if it hadn't reported that
the filesystem mounted on / was /dev/hda5, like so:

        Filesystem           1M-blocks      Used Available Use% Mounted on
        /dev/hda5                 2952      1282      1490  47% /
        /dev/hda1                    8         3         5  35% /boot
        /dev/hda6                16137      7222      8095  48% /home

Would you consider this to be a bug in df or am I missing something?

Cheers,
Phil.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]