我有一个 25GB 的文件,由于创建时其所在目录已标记为压缩,因此被错误地设置为 NTFS 压缩。我正在尝试解压缩它。该文件当前正在由 Windows 服务进程使用。
我尝试使用文件资源管理器在目录级别清除压缩属性;我点击了“确定”,但几秒钟后又恢复了。虽然目录被标记为未压缩,但文件仍然被压缩并在窗口中显示为蓝色。
我也尝试使用COMPACT /U
- 它也立即返回,并且似乎没有解压缩(尽管它似乎说它确实解压缩了):
E:\Services\MyService\Map>compact
Listing E:\Services\MyService\Map\
New files added to this directory will not be compressed.
27518828544 : 21974568960 = 1.3 to 1 C running.mmap
235 : 235 = 1.0 to 1 test.txt
Of 2 files within 1 directories
1 are compressed and 1 are not compressed.
27,518,828,779 total bytes of data are stored in 21,974,569,195 bytes.
The compression ratio is 1.3 to 1.
E:\Services\MyService\Map>compact /u *
Uncompressing files in E:\Services\MyService\Map\
running.mmap [OK]
1 files within 1 directories were uncompressed.
E:\Services\MyService\Map>compact
Listing E:\Services\MyService\Map\
New files added to this directory will not be compressed.
27518828544 : 22014078976 = 1.3 to 1 C running.mmap
235 : 235 = 1.0 to 1 test.txt
Of 2 files within 1 directories
1 are compressed and 1 are not compressed.
27,518,828,779 total bytes of data are stored in 22,014,079,211 bytes.
The compression ratio is 1.3 to 1.
为什么会发生这种情况?系统是否在后台工作以解压缩文件,还是忽略了我的请求?这是 Windows 2003 Server。
答案1
这很可能只是时间问题。您清除了文件夹压缩,但文件有 25 GB。解压可能需要一些时间。