I have created a temlate following the instructions on the website.
but when I go to create a machine with windows using that template, I get the error
[Command] ntfsresize -P --force /dev/mapper/solusvm-vsv1016--deSPs8vb4hqv17cs--sGAswxKklRERm3b7p1 2>&1
[Retval] 1
[Output]: HIDE
Array
(
[0] => ntfsresize v2022.10.3 (libntfs-3g)
[1] => Corrupt attribute list entry in MFT record 66126
[2] => Corrupt attribute list entry in MFT record 69441
[3] => Corrupt attribute list entry in MFT record 69517
[4] => Device name : /dev/mapper/solusvm-vsv1016--deSPs8vb4hqv17cs--sGAswxKklRERm3b7p1
[5] => NTFS volume version: 3.1
[6] => Cluster size : 4096 bytes
[7] => Current volume size: 15737025024 bytes (15738 MB)
[8] => Current device size: 53319041024 bytes (53320 MB)
[9] => New volume size : 53319037440 bytes (53320 MB)
[10] => Checking filesystem consistency ...
[11] => Accounting clusters ...
[12] => Cluster accounting failed at 1419413 (0x15a895): extra cluster in $Bitmap
[13] => Cluster accounting failed at 1419414 (0x15a896): extra cluster in $Bitmap
[14] => Cluster accounting failed at 1419415 (0x15a897): extra cluster in $Bitmap
[15] => Cluster accounting failed at 1419417 (0x15a899): extra cluster in $Bitmap
[16] => Cluster accounting failed at 1690454 (0x19cb56): extra cluster in $Bitmap
[17] => Cluster accounting failed at 1690455 (0x19cb57): extra cluster in $Bitmap
[18] => Cluster accounting failed at 1690456 (0x19cb58): extra cluster in $Bitmap
[19] => Cluster accounting failed at 1690458 (0x19cb5a): extra cluster in $Bitmap
[20] => Cluster accounting failed at 1695715 (0x19dfe3): extra cluster in $Bitmap
[21] => Cluster accounting failed at 1695716 (0x19dfe4): extra cluster in $Bitmap
[22] => Filesystem check failed! Totally 11 cluster accounting mismatches.
[23] => ERROR: NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
[24] => The usage of the /f parameter is very IMPORTANT! No modification was
[25] => and will be made to NTFS by this software until it gets repaired.
)
Hi,
Looks like your Windows VPS having inconsistent file system that's why it is unable to resize properly.
You need to go into your windows VPS from which you created OS template, then run following command in CMD.
chkdsk /f
This happen when you make a force shutdown of the windows (before creating the template). make sure you use the correct steps to shutdown windows then error should disappear.