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!
>rpm -qa|grep libguestfs-winsupport
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