** Summary changed: - Routine fdisk deactivates swap, changing UUID + Routine fsck deactivates swap, changing UUID
** Description changed: Ubuntu 6.10, all updates installed - On starting up my computer, Ubuntu began a routine fdisk (30 startups + 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: fdisk 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. ** Description changed: 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: fdisk either should not change the UUIDs of + 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. -- Routine fsck deactivates swap, changing UUID https://launchpad.net/bugs/90526 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
