Details
-
Bug
-
Resolution: Fixed
-
Minor
-
Lustre 2.10.1
-
3
-
9223372036854775807
Description
Running truncate --size=N file on a file larger than {{N} will correctly update and return the file size to the client, but does not update the client's idea of the block count. Running the following test fails on my 2.10.1 system:
$ dd if=1k bs=1M /myth/tmp/largefile $ truncate --size 512M /myth/tmp/largefile
The size is updated on the client to 512MB, but the blocks are left at 1GB in the client cache.