[Top][All Lists]

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

Re: Problem resizing ext2 filesystem on LVM

From: Dave Wapstra
Subject: Re: Problem resizing ext2 filesystem on LVM
Date: Wed, 9 Jan 2002 20:26:58 +0100
User-agent: Mutt/

On Thu, Jan 10, 2002 at 01:45:39AM +1100, Andrew Clausen wrote:
> On Tue, Jan 08, 2002 at 06:43:56PM +0100, Dave Wapstra wrote:
> > I changed the reserved space:
> > 
> > -Reserved block count:     0
> > +Reserved block count:     2209790
> > 
> > and that works fine.
> That sees to rule out any OS issues...
> So, that really only leaves the possibility of a bug in the resizer.
> Is it possible to run gdb?  Did you compile parted yourself?
> To debug parted, you'll need the source code + compiled with
> debug information.  Tell me when you've got that far ;)

I installed gdb and re-compiled the parted source with CFLAGS=-g.

Ready to do whatever magic you want :)  Note I've used gdb once or twice at the 


address@hidden parted-1.4.22]# gdb parted/.libs/parted                
GNU gdb 19991004
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-redhat-linux"...
(gdb) run /dev/ftp1/cisco
Starting program: /usr/src/redhat/BUILD/parted-1.4.22/parted/.libs/parted 
Warning: Device /dev/ftp1/cisco is neither a SCSI nor IDE drive.
Ignore Cancel ? i
GNU Parted 1.4.22
Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT ANY 
WARRANTY; without even the implied 
warranty of
Public License for more details.

Using /dev/ftp1/cisco
(parted) p
Disk geometry for /dev/ftp1/cisco: 0.000-206440.000 megabytes
Disk label type: loop
Minor    Start       End     Filesystem  Flags
1          0.000 206440.000  ext2        

reply via email to

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