← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1326140] [NEW] Cannot repartition root

 

Public bug reported:

I need to repartition the root drive. After repartitioning everything
looks good. e2fsck -f /etc/sda1 works and I can make a file system and
mount the new partition.

However, when I reboot  it fails with: bad geometry: block count exceeds
size of device. However, the exact same code works if I first apt-get
purge cloud-init.

I am testing in hyper-v with a Ubuntu 14.04 image downloaded from Azure.

The same code also works in vmware and a modified version works in
centos.

I don't understand how cloud-init could be affecting things since it
fails well before cloud-init starts.

** Affects: cloud-init
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1326140

Title:
  Cannot repartition root

Status in Init scripts for use on cloud images:
  New

Bug description:
  I need to repartition the root drive. After repartitioning everything
  looks good. e2fsck -f /etc/sda1 works and I can make a file system and
  mount the new partition.

  However, when I reboot  it fails with: bad geometry: block count
  exceeds size of device. However, the exact same code works if I first
  apt-get purge cloud-init.

  I am testing in hyper-v with a Ubuntu 14.04 image downloaded from
  Azure.

  The same code also works in vmware and a modified version works in
  centos.

  I don't understand how cloud-init could be affecting things since it
  fails well before cloud-init starts.

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


Follow ups

References