Bug 1052463
| Summary: | Need to increase root filesystem size on RHEL guest images | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jan Kurik <jkurik> |
| Component: | guest-images | Assignee: | Joey Boggs <jboggs> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.5 | CC: | dgregor, fdeutsch, herrold, jboggs, jgreguske, jsvarova, leiwang, mjenner, pm-eus, rbryant, sct, tlavigne, yuliu |
| Target Milestone: | rc | Keywords: | ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhel-guest-image-6.5-20140116.1 | Doc Type: | Bug Fix |
| Doc Text: |
With this update, the root file system of Red Hat Enterprise Linux guest images (qcow2) has been increased in size. This increase does not affect the qcow2 compressed image size, and allows more versatile use of the images.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-22 11:25:42 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: | 1045242 | ||
| Bug Blocks: | |||
|
Description
Jan Kurik
2014-01-13 21:02:04 UTC
rhel-guest-image-6.5-20140113.1.x86_64.qcow2 [root@dhcp-8-247 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 15G 869M 14G 7% / tmpfs 246M 0 246M 0% /dev/shm Disk /dev/sda: 53.7 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0003df0c Device Boot Start End Blocks Id System /dev/sda1 * 1 1959 15728640 83 Linux Addition to above: Pre version: rhel-guest-image-6.5-20131220.3.x86_64.qcow2 Current version: rhel-guest-image-6.5-20140113.1.x86_64.qcow2 Problem: 50GB will not work on anything but Large+ and need more than 6G free space for reasonable usage Pre version: [root@localhost ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 48G 885M 44G 2% / tmpfs 246M 0 246M 0% /dev/shm Cur version: [root@dhcp-8-247 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 15G 869M 14G 7% / tmpfs 246M 0 246M 0% /dev/shm The information above verified the rootfs size dropped from 50G to 15G. Free space is larger than 6G. Ver: rhel-guest-image-6.5-20140116.1.x86_64.qcow2 #qemu-img info rhel-guest-image-6.5-20140116.1.x86_64.qcow2 ]# qemu-img info rhel-guest-image-6.5-20140116.1.x86_64.qcow2 image: rhel-guest-image-6.5-20140116.1.x86_64.qcow2 file format: qcow2 virtual size: 16G (17179869184 bytes) disk size: 317M cluster_size: 65536 # df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 15G 869M 14G 7% / tmpfs 246M 0 246M 0% /dev/shm # fdisk -l Disk /dev/sda: 17.2 GB, 17179869184 bytes 255 heads, 63 sectors/track, 2088 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00036aad Device Boot Start End Blocks Id System /dev/sda1 * 1 1959 15728640 83 Linux The disk size dropped from 50G to 16G. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2014-0086.html |