You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now df shows there's still 7GB Avail, which seems to be the space Windows reserved. Fill the rest of the disk with dd if=/dev/zero of=/mnt/tmp/Users/user/foo bs=1G count=100, until it fails with No space left on device.
Unmount and disconnect the vdisk. Boot VM. The first boot will stuck at the spinning circle until force shutdown. Your Windows is now broken. Boot again and the Automatic Repair screen will show up.
This cannot be fixed even after the disk is freed up.
I know this seems more like a Windows bug. Nothing will happen if you free up the disk after step 4 before booting, but I think it's meaningful if we can add mount options to reserve some space like
Windows does, or warn that the system might break if you boot it right now along with the No space left on device message, or at least mention this in the docs.
The text was updated successfully, but these errors were encountered:
Writing to a Windows system partition using ntfs-3g until
No space left on device
breaks Windows upon the next boot.This happened on a physical machine running Win11, and was successfully reproduced on a Win11 QEMU VM with the following steps:
fsutil volume diskfree C:
, then create a file withfsutil file createnew C:\fillup <Total free bytes>
.fsutil volume diskfree C:
already shows a negative free bytes, and also shows 7GB of space are reserved.qemu-nbd
andntfs-3g
. My mount options are:df
shows there's still 7GB Avail, which seems to be the space Windows reserved. Fill the rest of the disk withdd if=/dev/zero of=/mnt/tmp/Users/user/foo bs=1G count=100
, until it fails withNo space left on device
.This cannot be fixed even after the disk is freed up.
I know this seems more like a Windows bug. Nothing will happen if you free up the disk after step 4 before booting, but I think it's meaningful if we can add mount options to reserve some space like
Windows does, or warn that the system might break if you boot it right now along with the
No space left on device
message, or at least mention this in the docs.The text was updated successfully, but these errors were encountered: