Red Hat Bugzilla – Bug 491743
Custom partitioning: swapon failed for /dev/sda2
Last modified: 2009-03-23 16:31:26 EDT
Created attachment 336368 [details]
I attempted a simple custom partition layout - 3 bare partitions, no LVM: ext3 /boot, 1024MB swap, everything else / - in a KVM guest.
I got a traceback indicating that swapon seems to have failed - the message on tty5 says:
"swapon: can't stat '/dev/sda2': No such file or directory"
but /dev/sda2 does exist. Perhaps there's a race between anaconda and udev here?
Full dump is attached. here's the traceback:
anaconda 126.96.36.199 exception report
Traceback (most recent call first):
File "/usr/lib/anaconda/storage/devicelibs/swap.py", line 85, in swapon
raise SwapError("swapon failed for '%s'" % device)
File "/usr/lib/anaconda/storage/formats/swap.py", line 118, in setup
File "/usr/lib/anaconda/storage/__init__.py", line 1356, in turnOnSwap
File "/usr/lib/anaconda/packages.py", line 193, in turnOnFilesystems
File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
rc = stepFunc(self.anaconda)
File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked
SwapError: swapon failed for '/dev/sda2'
*** This bug has been marked as a duplicate of bug 491592 ***
*** This bug has been marked as a duplicate of bug 491529 ***