Re: Uncorrectable errors on RAID-1?

2015-01-02 Thread Chris Murphy
On Tue, Dec 30, 2014 at 8:16 PM, Phillip Susi wrote: > Just because I want a raid doesn't mean I need it to operate reliably > 24x7. For that matter, it has long been established that power > cycling drives puts more wear and tear on them and as a general rule, > leaving them on 24x7 results in t

Re: [PATCH] Fixing quota error when removing files from a limit exceeded subvols

2015-01-02 Thread Dongsheng Yang
Hi Khaled, Could you give use more description about the problem this patch is trying to solve? Maybe an example will help a lot to understand it. Thanx On Fri, Jan 2, 2015 at 7:48 AM, Khaled Ahmed wrote: > Signed-off-by: Khaled Ahmed > --- > fs/btrfs/qgroup.c | 4 ++-- > 1 file changed, 2 in

Re: scrub wedged (both running and not running at the same time)

2015-01-02 Thread David Sterba
On Fri, Jan 02, 2015 at 03:54:55PM -0800, Roger Binns wrote: > I can't start a scrub because it is running, and can't cancel it > because it isn't running! How do I get out of this state? OS is > Ubuntu 14.10. This has been fixed in btrfs-progs 3.16.2 by commit d5fd05a773e2b19455be7e1208e9003a60

scrub wedged (both running and not running at the same time)

2015-01-02 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I can't start a scrub because it is running, and can't cancel it because it isn't running! How do I get out of this state? OS is Ubuntu 14.10. $ uname -r 3.16.0-28-generic # btrfs scrub start . ERROR: scrub is already running. To cancel use 'btrfs

Re: I need to P. are we almost there yet?

2015-01-02 Thread Austin S Hemmelgarn
On 2015-01-02 12:45, Brendan Hide wrote: On 2015/01/02 15:42, Austin S Hemmelgarn wrote: On 2014-12-31 12:27, ashf...@whisperpc.com wrote: I see this as a CRITICAL design flaw. The reason for calling it CRITICAL is that System Administrators have been trained for >20 years that RAID-10 can usu

Re: I need to P. are we almost there yet?

2015-01-02 Thread Brendan Hide
On 2015/01/02 15:42, Austin S Hemmelgarn wrote: On 2014-12-31 12:27, ashf...@whisperpc.com wrote: I see this as a CRITICAL design flaw. The reason for calling it CRITICAL is that System Administrators have been trained for >20 years that RAID-10 can usually handle a dual-disk failure, but the

[PATCH] btrfs: constify structs with op functions or static definitions

2015-01-02 Thread David Sterba
There are some op tables that can be easily made const, similarly the sysfs feature and raid tables. This is motivated by PaX CONSTIFY plugin. Signed-off-by: David Sterba --- fs/btrfs/compression.c | 2 +- fs/btrfs/compression.h | 4 ++-- fs/btrfs/disk-io.c | 4 ++-- fs/btrfs/extent_io.h |

Re: [PATCH v3] btrfs-progs: Documentation: add T/P/E description for resize cmd

2015-01-02 Thread David Sterba
On Fri, Jan 02, 2015 at 05:12:04PM +0100, David Sterba wrote: > On Thu, Jan 01, 2015 at 08:27:55PM -0700, Chris Murphy wrote: > > Small problem with the rendering of this commit > > d4ef1a06f8be623ae94e4d498c306e8dd1605bef, when I use 'man btrfs > > filesystem' the above portion looks like this: >

Re: [PATCH v3] btrfs-progs: Documentation: add T/P/E description for resize cmd

2015-01-02 Thread David Sterba
On Thu, Jan 01, 2015 at 08:27:55PM -0700, Chris Murphy wrote: > Small problem with the rendering of this commit > d4ef1a06f8be623ae94e4d498c306e8dd1605bef, when I use 'man btrfs > filesystem' the above portion looks like this: > > 'K', 'M', 'G', 'T', 'P', or 'E\', > > I'm not sure why there's a

Re: [PATCH v4] btrfs-progs: fix page align issue for lzo compress in restore

2015-01-02 Thread David Sterba
On Thu, Nov 27, 2014 at 11:02:38AM +0800, Gui Hecheng wrote: > I note that this patch is not yet in the latest integration, how's the > fix going? The patch was still buggy, a fix will land in 3.18.1 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message

possible bug in balance

2015-01-02 Thread luvar
Hi, I have today added one device and I have converted metadata to raid1. Than I wanted to convert to raid1 also some data (with balance filter) and try if there is some speedup when reading files (starting programs)... I have issued this command: luvar@blackdawn:~$ sudo time btrfs balance star

Re: I need to P. are we almost there yet?

2015-01-02 Thread Austin S Hemmelgarn
On 2014-12-31 12:27, ashf...@whisperpc.com wrote: Phillip I had a similar question a year or two ago ( specifically about raid10 ) so I both experimented and read the code myself to find out. I was disappointed to find that it won't do raid10 on 3 disks since the chunk metadata describes raid

Re: [PATCH] xfstests: btrfs: fix up 001.out

2015-01-02 Thread Filipe David Manana
On Wed, Dec 31, 2014 at 7:48 PM, Anand Jain wrote: > The subvol delete output has changed with btrfs-progs > -Delete subvolume 'SCRATCH_MNT/snap' > +Delete subvolume (no-commit): 'SCRATCH_MNT/snap' > > make the matching changes in the xfstests btrfs 001.out Hi Anand, This is a wrong appr

[PATCH] xfstests: btrfs: fix up 001.out

2015-01-02 Thread Anand Jain
The subvol delete output has changed with btrfs-progs -Delete subvolume 'SCRATCH_MNT/snap' +Delete subvolume (no-commit): 'SCRATCH_MNT/snap' make the matching changes in the xfstests btrfs 001.out Signed-off-by: Anand Jain --- tests/btrfs/001.out | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH 2/2] E2fsprogs: add compress and cow support in chattr, lsattr

2015-01-02 Thread Lutz Vieweg
On 04/18/2011 09:37 AM, liubo wrote: Modify command 'chattr' and 'lsattr' to support compress and cow. - use 'C' to indicate NOCOW attribute. It's kind of confusing for new users that when one sets > chattr +C someexistingfile on btrfs, a subsequent > lsattr someexistingfile will show the C fla