[Parted-maintainers] Bug#323438: parted: problems in resizing a logical ext3

Luca Capello luca at pca.it
Tue Aug 16 19:41:46 UTC 2005


Package: parted
Version: 1.6.23-3
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I've searched over the docs (and the net) and it seems that I'm not
wrong: parted can resize an ext3, provided that "the new start must be
the same as the old start" [1].

But I've 2 kinds of different errors, here the output (note that the
partition is unmounted and I tried in "emergency" mode with the same
results).

=====
gismo:/home/luca# parted /dev/hda print
Disk geometry for /dev/hda: 0kB - 60GB
Disk label type: msdos
Number  Start   End     Size    Type      File system  Flags
1       32kB    8000MB  8000MB  primary   fat32        boot, lba
2       8000MB  16GB    8000MB  primary   ext3         
3       16GB    60GB    44GB    extended               lba
5       16GB    17GB    512MB   logical   linux-swap   
6       17GB    32GB    15GB    logical   ext3         
7       32GB    42GB    10000MB logical   ext3         
8       42GB    52GB    10000MB logical   ext3         
9       52GB    60GB    8500MB  logical   ext3         
Information: Don't forget to update /etc/fstab, if necessary.             

gismo:/home/luca# parted
GNU Parted 1.6.23
Copyright (C) 1998 - 2005 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 MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/hda
(parted) resize 9 52000 59000
Error: Unable to satisfy all constraints on the partition.                
(parted) resize 9
Start?  [52GB]? 52000
End?  [60GB]? 59000                                                       
Error: Unable to satisfy all constraints on the partition.                
(parted) resize 9                                                         
Start?  [52GB]? 52000                                                     
End?  [60GB]? 58000                                                       
Error: Unable to satisfy all constraints on the partition.                
(parted) resize 9                                                         
Start?  [52GB]? 52000MB                                                   
End?  [60GB]? 59000MB                                                     
Error: Unable to satisfy all constraints on the partition.                
(parted) resize 9
Start?  [52GB]? 52GB                                                      
End?  [60GB]? 59000MB                                                     
Error: Can't have a partition outside the disk!                           
You found a bug in GNU Parted.  Please email a bug report to
bug-parted at gnu.org containing the version (1.6.23), and the following
message:

Assertion (geom != NULL) at ../../libparted/geom.c:100 in function
ped_geometry_destroy() failed.

Ignore/Cancel? cancel                                                     
Error: Unable to satisfy all constraints on the partition.                
(parted) resize
Partition number? 9                                                       
Start?  [52GB]?                                                           
End?  [60GB]? 59GB                                                        
Error: Can't have a partition outside the disk!                           
You found a bug in GNU Parted.  Please email a bug report to
bug-parted at gnu.org containing the version (1.6.23), and the following
message:

Assertion (geom != NULL) at ../../libparted/geom.c:100 in function
ped_geometry_destroy() failed.

Ignore/Cancel? cancel                                                     
Error: Unable to satisfy all constraints on the partition.                
(parted) quit                                                             
Information: Don't forget to update /etc/fstab, if necessary.             

gismo:/home/luca# 
=====

Is this really a bug or am I missing something?

BTW, just FYI, qtparted (Debian unstable and SystemRescueCD [2])
doesn't give me the option to resize /dev/hda9, while I can resize
/dev/hda3 (the extended partition).

Thx, bye,
Gismo / Luca

[1] http://www.gnu.org/software/parted/manual/html_chapter/parted_2.html#SEC25
[2] http://www.sysresccd.org/

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc6
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages parted depends on:
ii  libc6                         2.3.5-3    GNU C Library: Shared libraries an
ii  libncurses5                   5.4-9      Shared libraries for terminal hand
ii  libparted1.6-12               1.6.23-3   The GNU Parted disk partitioning s
pi  libreadline4                  4.3-15     GNU readline and history libraries

parted recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDAkF6VAp7Xm10JmkRAonoAJ0QBejntutmew2rZEBi3VMmqQ3t5wCfdBtN
NRegcmsVpacM5kHdAVZR4j0=
=fvYs
-----END PGP SIGNATURE-----




More information about the Parted-maintainers mailing list