On Sat, Apr 30, 2011 at 3:40 PM, John Wyzer <john.wy...@gmx.de> wrote: >> If you just want to see your fragmentation you can use the 'filefrag' >> program from e2fsprogs: >> >> # for file in $(find <PATH/TO/BTRFS/VOL/> -type f); do filefrag >> ${file}; done | sort -n -k 2 | less > > > Hmm. > Tried it and it gives me about 500000 lines of > > FIBMAP: Invalid argument > > and then: > > large_file: 1 extent found > > Is that the way it is supposed to work? > Just asking because this was part of a vmware disk image. Both the virtual > machine and the rest of the host system are almost unusable once the VM ist > started (even more unusable than without vmware :-D )
No. It sounds like the filefrag command is getting confused in the virtual environment. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html