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

K.G. k_guillaume at libertysurf.fr
Tue Sep 20 20:54:05 BST 2005


On Tue, 16 Aug 2005 21:41:46 +0200 Luca Capello <luca at pca.it> wrote:
> 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.             

Hi Luca,

I'm trying to reproduce the "Unable to satisfy all constraints on the
partition" and "Can't have a partition outside the disk!" bugs, with
no success so far. If your partition scheme is not too far as how it
was, can you please send it using the sector unit of parted
( "parted /dev/hda unit s print" ) or with "fdisk -l -u /dev/hda" ?
CHS would be appreciated too : "parted /dev/hda unit chs print".

Thanks,
Guillaume Knispel




More information about the Parted-maintainers mailing list