cd /mnt/test; for i in {1..100000}; do dd if=/dev/zero of=file_${i} bs=32k count=1 1>/dev/null 2>/dev/null; done
rm file_*
umount /mnt/test
fuse-ext2 30G /mnt/test/ -o ro
partial strange output
ls: cannot access '/mnt/test/file_15218': No such file or directory
ls: cannot access '/mnt/test/file_1976': No such file or directory
ls: cannot access '/mnt/test/file_79166': No such file or directory
ls: cannot access '/mnt/test/file_92316': No such file or directory
ls: cannot access '/mnt/test/file_55271': No such file or directory
ls: cannot access '/mnt/test/file_75956': No such file or directory
However, if I mount the 30G image with "mount -t ext4 30G /mnt/test", everything works well as my expect. BTW, instead of creating 100k files and deleting them as above steps, I've tried only few files (about 100 files) and nothing strange happens.
Is there anything I could try to avoid the issue? Any idea will be appreciated, thanks!
Hi,
I found a strange behavior that some information of the previously deleted files will be shown via ls:
version
root@jerry-QV96:~# fuse-ext2 30G /mnt/test/ -o ro,debug FUSE library version: 2.9.4 nullpath_ok: 0 nopath: 0 utime_omit_ok: 0 unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0 INIT: 7.25 flags=0x0007fffb max_readahead=0x00020000 INIT: 7.19 flags=0x00000011 max_readahead=0x00020000 max_write=0x00020000 max_background=0 congestion_threshold=0 unique: 1, success, outsize: 40
reproduce steps
partial strange output
ls: cannot access '/mnt/test/file_15218': No such file or directory ls: cannot access '/mnt/test/file_1976': No such file or directory ls: cannot access '/mnt/test/file_79166': No such file or directory ls: cannot access '/mnt/test/file_92316': No such file or directory ls: cannot access '/mnt/test/file_55271': No such file or directory ls: cannot access '/mnt/test/file_75956': No such file or directory
(some output is omitted...)
-????????? ? ? ? ? ? file_9675 -????????? ? ? ? ? ? file_9688 -????????? ? ? ? ? ? file_9765 -????????? ? ? ? ? ? file_98 -????????? ? ? ? ? ? file_9831 -????????? ? ? ? ? ? file_9931 -????????? ? ? ? ? ? file_9979 drwx------ 2 root root 16384 Nov 30 17:36 lost+found
However, if I mount the 30G image with "mount -t ext4 30G /mnt/test", everything works well as my expect. BTW, instead of creating 100k files and deleting them as above steps, I've tried only few files (about 100 files) and nothing strange happens.
Is there anything I could try to avoid the issue? Any idea will be appreciated, thanks!