[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] fix segfault for expanded gpt
From: |
Matthew Kent |
Subject: |
Re: [patch] fix segfault for expanded gpt |
Date: |
Fri, 30 Sep 2005 10:40:24 -0600 |
There a bugzilla or other facility I should be submitting this too?
- Matt
On Wed, 2005-28-09 at 12:05 -0600, Matthew Kent wrote:
> Hey guys, quick fix for GNU Parted 1.6.24
>
> Upon expanding the underlying iscsi volume:
>
> Using /dev/sdc
> (parted) p
> Error: The backup GPT table is not at the end of the disk, as it should
> be. This might mean that another operating system believes the disk is
> smaller.
> Fix, by moving the backup to the end (and removing the old backup)?
> Fix/Cancel? f
> Segmentation fault
>
> Seems the problem is in ui.c:830 where PED_EXCEPTION_FIX is never
> tested.
>
> Attached one liner cures it.
>
> On a related note, perhaps I'm approaching this the wrong way, but has
> anyone had any luck in expanding a reiserfs partition in a gpt disk
> label
>
> I expand the underlying physical device and get this:
>
> Using /dev/sdc
> (parted) p
> Error: The backup GPT table is not at the end of the disk, as it should
> be. This might mean that another operating system believes the disk is
> smaller.
> Fix, by moving the backup to the end (and removing the old backup)?
> Fix/Cancel? f
> Disk geometry for /dev/sdc: 0.000-1638405.000 megabytes
> Disk label type: gpt
> Minor Start End Filesystem Name Flags
> 1 0.017 1126409.983 reiserfs
> (parted) resize 1
> Start? [0.0166]?
> End? [1126410.0000]? 1638405
> Warning: You requested to resize the partition to 0.016-1638405.000Mb.
> The closest Parted can manage is 0.017-1126409.983Mb.
> OK/Cancel?
>
> Since I'm new to gpt am I going about this the wrong way?
>
> Thanks
> _______________________________________________
> Bug-parted mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-parted
--
Matthew Kent \ SA \ bravenet.com