Closed nak3 closed 7 years ago
# du -s -h /data/torus/ 3.3G /data/torus/
nbd
# mount /dev/nbd10 -o discard,noatime /torus/
# dd if=/dev/zero of=1.tmp ibs=1M obs=1M count=1024 # dd if=/dev/zero of=2.tmp ibs=1M obs=1M count=1024 # dd if=/dev/zero of=3.tmp ibs=1M obs=1M count=1024
# du -s -h /data/torus/ 6.3G /data/torus/
# rm -f /torus/*.tmp
Sorry, I understand this. It is not a bug. Close.
Version: b6f7aba
Reproduce step
1. check initial data usage under the data directory
2. setup volume and mount volume (
nbd
)3. use mounted data
4. check directory usage on toursd and compare with 1.
5. remove data
6. check directory usage on toursd and compare with 4.
Actual result
Expected result