[Bug 839118] Re: swap not mounted with mountall unless listed last in /etc/fstab
Brian Vaughan
bgvaughan at gmail.com
Sun Oct 9 18:05:21 UTC 2011
Attached is a "bad" version of /etc/fstab, in which swap is not enabled.
Note that the only change is that the line for mounting the swap
partition (and the associated comments) were moved away from the end of
fstab. Here also are the results of the same commands above, after
booting with the "bad" version of fstab.
brian at brian-desktop:~$ swapon -s
Filename Type Size Used Priority
brian at brian-desktop:~$ free
total used free shared buffers cached
Mem: 8177364 2124676 6052688 0 251704 684220
-/+ buffers/cache: 1188752 6988612
Swap: 0 0 0
brian at brian-desktop:~$ dmesg | grep sdb1
[ 2.325388] sdb: sdb1 sdb2 < sdb5 > sdb3 sdb4
brian at brian-desktop:~$ dmesg | grep swap
** Attachment added: "fstab.badswap"
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/839118/+attachment/2533004/+files/fstab.badswap
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mountall in Ubuntu.
https://bugs.launchpad.net/bugs/839118
Title:
swap not mounted with mountall unless listed last in /etc/fstab
Status in “mountall” package in Ubuntu:
Incomplete
Bug description:
A swap partition is not mounted on boot, and is not mounted with
mountall, despite being listed in /etc/fstab, unless the line
describing the swap partition is the last line in /etc/fstab. This can
be seen by executing 'mountall -v' with the line describing the swap
partition at any other point in /etc/fstab: the last line of output
will appear similar to 'local 4/4 remote 0/0 virtual 12/12 swap 0/0'.
There is a description of the bug, and the workaround:
http://askubuntu.com/questions/38533/system-not-mounting-swap-partition
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/839118/+subscriptions
More information about the foundations-bugs
mailing list