RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1052463 - Need to increase root filesystem size on RHEL guest images
Summary: Need to increase root filesystem size on RHEL guest images
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: guest-images
Version: 6.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1045242
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-13 21:02 UTC by Jan Kurik
Modified: 2019-09-10 14:07 UTC (History)
13 users (show)

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.
Clone Of:
Environment:
Last Closed: 2014-01-22 11:25:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0086 0 normal SHIPPED_LIVE rhel-guest-image enhancement update 2014-01-22 16:25:21 UTC

Description Jan Kurik 2014-01-13 21:02:04 UTC
This bug has been copied from bug #1045242 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 6 yuliu 2014-01-14 04:37:45 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

Comment 7 yuliu 2014-01-14 07:30:45 UTC
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.

Comment 8 yuliu 2014-01-17 07:56:58 UTC
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

Comment 9 yuliu 2014-01-17 07:58:44 UTC
The disk size dropped from 50G to 16G.

Comment 11 errata-xmlrpc 2014-01-22 11:25:42 UTC
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


Note You need to log in before you can comment on or make changes to this bug.