Re: Will big metadata blocks fix # of hardlinks?

2012-05-29 Thread Hugo Mills
example fail case is just 13 hard links. Even x4 that (16k blocks) only gives 52 links for that example fail case. The brief summary for those are: * It's a rare corner case that needs a format change to fix, so won't-fix; Definitely not won't-fix (see above). Hugo. -- === Hugo

Re: Help with data recovering

2012-06-04 Thread Hugo Mills
at 5532762525696 On 06/04/2012 07:49 AM, Hugo Mills wrote: On Mon, Jun 04, 2012 at 07:43:40AM -0400, Maxim Mikheev wrote: Hi Arne, Can you advice how can I recover data? I tried almost everything what I found on https://btrfs.wiki.kernel.org /btrfs-restore restored some files

Re: Help with data recovering

2012-06-04 Thread Hugo Mills
roots in order from largest generation id to smallest. Given that it's not reporting any trees, though, I'm not certain that you'll get any success with it. Did you have your data in a subvolume? Hugo. On 06/04/2012 08:11 AM, Hugo Mills wrote: On Mon, Jun 04, 2012 at 08:01:32AM -0400, Maxim

Re: Help with data recovering

2012-06-04 Thread Hugo Mills
On Mon, Jun 04, 2012 at 06:04:22PM +0100, Hugo Mills wrote: I'm out of ideas. ... but that's not to say that someone else may have some ideas. I wouldn't get your hopes up too much, though. At this point, though, you're probably looking at somebody writing custom code to scan the FS

Re: [btrfs-progs] [bug][patch] Leaking file handle in scrub_fs_info()

2012-06-05 Thread Hugo Mills
, strerror(-ret)); @@ -1698,7 +1706,6 @@ static int cmd_scrub_status(int argc, char **argv) out: free_history(past_scrubs); free(di_args); - close(fdmnt); if (fdres -1) close(fdres); -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: delete disk proceedure

2012-06-05 Thread Hugo Mills
-- can you be more specific here? It would seem that if we can get to the bottom of that problem, you won't have to muck around with your current set-up at all. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Re: delete disk proceedure

2012-06-05 Thread Hugo Mills
in case? Thanks. Try the modified exports as I suggested in the other part of the thread first. If that turns out to be problematic still, then we can discuss any migration strategies. Hugo. Jim Maloney On 06/05/2012 01:04 PM, Hugo Mills wrote: On Tue, Jun 05, 2012 at 06:19:00PM +0200

New btrfs-progs integration branch

2012-06-05 Thread Hugo Mills
): Makefile: use $(CC) as a compilers instead of $(CC)/gcc Makefile: use $(MAKE) instead of hardcoded 'make' Shawn Bohrer (1): btrfs-progs: Update resize documentation Wang Sheng-Hui (1): btrfs-progs: cleanup: remove the redundant BTRFS_CSUM_TYPE_CRC32 macro def -- === Hugo Mills

Re: New btrfs-progs integration branch

2012-06-06 Thread Hugo Mills
) convert.o -lext2fs -lcom_err $(LDFLAGS) $(LIBS) ... which seems to be what the second line you quoted is doing. However, the third line with the problem looks like something out of date. Possibly a mis-merge? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: New btrfs-progs integration branch

2012-06-06 Thread Hugo Mills
to mis-merge or check out the wrong branch. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- We are all lying in the gutter, but some of us are looking

Re: New btrfs-progs integration branch

2012-06-06 Thread Hugo Mills
was failing on. Hugo. [1] http://git.darksatanic.net/cgi/gitweb.cgi?p=btrfs-progs-unstable.git;a=blob;f=Makefile;h=9699366d506918db711245aa771d103698a7;hb=integration-20120605 -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Re: New btrfs-progs integration branch

2012-06-06 Thread Hugo Mills
somewhere. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- There's many a slip 'twixt wicket-keeper and gully. --- signature.asc Description: Digital signature

Re: [PATCH v5 2/3] Btrfs-progs: make two utility functions globally available

2012-06-06 Thread Hugo Mills
-- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Happiness is mandatory. Are you happy? --- signature.asc Description: Digital signature

Re: [PATCHv2 3/4] avoid several strncpy-induced buffer overruns

2012-06-06 Thread Hugo Mills
); e = errno; if(ret0){ Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Your problem is that you've got too much taste to be --- a web

Re: [PATCHv2 4/4] mkfs: avoid heap-buffer-read-underrun for zero-length size arg

2012-06-06 Thread Hugo Mills
])) { + if (len !isdigit(s[len - 1])) { I think I'd prefer that len is a size_t, not an int here. (Or that len is tested to be 0). c = tolower(s[len - 1]); switch (c) { case 'g': Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: [PATCHv2 3/4] avoid several strncpy-induced buffer overruns

2012-06-06 Thread Hugo Mills
On Wed, Jun 06, 2012 at 08:31:47PM +0100, Hugo Mills wrote: @@ -378,6 +380,7 @@ static int cmd_snapshot(int argc, char **argv) args.fd = fd; strncpy(args.name, newname, BTRFS_SUBVOL_NAME_MAX); + args.name[BTRFS_PATH_NAME_MAX-1] = 0; This, however, is wrong. args here

Re: locating a func in btrfs-progs

2012-06-06 Thread Hugo Mills
On Thu, Jun 07, 2012 at 09:38:13AM +0800, Sonu wrote: Hi   Any clues on where I can find the function  'btrfs_header_level' in btrfs-progs ?  It's a getter/setter pair. See line 1555 of ctree.h. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Bug in btrfs-debug-tree for two or more devices.

2012-06-12 Thread Hugo Mills
can answer my query. I hav run these tests on SLES11-sp2-x86 Kernel 3.0.13.0.27-default This is pretty old, but shouldn't affect the results. It will cause reliability problems if you try running it seriously. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: Computing size of snapshots approximatly

2012-06-13 Thread Hugo Mills
? Are there any hints? Wait for qgroups to land, because that actually does it the right way, and will avoid you having to track all kinds of awkward (and hard-to-find) corner cases. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D

Re: cannot remove files: rm gives no space left on device, 3.2.0-24, ubuntu

2012-06-16 Thread Hugo Mills
)= 0 rupert -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- No names... I want to remain anomalous. --- signature.asc Description

Re: Subvolumes and /proc/self/mountinfo

2012-06-20 Thread Hugo Mills
at that. I know that David Sterba looked at fixing it, but apparently it was trickier to fix than was expected. (I don't recall the reason, and probably wouldn't have understood it anyway, so I'll leave it to Dave to tell you about it in detail). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: Leaving Red Hat

2012-06-20 Thread Hugo Mills
On Wed, Jun 20, 2012 at 08:59:15AM -0400, Josef Bacik wrote: Hello, Today is my last day at Red Hat, I will be joining Chris at Fusion IO. Blimey. It's all change round here, isn't it? Congratulations. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Knowing how much space is taken by each snapshot?

2012-06-25 Thread Hugo Mills
to get an idea how much each snapshot will free if I delete it? When the relevant bit of qgroups lands, yes. Until then, not really. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: Feature request: true RAID-1 mode

2012-06-25 Thread Hugo Mills
not sure if this is important to you, but it's a significant difference between the btrfs implementation of RAID-1 and the MD implementation. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: New btrfs-progs integration branch

2012-06-26 Thread Hugo Mills
integration. If you want to be helpful and test out new patches and report problems with them, use integration. Hugo. Thanks, Alex. On Tue, Jun 5, 2012 at 10:09 PM, Hugo Mills h...@carfax.org.uk wrote:   I've just pushed out a new integration branch to my git repo. This is purely bugfix

Re: btrfs filesystem defragment exits with non-zero return code (20) upon success

2012-06-27 Thread Hugo Mills
appropriate? Yeah, basically, it's doing something silly and unexpected with return codes. Hugo. [SNIP] if (errors) { fprintf(stderr, total %d failures\n, errors); exit(1); } free(av); return errors + 20; [SNIP] Thanks! -- === Hugo Mills: hugo@... carfax.org.uk

Re: Can give some help?

2012-06-29 Thread Hugo Mills
by a set of macros. Look for the *_SETGET_* macros. The actual definitions of BTRFS_SETGET_FUNCS are in struct-funcs.h Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great

Re: Kernel panic from btrfs subvolume delete

2012-06-29 Thread Hugo Mills
a date in their package names -- anything from 20120328 or so is good. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Charting the inexorable advance of Western syphilisation

Re: Btrfs RAID space utilization and bitrot reconstruction

2012-07-01 Thread Hugo Mills
good. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- You stay in the theatre because you're afraid of having no --- money? There's irony

Re: BTRFS fsck apparent errors

2012-07-03 Thread Hugo Mills
happened in this case, but it's best to try to avoid these kinds of issues). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- emacs: Eats Memory and Crashes

Re: btrfs data dup on single device?

2014-06-25 Thread Hugo Mills
will probably support n-copies DUP as well. There's no reason particularly to restrict it that way. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Do not meddle in the affairs

Re: RAID1 3+ drives

2014-06-28 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- But people have always eaten people, / what else is there to --- eat? / If the Juju had meant us not to eat people / he

Re: Question about debugfs on btrfs

2014-07-02 Thread Hugo Mills
. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Someone's been throwing dead sheep down my Fun Well --- signature.asc Description: Digital signature

Re: BTRFS claims that empty directory is not empty and refuses to delete it

2014-07-15 Thread Hugo Mills
will report something along the lines of directory isize wrong, and the problem can be fixed by running a btrfs check --repair. If you get anything else from btrfs check (or it checks cleanly), then let us know first. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: btrfs hanging since 3.16-rc3 or so

2014-07-15 Thread Hugo Mills
Debian Developer GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13 -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: Is it safe to mount subvolumes of already-mounted volumes (even with different options)?

2014-07-17 Thread Hugo Mills
far wrong. It's not quite true: some options do work on a per-mount basis, but most are per-filesystem. I'm sure there was a list of them on the wiki at some point, but I can't seem to track it down right now. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: btrfs fi df shows unknown ?

2014-07-17 Thread Hugo Mills
, used=24.00KiB Metadata, DUP: total=1.00GiB, used=520.36MiB unknown, single: total=176.00MiB, used=0.00 # btrfs --version Btrfs v3.14.2 # uname -r 3.15.5-200.fc20.x86_64 TIA, kind regards. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: NFS FILE ID not unique when exporting many brtfs subvolumes

2014-07-17 Thread Hugo Mills
\ fe80::/64 /srv/nfs/video-ro,async,fsid=0x1731,no_subtree_check \ 10.0.0.0/24 fe80::/64 Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: NFS FILE ID not unique when exporting many brtfs subvolumes

2014-07-17 Thread Hugo Mills
On Thu, Jul 17, 2014 at 01:02:06PM +, philippe.simo...@swisscom.com wrote: Hi Hugo -Original Message- From: Hugo Mills [mailto:h...@carfax.org.uk] Sent: Thursday, July 17, 2014 1:13 PM To: Simonet Philippe, INI-ON-FIT-NW-IPE Cc: linux-btrfs@vger.kernel.org Subject: Re

Re: BTRFS hang with 3.16-rc5 (and also with 3.16-rc4)

2014-07-25 Thread Hugo Mills
[this time, to the mailing list as well] On Fri, Jul 25, 2014 at 09:02:44AM +0100, Hugo Mills wrote: On Thu, Jul 24, 2014 at 11:06:34PM -0400, Nick Krause wrote: On Thu, Jul 24, 2014 at 10:32 PM, Duncan 1i5t5.dun...@cox.net wrote: [snip] Hey Duncan and others , I have read

Re: Help with Project on brtfs wiki

2014-07-26 Thread Hugo Mills
. Some of the time, you will actually answer your own question by trying to ask it in a sensible way. If you find that happening, you're asking sensible questions. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: Multi Core Support for compression in compression.c

2014-07-28 Thread Hugo Mills
. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Alert status mauve ocelot: Slight chance of brimstone. Be --- prepared to make a nice cup of tea

Re: Help with Brtfs Bugs

2014-07-28 Thread Hugo Mills
here). Accept that there are no easy one-liners in the kernel. The path to writing your first kernel patch is *hard*. Don't give up at the first hint that each thing isn't going to be solved in 5 minutes. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP

Re: Work Queue for btrfs compression writes

2014-07-30 Thread Hugo Mills
and easily). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- You've read the project plan. Forget that. We're going to Do --- Stuff and Have Fun doing

Re: [PATCH] Remove certain calls for releasing page cache

2014-07-31 Thread Hugo Mills
you're not listening to advice, and you're not apparently learning anything from the feedback you're given. Your behaviour is not changing over time, which makes you look like a waste of time to all those people trying to help you. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: [PATCH] Add support to check for FALLOC_FL_COLLAPSE_RANGE and FALLOC_FL_ZERO_RANGE crap modes

2014-07-31 Thread Hugo Mills
the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: Implement new FALLOC_FL_* modes

2014-07-31 Thread Hugo Mills
nothing else until you can answer all three of those questions sensibly. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great films about cricket: 200/1: A Pace Odyssey

Re: [PATCH] Add support to check for FALLOC_FL_COLLAPSE_RANGE and FALLOC_FL_ZERO_RANGE crap modes

2014-08-01 Thread Hugo Mills
On Thu, Jul 31, 2014 at 09:53:15PM -0400, Nick Krause wrote: On Thu, Jul 31, 2014 at 3:09 PM, Hugo Mills h...@carfax.org.uk wrote: On Thu, Jul 31, 2014 at 01:53:33PM -0400, Nicholas Krause wrote: This adds checks for the stated modes as if they are crap we will return error not supported

Re: ENOSPC with mkdir and rename

2014-08-04 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- You stay in the theatre because you're afraid of having no --- money? There's irony

Re: ENOSPC with mkdir and rename

2014-08-04 Thread Hugo Mills
On Mon, Aug 04, 2014 at 11:31:57AM +0100, Peter Waller wrote: Thanks Hugo, this is the most informative e-mail yet! (more inline) On 4 August 2014 11:22, Hugo Mills h...@carfax.org.uk wrote: * btrfs fi show - look at the total and used values. If used total, you're OK

Re: ENOSPC with mkdir and rename

2014-08-04 Thread Hugo Mills
. One thing I didn't find any information about is the overhead introduced by mixied-mode. It would be great if you could explain it in a few sentences. I don't know, I'm afraid. I don't think we've got any benchmarks on the scale of the slowdown. Hugo. -- === Hugo Mills: hugo

Re: ENOSPC with mkdir and rename

2014-08-04 Thread Hugo Mills
5, 10, 20, 50, 80. Hugo. -- 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/majordomo-info.html -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

btrfs sub list output

2014-08-04 Thread Hugo Mills
actually doing what the original author intended? If so, what was that intent? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Summoning his Cosmic Powers, and glowing slightly

Re: Stack dumps in use_block_rsv while rebalancing (block rsv returned -28)

2014-08-05 Thread Hugo Mills
to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- UNIX: Italian pen maker

Re: [PATCH] Btrfs: fix compressed write corruption on enospc

2014-08-06 Thread Hugo Mills
is to balance the data usage evenly across multiple devices. (Actually, to balance the available space evenly). Also note that the data part isn't tree-structured, so referring to balancing the trees with a -d flag is doubly misleading. :) Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: File system stuck in scrub

2014-08-11 Thread Hugo Mills
the machine? Yes. * How can I resume or cancel the scrub? It's probably simply not running -- see above. * Is it more risky to leave the above errors uncorrected, or to run btrfsck with --repair? I would, I think, leave them. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

[PATCH] btrfs-progs: Add -R to list UUIDs of original received subvolume

2014-08-12 Thread Hugo Mills
the user to perform that matching correctly. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-list.c | 32 +++- btrfs-list.h | 2 ++ cmds-subvolume.c | 6 +- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/btrfs-list.c b/btrfs-list.c

[PATCH] btrfs-progs: Fix spelling in btrfs sub list help

2014-08-12 Thread Hugo Mills
below, not bellow Signed-off-by: Hugo Mills h...@carfax.org.uk --- cmds-subvolume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmds-subvolume.c b/cmds-subvolume.c index 5216e53..349d0db 100644 --- a/cmds-subvolume.c +++ b/cmds-subvolume.c @@ -390,7 +390,7 @@ static const

[PATCH v2] btrfs-progs: Add -R to list UUIDs of original received subvolume

2014-08-13 Thread Hugo Mills
the user to perform that matching correctly. Signed-off-by: Hugo Mills h...@carfax.org.uk --- v1 - v2: Update man page as well. Documentation/btrfs-subvolume.txt | 2 ++ btrfs-list.c | 32 +++- btrfs-list.h | 2 ++ cmds

Re: btrfs receive problem on ARM kirkwood NAS with kernel 3.16.0 and btrfs-progs 3.14.2

2014-08-19 Thread Hugo Mills
##_to_cpu(*__tmp); \ + *v = get_unaligned_le##bits(__tmp); \ } while (0) #define TLV_GET_U8(s, attr, v) TLV_GET_INT(s, attr, 8, v) -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: Putting very big and small files in one subvolume?

2014-08-29 Thread Hugo Mills
to calculate the used vs free values for df. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great films about cricket: Umpire of the Rising Sun --- signature.asc Description

Re: Btrfs-progs-3.16: fs metadata is both single and dup?

2014-09-02 Thread Hugo Mills
about that. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Normaliser unix c'est comme pasteuriser le Camembert --- signature.asc Description: Digital signature

Re: Btrfs-progs-3.16: fs metadata is both single and dup?

2014-09-03 Thread Hugo Mills
On Wed, Sep 03, 2014 at 04:53:39AM +, Duncan wrote: Hugo Mills posted on Tue, 02 Sep 2014 13:13:49 +0100 as excerpted: On Tue, Sep 02, 2014 at 12:05:33PM +, Holger Hoffstätte wrote: So where does the confusing initial display come from? [I] don't remember ever seeing

Re: ENOSPC on mostly empty file system

2014-09-09 Thread Hugo Mills
of them. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- You can get more with a kind word and a two-by-four than you --- can with just a kind word

Re: ENOSPC on mostly empty file system

2014-09-09 Thread Hugo Mills
above will only touch chunks with 5% actual data or less). This is in the FAQ. Hugo. Metadata: total=8.00MB, used=0.00 : total=200.00MB, used=0.00 -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: No space on empty, degraded raid10

2014-09-11 Thread Hugo Mills
on every disk in the array shouldn't matter. N-way mirroring is in the queue for after RAID5/6 work; ideally, once it is ready, mkfs should default to one copy per disk in the filesystem. Why change the default from 2-copies, which it's been for years? Hugo. -- === Hugo Mills: hugo

Re: No space on empty, degraded raid10

2014-09-11 Thread Hugo Mills
On Thu, Sep 11, 2014 at 08:06:21AM -0400, Austin S Hemmelgarn wrote: On 2014-09-11 07:38, Hugo Mills wrote: On Thu, Sep 11, 2014 at 07:19:00AM -0400, Austin S Hemmelgarn wrote: On 2014-09-11 02:40, Russell Coker wrote: Also it would be nice if there was a N-way mirror option for system data

Re: RAID1 failure and recovery

2014-09-12 Thread Hugo Mills
in production, is running btrfs on top of mdraid the way to go at this point? Using btrfs native RAID means that you get independent checksums on the two copies, so that where the data differs between the copies, the correct data can be identified. Hugo. -- === Hugo Mills: hugo

Re: RAID1 failure and recovery

2014-09-13 Thread Hugo Mills
On Sun, Sep 14, 2014 at 05:15:08AM +0200, Piotr Pawłow wrote: On 12.09.2014 12:47, Hugo Mills wrote: I've done this before, by accident (pulled the wrong drive, reinserted it). You can fix it by running a scrub on the device (btrfs scrub start /dev/ice, I think). I'd like to remind everyone

Re: [UI RFC][PATCH] btrfs-progs: add options to tune units for fi df output

2014-09-15 Thread Hugo Mills
is KiB (upper case), SI is kB (lower case). Other than that, the UI looks pretty comfortable to me. Reviewed-by: Hugo Mills h...@carfax.org.uk --- I tried to make the command line UI rich enough to address current and future needs, I'm open to tweaks, rewording etc. The patch is based

Re: btrfs receive: could not find parent subvolume

2014-09-18 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I will not be pushed, filed, stamped, indexed, briefed, --- debriefed or numbered. My life is my own

Re: lvm thin provisioning snapshots and btrfs

2014-09-24 Thread Hugo Mills
taking action on the basis of information in this e-mail or any attachments. The DRW Companies make no representations that this e-mail or any attachments are free of computer viruses or other defects. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0

Re: BTRFS backup questions

2014-09-27 Thread Hugo Mills
in participating, or even just using it, please let me know. Thanks to everyone who has worked on BTRFS so far ;-) James -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- How do you

Re: BTRFS backup questions

2014-09-27 Thread Hugo Mills
On Sat, Sep 27, 2014 at 06:33:58PM +0200, James Pharaoh wrote: On 27/09/14 18:17, Hugo Mills wrote: On Sat, Sep 27, 2014 at 05:39:07PM +0200, James Pharaoh wrote: 2. Duplicating NOCOW files This is obviously possible, since it takes place when you make a snapshot. So why can't I create

Re: Fwd: Deleting a Subvol from a Cancelled Btrfs-Send

2014-10-02 Thread Hugo Mills
Is there anyway to delete this partial subvol? Thanks, Justin -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- All hope abandon, Ye who press Enter here. --- signature.asc

Re: FIBMAP unsupported

2014-10-02 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- ... one ping(1) to rule them all, and in the --- darkness bind(2) them

Re: Identify mounted subvolume

2014-10-07 Thread Hugo Mills
, but I've just checked, and it doesn't seem to have the subvol in it on my server (3.16.2). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Unix: For controlling fungal diseases

Re: What is the vision for btrfs fs repair?

2014-10-09 Thread Hugo Mills
-it fixes yet, but if so, that's the first /I/ remember reading of it. Other than that detail, what you posted matches my knowledge and experience, such as it may be as a non-dev list regular, as well. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: What is the vision for btrfs fs repair?

2014-10-09 Thread Hugo Mills
testing to see how 'read-only' mounting a btrfs filesystem really is. If the FS is RO, then yes, it won't fix things. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great

Re: unexplainable corruptions 3.17.0

2014-10-17 Thread Hugo Mills
the file will only read one of the copies of any given block (so if that's good and the other copy is bad, it won't fix anything). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: Uh, 1COW?... what happens when someone does this...

2014-10-22 Thread Hugo Mills
somewhere. I wouldn't put it in those words, but yes, a single CoW operation occurs on writes to data with nodatacow set. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- There's

Re: NOCOW and Swap Files?

2014-10-22 Thread Hugo Mills
at all, so you can't get a list of blocks on an underlying device because there isn't one. Indirecting the accesses through the filesystem, however, allows us to side-step btrfs's problems with part (b) above, and in theory gives us swapfile capability. Hugo. -- === Hugo Mills: hugo

Re: NOCOW and Swap Files?

2014-10-22 Thread Hugo Mills
On Wed, Oct 22, 2014 at 01:39:58PM -0700, Robert White wrote: On 10/22/2014 01:25 PM, Hugo Mills wrote: The new code is the swap-on-NFS infrastructure, which indirects swapfile accesses through the filesystem code. The reason you have to do that with NFS is because NFS doesn't expose

Re: suspicious number of devices: 72057594037927936

2014-10-27 Thread Hugo Mills
, I haven't experienced any. If you make read-only snapshots, there's a good chance of metadata corruption. It's fixed in 3.17.2. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: which subvolume is mounted?

2014-11-01 Thread Hugo Mills
1.62GiB devid1 size 6.52GiB used 2.24GiB path /dev/sda3 Btrfs v3.12 # btrfs fi df / Data, single: total=1.98GiB, used=1.58GiB System, single: total=4.00MiB, used=16.00KiB Metadata, single: total=264.00MiB, used=36.03MiB -- === Hugo Mills: hugo@... carfax.org.uk

Re: which subvolume is mounted?

2014-11-01 Thread Hugo Mills
used 1.62GiB devid1 size 6.52GiB used 2.24GiB path /dev/sda3 Btrfs v3.12 # btrfs fi df / Data, single: total=1.98GiB, used=1.58GiB System, single: total=4.00MiB, used=16.00KiB Metadata, single: total=264.00MiB, used=36.03MiB -- === Hugo Mills: hugo@... carfax.org.uk

Re: request for info on the list of parameters to tweak for PCIe SSDs

2014-11-01 Thread Hugo Mills
, but will still help to keep the number of extents down. That will reduce the metadata overhead. That's about all there is for btrfs-specific options, I think. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net

Re: Kernel 3.17.2 and RO snapshots

2014-11-02 Thread Hugo Mills
bring the system down if you access the broken data. But you're safe with 3.17.2, so it's a moot point for you right now. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: Compatibility matrix kernel/tools

2014-11-05 Thread Hugo Mills
not support newer kernel features -- but that will simply mean you can't access the feature, not that anything will be broken. If you're doing recovery work (btrfs check and friends) then using the latest released version of the tools is strongly recommended. Hugo. -- === Hugo Mills: hugo

Re: btrfs balance fails with no space errors (despite having plenty)

2014-11-13 Thread Hugo Mills
-- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Strive for apathy! --- signature.asc Description: Digital signature

Two persistent problems

2014-11-14 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Great films about cricket: Forrest Stump --- signature.asc Description: Digital signature

Re: Two persistent problems

2014-11-17 Thread Hugo Mills
On Fri, Nov 14, 2014 at 05:00:26PM -0500, Josef Bacik wrote: On 11/14/2014 04:51 PM, Hugo Mills wrote: Chris, Josef, anyone else who's interested, On IRC, I've been seeing reports of two persistent unsolved problems. Neither is showing up very often, but both have turned up often

Re: Two persistent problems

2014-11-17 Thread Hugo Mills
On Mon, Nov 17, 2014 at 11:59:48AM +0100, Konstantin wrote: Josef Bacik wrote on 14.11.2014 at 23:00: On 11/14/2014 04:51 PM, Hugo Mills wrote: [snip] Problem 2: Unexplained zeroes Failure to mount. Transid failure, expected xyz, have 0. Chris looked at an early one of these (for Ke

Re: btrfs filesystem show _exact_ freaking size?

2014-11-18 Thread Hugo Mills
the partition, and then resizing the FS back up to fit the partition exactly (with btrfs fi resize n:max). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Stick them

Re: btrfs send erroring...

2014-11-20 Thread Hugo Mills
/biggie/BACKUP/, is there a different way I should go about sending an entire disk? Thanks! -Ken -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- ©1973 Unclear Research Ltd

Re: Fixing Btrfs Filesystem Full Problems typo?

2014-11-22 Thread Hugo Mills
under some circumstances. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- And what rough beast, its hour come round at last / slouches --- towards Bethlehem

Re: Best GIT repository(s) for preparing patches?

2014-11-23 Thread Hugo Mills
, for example :) ). For userspace, probably the latest -rc tag from kdave's repo. See https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: [RFC PATCH] Btrfs: add sha256 checksum option

2014-11-24 Thread Hugo Mills
could see this possibly being useful for having fewer false positives when using the inbuilt checksums for purposes of dedup. Hugo. -- Hugo Mills | That's not rain, that's a lake with slots in it hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: 65E74AC0

Re: Moving contents from one subvol to another

2014-11-29 Thread Hugo Mills
set to a single value by default (e.g. through a shall alias). Hugo. -- Hugo Mills | I will not be pushed, filed, stamped, indexed, hugo@... carfax.org.uk | briefed, debriefed or numbered. http://carfax.org.uk/ | My life is my own. PGP: 65E74AC0

Re: root subvol id is 0 or 5?

2014-11-30 Thread Hugo Mills
the default subvol, you still can't delete it. Hugo. -- Hugo Mills | People are too unreliable to be replaced by hugo@... carfax.org.uk | machines. http://carfax.org.uk/ | PGP: 65E74AC0 | Nathan Spring, Star Cops signature.asc Description

<    2   3   4   5   6   7   8   9   10   11   >