[Bug 90526] Re: Routine fsck deactivates swap, changing UUID

Phillip Susi psusi at ubuntu.com
Wed Oct 9 16:59:24 UTC 2013


This was fixed back in karmic.


** Changed in: util-linux (Ubuntu)
       Status: Triaged => Fix Released

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

Title:
  Routine fsck deactivates swap, changing UUID

Status in “util-linux” package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu 6.10, all updates installed

  On starting up my computer, Ubuntu began a routine fsck (30 startups
  since the previous one). Once it had done that, it failed to mount the
  swap partition, and neither "swapon -a" nor restarting could bring it
  back.

  Fabian Rodriguez helped me diagnose the problem. /etc/fstab said:
  proc            /proc           proc    defaults        0       0
  # /dev/hda1 -- converted during upgrade to edgy
  UUID=08cd8430-653a-450c-bc50-c5efb9f4030c / ext3 defaults,errors=remount-ro 0 1
  # /dev/hda5 -- converted during upgrade to edgy
  UUID=cab9c968-fa2b-4e0a-a307-6603cb713f06 none swap sw 0 0
  /dev/hdc        /media/cdrom0   udf,iso9660 user,noauto     0       0

  But "ls -l /dev/disk/by-uuid" said:
  total 0
  lrwxrwxrwx 1 root root 10 2007-03-08 09:55 08cd8430-653a-450c-bc50-c5efb9f4030c -> ../../hda1
  lrwxrwxrwx 1 root root 10 2007-03-08 09:55 2b2b6707-dbf9-4388-948c-5a05f4d3bbb6 -> ../../hda5

  After editing /etc/fstab so that the hda5 partition matched that given
  by /dev/disk/by-uuid, "swapon -a" worked.

  What was expected: fsck either should not change the UUIDs of
  partitions, or should change them in fstab too.

  This is not a duplicate of bug 66637, because I haven't run "mkswap"
  in the past year or so.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/util-linux/+bug/90526/+subscriptions



More information about the foundations-bugs mailing list