Re: how to check data and metadata type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Jan 30, 2010 at 05:57:49PM +0100, Thomas Kupper wrote:
> 
> 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 :)
> 

Oh yeah sorry, there are other patches for snapshot listing and setting the
default snapshot/subvol to mount and my df patch was done on top of those other
patches.  If you just fix the rejections from my df patch it will work fine
since it doesn't depend on either of those patches.

Chris is going to make a "dangerous" branch on his btrfs-unstable git tree that
will have all of that work as well, so you should be able to use it shortly.

> * 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.
> 
> 

This is the btrfs-progs patch

http://www.mail-archive.com/linux-btrfs@xxxxxxxxxxxxxxx/msg03808.html

and this is the kernel patch you'll want

http://www.mail-archive.com/linux-btrfs@xxxxxxxxxxxxxxx/msg03807.html

Thanks,

Josef
--
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

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux