Bug 1173462
Summary: | virt-resize on RHEL 5.7 fails to resize the raw format disk image | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | kaihuan.pkh |
Component: | libguestfs | Assignee: | Richard W.M. Jones <rjones> |
Status: | CLOSED EOL | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | kaihuan.pkh, mbooth, ptoscano |
Target Milestone: | --- | Flags: | kaihuan.pkh:
needinfo-
|
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-25 02:41:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
kaihuan.pkh
2014-12-12 08:21:11 UTC
boot from the original raw image (centos6u5_64_20G_20140926.raw) and check disk: # 1. [root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 30G 0 disk `-sda1 8:1 0 20G 0 part / # 2. [root@localhost ~]# blkid /dev/sda1: UUID="94e4e384-0ace-437f-bc96-057dd64f42ee" TYPE="ext4" # 3. [root@localhost ~]# fdisk /dev/sda -l Disk /dev/sda: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 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: 0x00078f9c Device Boot Start End Blocks Id System /dev/sda1 * 1 2611 20970496 83 Linux # 4. [root@localhost ~]# parted /dev/sda p Model: ATA QEMU HARDDISK (scsi) Disk /dev/sda: 32.2GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 1049kB 21.5GB 21.5GB primary ext4 boot Hi, and sorry for the late reply. The versions of both RHEL and libguestfs you are using are quite old, and they are not really supported anymore as combination. Is there any chance you can try again with a recent version of libguestfs? |