Re: btrfsck integration with userlevel API for fsck

2012-03-29 Thread Fajar A. Nugraha
On Fri, Mar 30, 2012 at 5:08 AM, member graysky wrote: > Are there plans to integrate btrfsck with the userlevel API for fsck? There isn't even a stable, working, fixing btrfsck yet :) > AFAIK, it currently does not work as such (i.e. `shutdown -rF now` > does not trigger a check on the next boo

Re: [PATCH 10/10] Btrfs: drop cache with VACANCY em when we fail to start a transaction

2012-03-29 Thread Liu Bo
On 03/29/2012 10:01 PM, Chris Mason wrote: > On Tue, Mar 27, 2012 at 02:44:38PM +0800, Liu Bo wrote: >> We need to clean a VACANCY em(if we have) when we fail to start a >> transaction. >> >> Signed-off-by: Liu Bo >> --- >> fs/btrfs/inode.c |6 +++--- >> 1 files changed, 3 insertions(+), 3 d

btrfsck integration with userlevel API for fsck

2012-03-29 Thread member graysky
Are there plans to integrate btrfsck with the userlevel API for fsck? AFAIK, it currently does not work as such (i.e. `shutdown -rF now` does not trigger a check on the next boot). What is the recommended method to check a btrfs root filesystem? Live media? -- To unsubscribe from this list: send

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Ilya Dryomov
On Thu, Mar 29, 2012 at 04:39:29PM +0200, Sander wrote: > Hello Josef, > > Josef Bacik wrote (ao): > > On Thu, Mar 29, 2012 at 12:52:35PM +0200, Sander wrote: > > > I can't seem to balance my btrfs filesystem. It segfaults, and gives a > > > kernel bug: > > > > > > [ 1355.139099] [ cu

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Ilya Dryomov
On Thu, Mar 29, 2012 at 05:14:22PM +0200, Sander wrote: > Ilya Dryomov wrote (ao): > > On Thu, Mar 29, 2012 at 12:52:35PM +0200, Sander wrote: > > > After a reboot, I tried again, with the same result: > > > > > > [ 81.048767] [ cut here ] > > > [ 81.053619] kernel BUG

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Sander
Ilya Dryomov wrote (ao): > On Thu, Mar 29, 2012 at 12:52:35PM +0200, Sander wrote: > > After a reboot, I tried again, with the same result: > > > > [ 81.048767] [ cut here ] > > [ 81.053619] kernel BUG at fs/btrfs/volumes.c:2733! > > [ 81.053619] Internal error: Oops

Re: [PATCH] btrfs-progs: enforce block count on all devices in mkfs

2012-03-29 Thread David Sterba
Hi, looks similar to what's been sent http://thread.gmane.org/gmane.comp.file-systems.btrfs/15472/focus=16227 david -- 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/major

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Sander
Hello Josef, Josef Bacik wrote (ao): > On Thu, Mar 29, 2012 at 12:52:35PM +0200, Sander wrote: > > I can't seem to balance my btrfs filesystem. It segfaults, and gives a > > kernel bug: > > > > [ 1355.139099] [ cut here ] > > [ 1355.139099] kernel BUG at fs/btrfs/volumes.c

Re: [PATCH 10/10] Btrfs: drop cache with VACANCY em when we fail to start a transaction

2012-03-29 Thread Chris Mason
On Tue, Mar 27, 2012 at 02:44:38PM +0800, Liu Bo wrote: > We need to clean a VACANCY em(if we have) when we fail to start a transaction. > > Signed-off-by: Liu Bo > --- > fs/btrfs/inode.c |6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/fs/btrfs/inode.c b/fs/bt

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Ilya Dryomov
On Thu, Mar 29, 2012 at 12:52:35PM +0200, Sander wrote: > Hello all, > > I can't seem to balance my btrfs filesystem. It segfaults, and gives a > kernel bug: > > [ 1355.139099] [ cut here ] > [ 1355.139099] kernel BUG at fs/btrfs/volumes.c:2733! > [ 1355.149322] Internal e

Re: kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Josef Bacik
On Thu, Mar 29, 2012 at 12:52:35PM +0200, Sander wrote: > Hello all, > > I can't seem to balance my btrfs filesystem. It segfaults, and gives a > kernel bug: > > [ 1355.139099] [ cut here ] > [ 1355.139099] kernel BUG at fs/btrfs/volumes.c:2733! > [ 1355.149322] Internal e

R: Re: Create subvolume from a directory?

2012-03-29 Thread Goffredo Baroncelli
Hi Liubo >Messaggio originale >Da: liubo2...@cn.fujitsu.com >Data: 29/03/2012 3.24 >> Could you elaborate which would be the issue ? >> "cp --reflink"-ing a file is not different than snapshotting a file. In >> any case I could mount a snapshot and not the source subvolume. >> > >We alre

kernel BUG at fs/btrfs/volumes.c:2733

2012-03-29 Thread Sander
Hello all, I can't seem to balance my btrfs filesystem. It segfaults, and gives a kernel bug: [ 1355.139099] [ cut here ] [ 1355.139099] kernel BUG at fs/btrfs/volumes.c:2733! [ 1355.149322] Internal error: Oops - BUG: 0 [#1] SMP [ 1355.149322] Modules linked in: [ 1355.15