Re: btrfs: unlinked 34 orphans

2010-11-09 Thread Oystein Viggen
* [David Arendt] I received the message: btrfs: unlinked 34 orphans Just out of couriosity: what does it mean ? Ooh, ooh! I think I know this one :) When a file is unlinked/deleted while an application has it open, it is kept around allocated on disk so that the app has access to the data

Re: [PATCH 5/6] Btrfs: fail if we try to use hole punch

2010-11-09 Thread Will Newton
On Mon, Nov 8, 2010 at 8:32 PM, Josef Bacik jo...@redhat.com wrote: Hi Josef, Btrfs doesn't have the ability to punch holes yet, so make sure we return EOPNOTSUPP if we try to use hole punching through fallocate.  This support can be added later.  Thanks, Signed-off-by: Josef Bacik

Option user_xattr

2010-11-09 Thread Helmut Hullen
Hallo, linux-btrfs, does btrfs accept the (ext2/ext3) option user_xattr? Samba needs something in that way, but mount -o user_xattrr btrfs-partition mountpoint doesn't work. Viele Gruesse! Helmut -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a

Re: [PATCH 5/6] Btrfs: fail if we try to use hole punch

2010-11-09 Thread Josef Bacik
On Tue, Nov 09, 2010 at 10:05:34AM +, Will Newton wrote: On Mon, Nov 8, 2010 at 8:32 PM, Josef Bacik jo...@redhat.com wrote: Hi Josef, Btrfs doesn't have the ability to punch holes yet, so make sure we return EOPNOTSUPP if we try to use hole punching through fallocate.  This support

Re: Questions regarding COW-related behaviors

2010-11-09 Thread João Eduardo Luís
First of all, thanks for all replies; they've been quite insightful. On Nov 8, 2010, at 10:45 PM, Sean Bartell wrote: From your questions, you don't seem to understand CoW. CoW is basically an alternative to the logging/journalling used by most filesystems. Actually, I do understand how

Re: Oops while rebalancing, now unmountable.

2010-11-09 Thread Chris Mason
Excerpts from Shane Shrybman's message of 2010-11-08 12:10:57 -0500: Hi, Got an oops last week while rebalancing that seems to have left me with a corrupted btrfs. Kernel was ~2.6.36 + Transparent hugetlb patchset + small misc. patchs. We have a confirmed and reproducible case where the

Re: Option user_xattr

2010-11-09 Thread Chris Mason
Excerpts from Helmut Hullen's message of 2010-11-09 10:11:00 -0500: Hallo, linux-btrfs, does btrfs accept the (ext2/ext3) option user_xattr? Samba needs something in that way, but mount -o user_xattrr btrfs-partition mountpoint We have this on by default in btrfs. There is no

Re: time for balance

2010-11-09 Thread Hugo Mills
B1;2401;0cOn Tue, Nov 09, 2010 at 04:09:00PM +0100, Helmut Hullen wrote: btrfs device add /dev/sdc1 /srv/MM btrfs filesystem balance /srv/MM adds /dev/sdc1 with about 1,5 TByte (df tells so), and the system works the second line (balance) since about 12 hours. How much time

Re: Option user_xattr

2010-11-09 Thread Helmut Hullen
Hallo, Chris, Du meintest am 09.11.10 zum Thema Re: Option user_xattr: does btrfs accept the (ext2/ext3) option user_xattr? Samba needs something in that way, but mount -o user_xattr btrfs-partition mountpoint We have this on by default in btrfs. There is no requirement to add

Btrfs-progs: add support for mixed data+metadata block groups V4

2010-11-09 Thread Mitch Harder
So alot of crazy people (I'm looking at you Meego) want to use btrfs on phones and such with small devices. Unfortunately the way we split out metadata/data chunks it makes space usage inefficient for volumes that are smaller than 1gigabyte. So add a -M option for mixing metadata+data, and

Re: Oops while rebalancing, now unmountable.

2010-11-09 Thread Shane Shrybman
On Tue, 2010-11-09 at 08:42 -0500, Chris Mason wrote: Excerpts from Shane Shrybman's message of 2010-11-08 12:10:57 -0500: Hi, Got an oops last week while rebalancing that seems to have left me with a corrupted btrfs. Kernel was ~2.6.36 + Transparent hugetlb patchset + small misc.

Re: Btrfs-progs: add support for mixed data+metadata block groups V4

2010-11-09 Thread Goffredo Baroncelli
On Tuesday, 09 November, 2010, Mitch Harder wrote: So alot of crazy people (I'm looking at you Meego) want to use btrfs on phones and such with small devices. Unfortunately the way we split out metadata/data chunks it makes space usage inefficient for volumes that are smaller than 1gigabyte.

Re: Questions regarding COW-related behaviors

2010-11-09 Thread Goffredo Baroncelli
On Tuesday, 09 November, 2010, João Eduardo Luís wrote: The old tree is discarded unless the user requested a snapshot of it. Every time btrfs updates the roots is a new generation. Some data structures have generation fields, indicating the generation in which they were most recently

Re: [PATCH 1/6] fs: add hole punching to fallocate

2010-11-09 Thread Josef Bacik
On Tue, Nov 09, 2010 at 12:12:22PM +1100, Dave Chinner wrote: On Mon, Nov 08, 2010 at 03:32:02PM -0500, Josef Bacik wrote: Hole punching has already been implemented by XFS and OCFS2, and has the potential to be implemented on both BTRFS and EXT4 so we need a generic way to get to this

Re: [PATCH 1/6] fs: add hole punching to fallocate

2010-11-09 Thread Ted Ts'o
On Tue, Nov 09, 2010 at 03:42:42PM +1100, Dave Chinner wrote: Implementation is up to the filesystem. However, XFS does (b) because: 1) it was extremely simple to implement (one of the advantages of having an exceedingly complex allocation interface to begin with :P)

Re: [PATCH 1/6] fs: add hole punching to fallocate

2010-11-09 Thread Jan Kara
On Tue 09-11-10 16:41:47, Ted Ts'o wrote: On Tue, Nov 09, 2010 at 03:42:42PM +1100, Dave Chinner wrote: Implementation is up to the filesystem. However, XFS does (b) because: 1) it was extremely simple to implement (one of the advantages of having an exceedingly complex

Re: [PATCH 1/6] fs: add hole punching to fallocate

2010-11-09 Thread Dave Chinner
On Tue, Nov 09, 2010 at 04:41:47PM -0500, Ted Ts'o wrote: On Tue, Nov 09, 2010 at 03:42:42PM +1100, Dave Chinner wrote: Implementation is up to the filesystem. However, XFS does (b) because: 1) it was extremely simple to implement (one of the advantages of having an

Re: btrfs filesystem defragment error

2010-11-09 Thread William Uther
You need to run it as root (via sudo or whatever). On the other hand, it probably doesn't work like you think it does, and you probably don't want to defrag anyway :p btrfs fi defrag takes a file or folder, and defrags just that file or folder (i.e., no recursion). Quick question about

btrfs_block_rsv_check warning in syslog

2010-11-09 Thread Eldon Koyle
I am not on the list, so please include me in any replies. We seem to have found a bug, but I'm not sure if it is a known issue. We made this FS with an older version of btrfs-utils. We are running on a debian sid system. The FS was created with btrfs-tools version 0.19+20100601-3 on 2.6.32.

NFS support

2010-11-09 Thread Wenyi Liu
Hi All: I found the project ideas about NFS support in btrfs wiki. But, I have long time to disconnect to the btrfs mail list. Can you give me the process of the support? Thanks!! --- Best Regards, Liu wenyi -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: time for balance

2010-11-09 Thread Helmut Hullen
Hallo, I wrote am 09.11.10: I'm working with btrfs for some days. btrfs-progs-20101101, kernel 2.6.35.8 (both self compiled). First step: mkfs.btrfs /dev/sdd1 mount /dev/sdd1 /srv/MM for a 2 TByte partition, worked well. Copying about 1,5 TByte data to this partition

labelling

2010-11-09 Thread Helmut Hullen
Hallo, linux-btrfs, I have problems with btrfs labels. My way: 2-TByte-disk: mkfs.btrs LABEL=MM2 /dev/sdd2 worked. Mounting mount LABEL=MM2 /srv/MM worked. Additional 1.5-TByte-Disk: btrfs add device /dev/sdc3 /srv/MM ... balance ... worked. findfs