On Wed, 2014-12-03 at 13:39 -0500, Robert Moskowitz wrote:
> Noticed a 'Fail' message flash across the screen during a boot, and so
> went looking in journalctl to find what it might have been. Supprise at
> what I did find. After some filtering I have pulled out:
>
> Dec 03 12:58:33
lx120e.htt-consult.com swapoff[1951]: swapoff:
> /dev/disk/by-uuid/732369cd-9f81-451e-800e-760bd8939df7: swapoff failed:
> Invalid argument
> Dec 03 12:58:33
lx120e.htt-consult.com systemd[1]:
> dev-disk-by\x2duuid-732369cd\x2d9f81\x2d451e\x2d800e\x2d760bd8939df7.swap swap
> process exited, code=exited status=255
> Dec 03 12:58:33
lx120e.htt-consult.com systemd[1]: Unit
> dev-disk-by\x2duuid-732369cd\x2d9f81\x2d451e\x2d800e\x2d760bd8939df7.swap entered
> failed state.
> Dec 03 12:59:10
lx120e.htt-consult.com swapon[419]: swapon: /dev/sda4:
> swapon failed: Device or resource busy
> Dec 03 12:59:10
lx120e.htt-consult.com kernel: Adding 8388604k swap on
> /dev/sda4. Priority:-1 extents:1 across:8388604k SSFS
> Dec 03 12:59:10
lx120e.htt-consult.com systemd[1]: dev-sda4.swap swap
> process exited, code=exited status=255
> Dec 03 12:59:10
lx120e.htt-consult.com systemd[1]: Failed to activate
> swap Swap Partition.
> Dec 03 12:59:10
lx120e.htt-consult.com systemd[1]: Unit dev-sda4.swap
> entered failed state.
>
> What are these messages reporting? Free shows I have swap space. Of
> course with 4Gb memory, I have not done enough on the system to get it
> to try and use swap space.
Is the disk GPT-formatted? I think there's some kind of known bug where
some code that auto-detects swap partitions on GPT disks can cause swap
activation/de-activation operations to run twice, which causes error
messages but no real functional problems.
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane orion(a)cora.nwra.com
Boulder, CO 80301