Bug 491743
Summary: | Custom partitioning: swapon failed for /dev/sda2 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Will Woods <wwoods> | ||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | anaconda-maint-list, pjones, rmaximo, vanmeeuwen+fedora | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | StorageRewrite | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-03-23 20:31:14 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 446452 | ||||||
Attachments: |
|
*** This bug has been marked as a duplicate of bug 491592 *** *** This bug has been marked as a duplicate of bug 491529 *** |
Created attachment 336368 [details] anacdump.txt 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 11.5.0.35 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 swap.swapon(self.device, priority=self.priority) File "/usr/lib/anaconda/storage/__init__.py", line 1356, in turnOnSwap device.format.setup() File "/usr/lib/anaconda/packages.py", line 193, in turnOnFilesystems anaconda.id.storage.fsset.turnOnSwap(anaconda.intf) File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep rc = stepFunc(self.anaconda) File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext self.moveStep() File "/usr/lib/anaconda/gui.py", line 1317, in nextClicked self.anaconda.dispatch.gotoNext() SwapError: swapon failed for '/dev/sda2'