[Bug 839118] Re: swap not mounted with mountall unless listed last in /etc/fstab
Brian Vaughan
bgvaughan at gmail.com
Sat Oct 8 14:55:10 UTC 2011
Attached is the "good" version of /etc/fstab that I am currently using,
and here also are the output of some commands to indicate the status of
swap on my system.
I will attach the "bad" version and the results of the same commands
when I can safely reboot my machine. (It tends to get stuck during the
shutdown process, requiring CTRL-ALT-DEL or manually cycling the power.
This is an unrelated problem as far as I know.)
brian at brian-desktop:~$ swapon -s
Filename Type Size Used Priority
/dev/sdb1 partition 10485756 0 -1
brian at brian-desktop:~$ free
total used free shared buffers cached
Mem: 8177364 1474892 6702472 0 64740 768664
-/+ buffers/cache: 641488 7535876
Swap: 10485756 0 10485756
brian at brian-desktop:~$ dmesg | grep sdb1
[ 2.320759] sdb: sdb1 sdb2 < sdb5 > sdb3 sdb4
[ 21.479866] Adding 10485756k swap on /dev/sdb1. Priority:-1 extents:1 across:10485756k
** Attachment added: ""Good" fstab that enables swap"
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/839118/+attachment/2528571/+files/fstab.goodswap
--
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