filefrag shows wrong number of extents
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
e2fsprogs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Package: E2fsprogs version 1.42.8
In NTFS (and possibly other non-Linux filesystems), adding a '-v' switch to the filefrag command gives a different result from executing the command without the '-v' switch, for the same file.
For example:
$ sudo filefrag DSC_0466.mov
DSC_0466.mov: 1 extent found
$ sudo filefrag -v DSC_0466.mov
Filesystem type is: 65735546
File size of DSC_0466.mov is 38347615 (9363 blocks of 4096 bytes)
Discontinuity: Block 1727 is at 53086291 (was 53063600)
Discontinuity: Block 2547 is at 53168245 (was 53087111)
Discontinuity: Block 4398 is at 53184685 (was 53170096)
Discontinuity: Block 6193 is at 53276776 (was 53186480)
Discontinuity: Block 6297 is at 53289023 (was 53276880)
Discontinuity: Block 6422 is at 53344771 (was 53289148)
Discontinuity: Block 7875 is at 53369116 (was 53346224)
DSC_0466.mov: 8 extents found
This has nothing to do with file system buffers, since this file has been on the disk for several months.
This bug report says that the problem is fixed in E2fsprogs version 1.41: https:/
but I think it has been fixed only for ext* file systems, since the problem exists with E2fsprogs version 1.42.8, with NTFS, but not with ext4. I think the problem also exists with FAT file systems, but I can't currently check this.
I forgot to mention:
Although E2fsprogs version 1.42.8 is not the latest version, the problem isn't mentioned in any of the subsequent E2fsprogs release notes, so it obviously hasn't been fixed yet.
http:// e2fsprogs. sourceforge. net/e2fsprogs- release. html