[Bug 1490608] Re: parted allows to fix broken GPT only interactively
Phillip Susi
psusi at ubuntu.com
Thu Sep 17 13:42:36 UTC 2015
I've been aware of this for a few years now since I first added the
feature and sebner wanted to use it in the cloud-init-tools to do just
that. The problem is that the exception handler only gets a text
description, so you would need to do a loose string comparison to
identify the particular exception you want to auto accept. You then
need a way to specify this with a command line switch. I'm not liking
the idea of parted --force-not_all_of_the_space_available....
Also the exact text is subject to change between releases, and changes
depending on your locale, so it gets really tricky.
** Changed in: parted (Ubuntu)
Status: Confirmed => Triaged
** Changed in: parted (Ubuntu)
Importance: Undecided => Low
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to parted in Ubuntu.
https://bugs.launchpad.net/bugs/1490608
Title:
parted allows to fix broken GPT only interactively
Status in parted package in Ubuntu:
Triaged
Bug description:
when physically resizing a disk (i.e. because it is a kvm image where
you dd zeros to the end or because you dd'ed an image from a smaller
disk to a bigger one) the GPT backup at the end of the device sits in
the wrong sectors ...
while parted offers you a yes/no question in interactive mode to fix
this, there is no way to make use of this feature when using "parted
-s" (scripted mode). parted should get an option to fix the GPT even
when using it non-interactively i.e. from a "grow rootfs at first boot
to full disk size" script.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1490608/+subscriptions
More information about the foundations-bugs
mailing list