unknown/unavailable method for expanding the ntfs filesystem
rpm -qa|grep libguestfs-winsupport
Hello,everyone I ran virt-resize(v1.30.4) on my CentOS 7.1 to resize win2008r2 and got the warning message (virt-resize: warning: unknown/unavailable method for expanding the ntfs filesystem on /dev/sda2): >/usr/local/libguestfs-1.30.4/run virt-resize --expand /dev/sda2 /images/win2008_src.raw /dev/vg0/win2008_resize_dst [ 0.0] Examining /images/win2008_src.raw virt-resize: warning: unknown/unavailable method for expanding the ntfs filesystem on /dev/sda2 ********** Summary of changes: /dev/sda1: This partition will be left alone. /dev/sda2: This partition will be resized from 19.9G to 49.9G. ********** [ 6.0] Setting up initial partition table on /dev/vg0/win2008_resize_dst [ 6.2] Copying /dev/sda1 [ 6.5] Copying /dev/sda2 After virt-resize completed its work, obviously the ntfs filesystem on /dev/sda2 has not been resized. I have already installed libguestfs-winsupport-7.2 and I don't know what cause the problem. Can someone help me in this issue? Thanks! libguestfs-winsupport-7.2-1.el7.x86_64
./run virt-resize --machine-readable virt-resize ntfsresize-force 32bitok 128-sector-alignment alignment align-first infile-uri btrfs xfs
./run guestfish -a /dev/null run : available error: incorrect number of arguments usage: available groups type 'help available' for more help on available
./run guestfish -a /dev/null run : filesystem_available ntfs true
On Sun, Dec 13, 2015 at 07:53:09PM +0800, Jeffrey wrote:
Hello,everyone
I ran virt-resize(v1.30.4) on my CentOS 7.1 to resize win2008r2 and got the warning message (virt-resize: warning: unknown/unavailable method for expanding the ntfs filesystem on /dev/sda2):
rpm -qa|grep libguestfs-winsupport
>/usr/local/libguestfs-1.30.4/run virt-resize --expand /dev/sda2 /images/win2008_src.raw /dev/vg0/win2008_resize_dst [ 0.0] Examining /images/win2008_src.raw virt-resize: warning: unknown/unavailable method for expanding the ntfs filesystem on /dev/sda2 [...] After virt-resize completed its work, obviously the ntfs filesystem on /dev/sda2 has not been resized. I have already installed libguestfs-winsupport-7.2 and I don't know what cause the problem. [...] libguestfs-winsupport-7.2-1.el7.x86_64 [...]
I think this is the wrong version of libguestfs-winsupport. You probably want -7.1 from here: https://people.redhat.com/~rjones/libguestfs-winsupport/7/7.1/ In CentOS 7.2, all the required packages will be in the base distro.
./run guestfish -a /dev/null run : filesystem_available ntfs true
You need to use the 'supported' command: $ guestfish -a /dev/null run : supported acl yes augeas yes blkdiscard yes blkdiscardzeroes yes btrfs yes extlinux yes fstrim yes gdisk yes grub no hivex yes inotify yes journal yes ldm yes linuxcaps yes linuxfsuuid yes linuxmodules yes linuxxattrs yes luks yes lvm2 yes mdadm yes mknod yes ntfs3g yes ntfsprogs yes realpath yes rsync yes scrub yes selinux yes syslinux yes wipefs yes xfs yes xz yes zerofree yes Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
participants (2)
-
Jeffrey -
Richard W.M. Jones