Re: "disk full" on a 5 GB btrfs filesystem, FAQ outdated?

2015-11-29 Thread Marc Haber
Hi Hugo, On Sun, Nov 29, 2015 at 02:18:06PM +, Hugo Mills wrote: > On Sun, Nov 29, 2015 at 02:07:54PM +0100, Marc Haber wrote: > > However, the FAQ > > https://btrfs.wiki.kernel.org/index.php/FAQ#Help.21_Btrfs_claims_I.27m_out_of_space.2C_but_it_looks_like_I_should_have_lots_left.21 > >

Re: slowness when cp respectively send/receiving on top of dm-crypt

2015-11-29 Thread Henk Slager
On Sun, Nov 29, 2015 at 6:31 AM, Duncan <1i5t5.dun...@cox.net> wrote: > What are you using to tell you it has 1018391 extents? If you're using > filefrag, it's known not to understand btrfs compression, which uses 128 > KiB (pre-compression size, I believe, tho I'm not absolutely positive) >

Re: BTRFS: could not find root 8

2015-11-29 Thread Goffredo Baroncelli
On 2015-11-27 23:51, Chris Murphy wrote: > But from github I'm not finding any indication that systemd enables > quota. This issue suggests that quota disabled is tolerated. > https://github.com/systemd/systemd/issues/1809 Looking at the systemd source, it seems that it could enable quota when

Re: "disk full" on a 5 GB btrfs filesystem, FAQ outdated?

2015-11-29 Thread Hugo Mills
On Sun, Nov 29, 2015 at 02:07:54PM +0100, Marc Haber wrote: > Hi, > > I have a banana pi with a btrfs filesystem of 5 GB in size, which > frequently runs out of space (lots of snapshots). This is currently > again the case: > > [27/524]mh@banana:~$ sudo btrfs balance start / > ERROR: error

"disk full" on a 5 GB btrfs filesystem, FAQ outdated?

2015-11-29 Thread Marc Haber
Hi, I have a banana pi with a btrfs filesystem of 5 GB in size, which frequently runs out of space (lots of snapshots). This is currently again the case: [27/524]mh@banana:~$ sudo btrfs balance start / ERROR: error during balancing '/' - No space left on device There may be more info in syslog -

[PATCH] btrfs-progs: mkfs-tests: Check sectorsize and nodesize combination

2015-11-29 Thread Qu Wenruo
Add mkfs selftest for invalid and valid sectorsize/nodesize combination. Signed-off-by: Qu Wenruo --- .../008-secorsize-nodesize-combination/test.sh | 51 ++ 1 file changed, 51 insertions(+) create mode 100755

Re: btrfs check help

2015-11-29 Thread Qu Wenruo
Vincent Olivier wrote on 2015/11/27 06:25 -0500: On Nov 26, 2015, at 10:03 PM, Vincent Olivier wrote: On Nov 25, 2015, at 8:44 PM, Qu Wenruo wrote: Vincent Olivier wrote on 2015/11/25 11:51 -0500: I should probably point out that there is

Re: shall distros run btrfsck on boot?

2015-11-29 Thread Qu Wenruo
Jeff Mahoney wrote on 2015/11/28 11:52 -0500: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 11/23/15 11:02 PM, Christoph Anton Mitterer wrote: Hey. Short question since that came up on debian-devel. Now that btrfs check get's more and more useful, are the developers going to recommend

Re: BTRFS: could not find root 8

2015-11-29 Thread Qu Wenruo
Goffredo Baroncelli wrote on 2015/11/29 15:07 +0100: On 2015-11-27 23:51, Chris Murphy wrote: But from github I'm not finding any indication that systemd enables quota. This issue suggests that quota disabled is tolerated. https://github.com/systemd/systemd/issues/1809 Looking at the

Re: potential btrfs-progs clean up

2015-11-29 Thread Qu Wenruo
Anand Jain wrote on 2015/11/30 13:44 +0800: (this is a different topic, updated the subject) Totally agree with this point. Too many non-sense in btrfs-progs codes copied from kernel, and due to lack of update, it's very buggy now. Just check volume.c for allocating data chunk. Which

Re: [PATCH 0/7] Let user specify the kernel version for features

2015-11-29 Thread Anand Jain
(Most of the technical reasoning were already discussed so I won't repeat them here). And jolting for new technical reasons finds only these.. What if the fs is not only for kernel to mount, but also a boot partition for grub? Do you need to check the grub2 version? Check if this is a

Re: slowness when cp respectively send/receiving on top of dm-crypt

2015-11-29 Thread Duncan
Henk Slager posted on Sun, 29 Nov 2015 20:29:49 +0100 as excerpted: > On Sun, Nov 29, 2015 at 6:31 AM, Duncan <1i5t5.dun...@cox.net> wrote: > >> What are you using to tell you it has 1018391 extents? If you're using >> filefrag, it's known not to understand btrfs compression, which uses >> 128

Re: "disk full" on a 5 GB btrfs filesystem, FAQ outdated?

2015-11-29 Thread Duncan
Marc Haber posted on Sun, 29 Nov 2015 19:06:29 +0100 as excerpted: > Hi Hugo, > > On Sun, Nov 29, 2015 at 02:18:06PM +, Hugo Mills wrote: >> On Sun, Nov 29, 2015 at 02:07:54PM +0100, Marc Haber wrote: >>> However, the FAQ >>>

potential btrfs-progs clean up

2015-11-29 Thread Anand Jain
(this is a different topic, updated the subject) Totally agree with this point. Too many non-sense in btrfs-progs codes copied from kernel, and due to lack of update, it's very buggy now. Just check volume.c for allocating data chunk. Which functions in volume.c in particular ? Thanks,

Re: [PATCH 0/7] Let user specify the kernel version for features

2015-11-29 Thread Qu Wenruo
Anand Jain wrote on 2015/11/30 12:54 +0800: (Most of the technical reasoning were already discussed so I won't repeat them here). And jolting for new technical reasons finds only these.. What if the fs is not only for kernel to mount, but also a boot partition for grub? Do you need

Re: "disk full" on a 5 GB btrfs filesystem, FAQ outdated?

2015-11-29 Thread Imran Geriskovan
On 11/30/15, Duncan <1i5t5.dun...@cox.net> wrote: > Of course you can also try compress-force(=lzo the default > compression so the =spec isn't required), which should give > you slightly better performance than zlib, but also a bit > less efficient compression in terms of size saved. lzo perf

[RFC] Btrfs device and pool management (wip)

2015-11-29 Thread Anand Jain
Data center systems are generally aligned with the RAS (Reliability, Availability and Serviceability) attributes. When it comes to Storage, RAS applies even more because its matter of trust. In this context, one of the primary area that a typical volume manager should be well