Re: System unmountable RW

2013-02-02 Thread Olivier Bonvalet
Le vendredi 01 février 2013 à 17:09 -0600, cwillu a écrit : > > then I do : mount -o rw,remount /backup/ > > > > Feb 1 22:32:38 frozen kernel: [ 65.780686] btrfs: force zlib compression > > Feb 1 22:32:38 frozen kernel: [ 65.780700] btrfs: not using ssd > > allocation scheme > > Feb 1 22:32

Re: System unmountable RW

2013-02-02 Thread Olivier Bonvalet
Le samedi 02 février 2013 à 12:04 +0100, Olivier Bonvalet a écrit : > Le vendredi 01 février 2013 à 17:09 -0600, cwillu a écrit : > > > then I do : mount -o rw,remount /backup/ > > > > > > Feb 1 22:32:38 frozen kernel: [ 65.780686] btrfs: force zlib > > > compression > > > Feb 1 22:32:38 froze

Re: System unmountable RW

2013-02-02 Thread Olivier Bonvalet
Then, 30 minutes later there is no change, so I suppose it's "frozen". I hope it can help : [ 8081.557019] SysRq : Show Blocked State [ 8081.557034] taskPC stack pid father [ 8081.557053] btrfs-transacti D 8802bfc12080 0 1788 2 0x [ 8081.557064] f

Oops when mounting btrfs partition

2013-02-02 Thread Arnd Bergmann
As mentioned on Google+, I have a partition that I can no longer mount normally, containing a lot of my personal data and all backups from my laptop. I found now that I am still able to mount it using the 'nospace_cache' option, but it takes a couple of minutes and I get "INFO: task btrfs-transact

Re: Oops when mounting btrfs partition

2013-02-02 Thread Chris Mason
Hi Arnd, First things first, nospace_cache is a safe thing to use. It is slow because it's finding free extents, but it's just a cache and always safe to discard. With your other errors, I'd just mount it readonly and then you won't waste time on atime updates. I'll take a look at the BUG you g

Newbie help-- Making BTRFS partition

2013-02-02 Thread Atri Sharma
Hi all, I am running a Fedora 17 system. I am trying to set up a new partition of 2 GB size which has BTRFS as file system. When I am trying to do mkfs.btrfs on a partition, I get: [atri@AtriServer ~]$ mkfs.btrfs /dev/sda3 WARNING! - Btrfs Btrfs v0.19 IS EXPERIMENTAL WARNING! - see http://btrfs

experimental raid5/6 code in git

2013-02-02 Thread Chris Mason
Hi everyone, I've uploaded an experimental release of the raid5/6 support to git, in branches named raid56-experimental. This is based on David Woodhouse's initial implementation (thanks Dave!). git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git raid56-experimental git://git.ke

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Hugo Mills
On Sat, Feb 02, 2013 at 08:56:20PM +0530, Atri Sharma wrote: > Hi all, > > I am running a Fedora 17 system. I am trying to set up a new partition > of 2 GB size which has BTRFS as file system. > > When I am trying to do mkfs.btrfs on a partition, I get: > > [atri@AtriServer ~]$ mkfs.btrfs /dev/s

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Atri Sharma
Hi Hugo, Thanks. I was having some issues with my priviledges, and sorting them out has worked. Thanks a ton, Atri On Sat, Feb 2, 2013 at 9:50 PM, Hugo Mills wrote: > On Sat, Feb 02, 2013 at 08:56:20PM +0530, Atri Sharma wrote: >> Hi all, >> >> I am running a Fedora 17 system. I am trying to

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Atri Sharma
Hi Hugo, Thanks for the earlier help. I needed some more help please. I created a BTRFS partition on /dev/sda3. To verify, the output of df -T command: e /dev/sda1 fuseblk 102396 25180 77216 25% /run/media/atri/System Reserved /dev/sda3

Re: Oops when mounting btrfs partition

2013-02-02 Thread Arnd Bergmann
On Saturday 02 February 2013 10:20:35 Chris Mason wrote: > Hi Arnd, > > First things first, nospace_cache is a safe thing to use. It is slow > because it's finding free extents, but it's just a cache and always safe > to discard. With your other errors, I'd just mount it readonly > and then you

[BTRFS][PATCH] Removed the 'subvolrootid' mount option.

2013-02-02 Thread Goffredo Baroncelli
Hi all, this is a trivial patch, which remove old unused code. Please apply. BR The commit 830c4adb (Btrfs: fix how we mount subvol=) removed the function related to the option 'subvolrootid'. The option is still here, the same is true for some code which handles the option parsing, but th

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Hugo Mills
On Sat, Feb 02, 2013 at 11:06:23PM +0530, Atri Sharma wrote: > Hi Hugo, > > Thanks for the earlier help. > > I needed some more help please. > > I created a BTRFS partition on /dev/sda3. To verify, the output of df > -T command: > > e > /dev/sda1 fuseblk 102396 251

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Atri Sharma
Thanks a ton Hugo. It worked like a charm. One last thing, how do I create a document in that subvolume? I am running some tests for seeing the locking trends when mass creation and deletion of files take place. Thanks, Atri On Sat, Feb 2, 2013 at 11:32 PM, Hugo Mills wrote: > On Sat, Feb 02

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Hugo Mills
On Sat, Feb 02, 2013 at 11:38:38PM +0530, Atri Sharma wrote: > Thanks a ton Hugo. > > It worked like a charm. > > One last thing, how do I create a document in that subvolume? Same way you'd create a file anywhere else in any other filesystem... :) btrfs is magic and different, but it's n

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Atri Sharma
Thanks Hugo. Let me try it out. Thanks a ton! Atri On Sat, Feb 2, 2013 at 11:41 PM, Hugo Mills wrote: > On Sat, Feb 02, 2013 at 11:38:38PM +0530, Atri Sharma wrote: >> Thanks a ton Hugo. >> >> It worked like a charm. >> >> One last thing, how do I create a document in that subvolume? > >Sa

[BTRFS-PROGS][PATCH] remove __attribute_const__ from raid6.c

2013-02-02 Thread Goffredo Baroncelli
Hi all, I am playing with the new branch raid56-experimental. Unfortunately I was not able to compile the btrfs-progs tools because my gcc was unable to find '__attribute_const__': [...] raid6.c:48:1: error: unknown type name ‘__attribute_const__’ raid6.c:48:45: error: expected ‘=’, ‘,’, ‘;’, ‘

cannot mount with acl

2013-02-02 Thread CSights
Hello, btrfs is failing to mount if I use the mount option acl. I am running debian testing with a debian experimental version of kernel 3.7.3: uname -a Linux nimby 3.7-trunk-486 #1 Debian 3.7.3-1~experimental.1 i686 GNU/Linux from fstab LABEL=btrfs-exthd /mnt/exthd btrfs defaults,n

Re: cannot mount with acl

2013-02-02 Thread Tomasz Torcz
On Sat, Feb 02, 2013 at 03:03:48PM -0600, CSights wrote: > Hello, > btrfs is failing to mount if I use the mount option acl. There is no such option. ACLs are enabled by default, you can only disable them with "noacl" option. -- Tomasz Torcz "Never underestimate the bandwidth o