bug-parted
[Top][All Lists]
Advanced

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

Re: Resizing root partition


From: Yury Umanets
Subject: Re: Resizing root partition
Date: Tue, 05 Aug 2003 13:48:36 +0400

On Tue, 2003-08-05 at 13:33, Yury Umanets wrote:
> On Tue, 2003-08-05 at 13:15, Philippe wrote:
> > Hi,
> > 
> > I tried to resize my root partition. Parted told me about umounting the
> > partition but I hit "Ignore". Using "p" command I can see it 's been
> > resized as I wanted. But "df -h" tell me that the size is the same ???
> > This is an ext3 partition running under linux-2.4.20
> > 
> > Thanks for your help !
> 
> Hello,
> 
> Do you mean, that you have ran df -h just after resizing and with no
> umount? If so, that is ok. df uses statfs() and particular filesystem
> handles it be means of filling up struct statfs from super block in
> memory copy.
> 
> Try to remount partition first.

But anyway, it is not good idea to resize filesystem with no umount
first. It may cause damage if it was mounted as rw and it may cause
kernel panic if it was mounted as ro.

But, if a filesystem supports on-line resizing, everything okay.
Probably this is the case :)
> 
> > 
> > --
> > Philippe
> > 
> > 
> > 
> > _______________________________________________
> > Bug-parted mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/bug-parted
-- 
We're flying high, we're watching the world passes by...





reply via email to

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