Forum Discussion
Mikael
Oct 16, 2024Brass Contributor
wof compression not working on Server 2019, compact /exe:lzx
Hi!
Got this oddity where it works on some 2019 but not others.
It's volumes that support compression.
compact /c .\textfile.txt
Compressing files in E:\test\
textfile.txt 80510 : 20480 = 3,9 to 1 [OK]
Works.
But this doesn't
compact /c /exe:lzx .\textfile.txt
Compressing files in E:\test\
textfile.txt [ERR]
textfile.txt: The file system does not support compression.
Found another tool that gives a little bit more / other info.
https://github.com/wimbrts/WOF_Compress
WofCompress.exe /c:lzx /path:textfile.txt
Compression using LZX algorithm
Error WOF driver missing!
Some more info posted as issue at the authors github.
https://github.com/wimbrts/WOF_Compress/issues/1
Anyone got a clue why it works on some server and not others?
I've compared the output from
fsutil fsinfo ntfsinfo
fltmc filters
Not working server:
NTFS Volume Serial Number : 0x90e6dd9ee6dd84be
NTFS Version : 3.1
LFS Version : 2.0
Number Sectors : 0x00000003feeaefff
Total Clusters : 0x000000007fdd5dff
Free Clusters : 0x000000000b47a437
Total Reserved : 0x000000000000118d
Bytes Per Sector : 512
Bytes Per Physical Sector : 4096
Bytes Per Cluster : 4096
Bytes Per FileRecord Segment : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length : 0x000000000a9c0000
Mft Start Lcn : 0x00000000000c0000
Mft2 Start Lcn : 0x0000000000000002
Mft Zone Start : 0x00000000000ca9c0
Mft Zone End : 0x00000000000d71c0
Max Device Trim Extent Count : 0
Max Device Trim Byte Count : 0x0
Max Volume Trim Extent Count : 62
Max Volume Trim Byte Count : 0x40000000
Resource Manager Identifier : A36B7921-4B02-11E3-80B9-10604B92980C
fltmc filters
Filter Name Num Instances Altitude Frame
------------------------------ ------------- ------------ -----
WdFilter 5 328010 0
storqosflt 0 244000 0
wcifs 0 189900 0
CldFlt 0 180451 0
FileCrypt 0 141100 0
luafv 1 135000 0
npsvctrig 1 46000 0
Wof 1 40700 0
Working server:
fsutil fsinfo ntfsinfo
NTFS Volume Serial Number : 0x5674e49574e478df
NTFS Version : 3.1
LFS Version : 2.0
Number Sectors : 0x000000000fb557ff
Total Clusters : 0x0000000001f6aaff
Free Clusters : 0x0000000001356a89
Total Reserved : 0x00000000000013ff
Bytes Per Sector : 512
Bytes Per Physical Sector : 4096
Bytes Per Cluster : 4096
Bytes Per FileRecord Segment : 1024
Clusters Per FileRecord Segment : 0
Mft Valid Data Length : 0x000000003d880000
Mft Start Lcn : 0x00000000000c0000
Mft2 Start Lcn : 0x0000000000000002
Mft Zone Start : 0x000000000061e7c0
Mft Zone End : 0x0000000000622b20
Max Device Trim Extent Count : 4096
Max Device Trim Byte Count : 0xffffffff
Max Volume Trim Extent Count : 62
Max Volume Trim Byte Count : 0x40000000
Resource Manager Identifier : 0F1B4301-B8F1-11EB-BBB6-00155D289A03
fltmc filters
Filter Name Num Instances Altitude Frame
------------------------------ ------------- ------------ -----
MsSecFlt 6 385600 0
WdFilter 4 328010 0
storqosflt 0 244000 0
wcifs 0 189900 0
CldFlt 0 180451 0
FileCrypt 0 141100 0
npsvctrig 1 46000 0
Wof 1 40700 0
Hi!
I found the cause and solution.
The Wof filter isn't attached to anything else than the system volume on server.
To add it to a volume:
fltmc attach Wof X:
Check current status:
fltmc filters
fltmc instances
After this compact /exe works.
- MikaelBrass Contributor
Anyone? Anyone got a clue?
- MikaelBrass Contributor
Hi!
I found the cause and solution.
The Wof filter isn't attached to anything else than the system volume on server.
To add it to a volume:
fltmc attach Wof X:
Check current status:
fltmc filters
fltmc instances
After this compact /exe works.