[Bug 1212492] Re: cc_growpart broken if parted resizefs found

Scott Moser smoser at ubuntu.com
Thu Aug 15 13:38:47 UTC 2013


Phillip,
  I guess that basically means I can't use this. :-(
  It also seems generally broken as the primary reason for 'resizepart' is to allow modifying a busy partition table and telling the kernel about it.

  Any ideas on how to proceed?  Should I file a bug/feature request upstream by sending mail to bug-parted mailing list ?
  It looks like this has been raised before at http://lists.gnu.org/archive/html/bug-parted/2008-02/msg00019.html .


** Also affects: parted (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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/1212492

Title:
  cc_growpart broken if parted resizefs found

Status in Init scripts for use on cloud images:
  Confirmed
Status in “cloud-init” package in Ubuntu:
  Confirmed
Status in “parted” package in Ubuntu:
  New

Bug description:
  As reported in bug 1212444, the partition growing is broken if growpart is found to be usable.
  There are 2 things that are broken,
   a.) we invoke parted wrong (passing device after 'resizepart' rather than before)
   b.) parted seems somewhat broken, and I dont know how to force it to do what we want.  See:

  $ sudo parted /dev/vda resizepart  --script 1 </dev/null; echo $?
  Warning: Partition /dev/vda1 is being used. Are you sure you want to continue?
  1

  
  Um... yes, parted, i want you to do what I told you to do.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1212492/+subscriptions




More information about the foundations-bugs mailing list