Description of problem: Windows 8 guest disks cannot be mounted for write. ntfs-3g gives the following error: mount -o /dev/sda2 /sysroot/ The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option. For example in guestfish: $ guestfish --rw -a /dev/vg_pin/Win8x32 -i libguestfs: error: mount: /dev/sda2 on / (options: ''): The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option. (The same command works if you change --rw to --ro) This page has a reasonable summary of the issue: http://www.eightforums.com/tutorials/6320-fast-startup-turn-off-windows-8-a.html We should document this problem, since there's probably no easy way to work around it. Version-Release number of selected component (if applicable): libguestfs 1.19.64
Fixed upstream in https://github.com/libguestfs/libguestfs/commit/b57ab59b8e373fa26bf35378c8fb60fb6ee1a028