| Summary: | RHEL6.1 i386 ami does not have swap partitions | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | wes hayutin <whayutin> |
| Component: | releng | Assignee: | Jay Greguske <jgreguske> |
| Status: | CLOSED DUPLICATE | QA Contact: | wes hayutin <whayutin> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | dmach, drjones, pbonzini |
| Target Milestone: | rc | Keywords: | EC2 |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-13 15:36:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 756082 | ||
|
Description
wes hayutin
2011-08-31 13:41:57 UTC
It'd be helpful to see if this a problem on RHEL 5. RHEL 6 has a bug where xen devices start from 'e' rather than 'a'. https://bugzilla.redhat.com/show_bug.cgi?id=729586 So /dev/xvda3 is actually being exposed as /dev/xvde3. In my trial if you change that swap fstab entry to match this behavior, swapon -a works. RHEL 5 doesn't have this bug, so it should just work. Additionally when filing an ec2-related bug, please be sure to use the EC2 keyword. Why do AMI fstab files use devices instead of labels or uuids? I think a bug to the instance generator should be written to correct that. These types of assumptions about device naming are dangerous and unnecessary. In addition, /dev/xvda is _not_ being exposed as /dev/xvde, /dev/sda is. The problem really is that we are using /dev/sda. Is that mandated by Amazon's infrastructure or can we control this? /dev/sda is what Amazon's docs recommend. Other Linux distributions as far as I know use this convention. http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/InstanceStorage.html Closing as a dupe since this is really a symptom of bug 729586. *** This bug has been marked as a duplicate of bug 729586 *** |