David Armstrong <[EMAIL PROTECTED]> wrote:
> Not sure if this is a bug or not. I've just expanding a hardware raid
> array to 3000GB and I'm trying to expand the partition table from 2250
> to 3000GB. I'm getting an error when trying to expand it.
>
> GNU Parted 1.7.1
> Using /dev/sda
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) p
>
> Disk /dev/sda: 3000GB
> Sector size (logical/physical): 512B/512B
> Partition Table: gpt
>
> Number  Start   End     Size    File system  Name     Flags
> 1      17.4kB  2250GB  2250GB  ext2         Storage
>
> (parted) resize 1 0 3000
> Error: Unable to satisfy all constraints on the partition.
> (parted)

You're trying to resize your existing 2.25TB partition into
a smaller, 3.0GB one.  Adding three more zeros should help:

  resize 1 0 3000000

Also, you might want to try a newer version of parted.


_______________________________________________
bug-parted mailing list
bug-parted@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to