[Top][All Lists]

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

Re: parted resize bug ?

From: Jim Meyering
Subject: Re: parted resize bug ?
Date: Wed, 20 Aug 2008 12:18:34 +0200

Aleksey Luzin <address@hidden> wrote:
> I've a strange behaviour of parted:
> parted /dev/sdc
> GNU Parted 1.8.9
> Using /dev/sdc
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) print free
> Model: Promise  6 Disk RAID5 (scsi)
> Disk /dev/sdc: 3750GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
> Number  Start   End     Size    Type     File system  Flags
>  1      32,3kB  2199GB  2199GB  primary  ext2
>         2199GB  3750GB  1551GB           Free Space
> (parted) resize
> Partition number? 1
> Start?  [32,3kB]?
> End?  [2199GB]? 3749GB
> Warning: A resize operation on this file system will use EXPERIMENTAL code
> that MAY CORRUPT it (although no one has reported any such damage yet).

Thanks for the report!

This may well be a bug that's being triggered by
the fact that you are resizing to a size that is
larger than 2^31 or 2^32 512-byte sectors.

It may also be that something about your set-up has triggered
a bug in Parted's (decaying) ext2 file-system resizing code.

I suggest that you use parted to set the desired partition
sizes and then use mkfs.ext2 (from the e2fsprogs package)
to create the file systems.

reply via email to

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