I was Googling around for ways to check fragmentation on Btrfs, and I
came across the 'filefrag' command.
Even though it is a ext2/3 command, it seems to work on Btrfs files
since it uses the FIEMAP ioctl to determine the number of extents.
>From a bash prompt, I found I could examine large secti
* Daniel J Blueman (daniel.blue...@gmail.com) wrote:
> I was experiencing a similar pattern of ESTALE issues with NFS with
> 2.6.33 (IIRC) and cached data on ext4, and could reproduce it from
> time to time performing kernel rebuilds over NFS.
>
> I've CC'd Trond on the full email to see if it rin
Hi all,
I make a prototype for exporting info from btrfs via sysfs.
Under /sys/btrfs were created two directories, named "fs" and "devices".
/sys/btrfs/fs//
label -> filesystem label
num_devices-> total number of devices