[Bug 861535] [NEW] release-upgrade needs to address fstab entries for devices that will change names (sda -> xvda)

Scott Moser smoser at canonical.com
Wed Sep 28 16:01:13 UTC 2011


Public bug reported:

On Ec2, when the user upgrades from 10.10 to 11.04, or later, from 10.04
to 12.04, the kernel that is installed will change names from /dev/sdX
to /dev/xvdX.

If the user has entries in /etc/fstab referring to /dev/sdX, they'll not get those devices mounted on reboot into the new kernel.
Worse, if they do not have 'nobootwait' option for those entries, the wont reboot all the way.  On EC2, thats bad as fixing it is possibly impossible.

It seems that it might be best to
 a.) detect this situation
 b.) update entries in fstab that use device names rather than label= or UUID= to use LABEL= or UUID=.

related bug:
 * bug 684875: Patch to Natty 2.6.37-virtual breaks non-EC2 users
   Comments there by cjwatson about a way to detect this.
This would have to be thought out though, as there might be cases where the user would explicitly want the /dev/XXX entries.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ec2-images

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/861535

Title:
  release-upgrade needs to address fstab entries for devices that will
  change names (sda -> xvda)

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  On Ec2, when the user upgrades from 10.10 to 11.04, or later, from
  10.04 to 12.04, the kernel that is installed will change names from
  /dev/sdX to /dev/xvdX.

  If the user has entries in /etc/fstab referring to /dev/sdX, they'll not get those devices mounted on reboot into the new kernel.
  Worse, if they do not have 'nobootwait' option for those entries, the wont reboot all the way.  On EC2, thats bad as fixing it is possibly impossible.

  It seems that it might be best to
   a.) detect this situation
   b.) update entries in fstab that use device names rather than label= or UUID= to use LABEL= or UUID=.

  related bug:
   * bug 684875: Patch to Natty 2.6.37-virtual breaks non-EC2 users
     Comments there by cjwatson about a way to detect this.
  This would have to be thought out though, as there might be cases where the user would explicitly want the /dev/XXX entries.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/861535/+subscriptions




More information about the foundations-bugs mailing list