| Summary: | [RFE] RHEL5 EC2 images using the raw device instead of a partition for / | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Pierre Carrier <prc> | |
| Component: | releng | Assignee: | Jay Greguske <jgreguske> | |
| Status: | CLOSED WONTFIX | QA Contact: | wes hayutin <whayutin> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.7 | CC: | jfenal, jgreguske, jwest, kbidarka, prc, sghai | |
| Target Milestone: | --- | Keywords: | EC2 | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 700594 (view as bug list) | Environment: | ||
| Last Closed: | 2011-10-11 21:38:16 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: | 700594 | |||
added Jay to the bug Flipping back from assigned to share the pain with others. |
Description of problem: - Freshly deployed RHEL5.5 instances have one 6GB partition only used for / (instead of 10GB previously). - It is impossible to resize it without rebooting (/ being mounted, partitions cannot be reloaded by the kernel, and one cannot grow a filesystem beyond the partition limit anymore) Version-Release number of selected component (if applicable): RHEL5.5 EC2 images How reproducible: 100% Steps to Reproduce: 1. Install the RHEL5.5 AMIs on a 10GB block device 2. Try to repartition using fdisk/parted/sfdisk 3. Optionally try to reload the partition table using partprobe 4. Try to resize2fs Actual results: Operations 2-3 fail, operation 4 is therefore impossible. Expected results: No need for the steps 2-3 Additional info: # strace kpartx -a /dev/sda stat("/dev/sda", {st_mode=S_IFBLK|0640, st_rdev=makedev(8, 0), ...}) = 0 ioctl(3, DM_DEV_STATUS, 0x42bae60) = -1 ENXIO (No such device or address) # strace partprobe /dev/sda ioctl(3, CDROMAUDIOBUFSIZ or SCSI_IOCTL_GET_IDLUN, 0x7fff3ecac5b0) = -1 EINVAL (Invalid argument) write(2, "Error: ", 7Error: ) = 7 write(2, "Error initialising SCSI device /"..., 59Error initialising SCSI device /dev/sda - Invalid argument ) = 59