On 30 Jan 2010, at 16:18, Josef Bacik wrote: > On Fri, Jan 29, 2010 at 11:43:45PM +0100, Thomas Kupper wrote: >> Just a short question: >> >> How can I check the data and metadata modes of a multi-device btrfs device? btrfs-show is of no help and df is still not showing the correct size of it either (using latest btrfs kernel module and btrfs tools). > > There are patches to do this for you, look for the "-i" patch for btrfs-progs > and the "df" patch for the kernel, that will give you the information you are > looking for. Thanks, > > Josef Thanks Josef, I'm stuck with two problems : * found the df patch but it does not apply. The latest btrfs-unstable seems not have BTRFS_IOC_SNAP_LISTING, neither btrfs_ioctl_default_subvol. With what revision of btrfs do you work? Of course I could apply it manually but I'm interested in the snap listing, too :) * I did not succeed in finding the patch '-i'. If you would happen to know where I can find it? I was looking on linux-btrfs mailing list and asked the allknowing Google. Cheers, Thomas-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
