Re: [PATCH] btrfs-progs: usage should match what is coded

2013-03-01 Thread Hugo Mills
, -d find dir, - -r numroot objectid, - -c ignore case in regular expression, - -m regexp regular expression to match, - -l list roots, NULL }; -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: Does defragmenting even work

2013-02-28 Thread Hugo Mills
, for example. 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 --- I'm all for giving people enough rope to shoot themselves in --- the foot -- Andreas Dilger

Re: Writing a wtapper for BTRFS

2013-02-27 Thread Hugo Mills
. Hugo. [1] https://btrfs.wiki.kernel.org/index.php/Data_Structures [2] http://git.darksatanic.net/cgi/gitweb.cgi?p=btrfs-gui.git;a=blob;f=btrfsgui/btrfs.py;h=0941de1efeadb81576edf1c7c84da28805310a92;hb=aba25f9efe7bcdb99e8cfa38e703c4b0739c6af9 -- === Hugo Mills: hugo@... carfax.org.uk

Re: [PATCH v4] Btrfs: ability to add label to snapshot and subvol

2013-02-25 Thread Hugo Mills
non-interoperable with the default tools. This is probably enough to ensure that it'll get fixed fairly quickly in this case (because the users that care about the feature will complain it's not working right). My conclusion: go with user xattrs. Hugo. -- === Hugo Mills: hugo

Re: Changing node leaf size on live partition.

2013-02-23 Thread Hugo Mills
? ;) ) 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 --- Q: What goes, Pieces of seven! Pieces of seven!? A: --- A parroty error

Re: copy on write misconception

2013-02-22 Thread Hugo Mills
(at which point, the modified blocks are no longer shared). 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 --- I don't like the look of it, I tell you. Well, stop

Re: Another defrag question

2013-02-21 Thread Hugo Mills
for not keeping up with them. defrag, with my snapshots, would be a good reason for me...) Hugo. [1] http://kernel.ubuntu.com/~kernel-ppa/mainline/ -- === 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: BTRFS fails defragging

2013-02-21 Thread Hugo Mills
On Thu, Feb 21, 2013 at 10:10:57AM -0600, Eric Sandeen wrote: On 2/21/13 9:10 AM, Swâmi Petaramesh wrote: Le 21/02/2013 16:01, Hugo Mills a écrit : That's a success. The return code for defrag is broken, and for some reason returns 20 on success. Thanks for the quick reply Hugo. So

Re: Another defrag question

2013-02-21 Thread Hugo Mills
On Thu, Feb 21, 2013 at 06:03:17PM +0100, Swâmi Petaramesh wrote: Le 21/02/2013 17:38, Hugo Mills a écrit : Plus, if something does go wrong with your FS, and you're running an older kernel, you'll get limited amounts of sympathy, because quite a lot of the problems people encounter

Re: Another defrag question

2013-02-21 Thread Hugo Mills
On Thu, Feb 21, 2013 at 06:47:28PM +0100, Swâmi Petaramesh wrote: Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite there. Hence the very strong recommendation to keep up with the latest code. Hugo

Re: [PATCH] btrfs-progs: add '-b' option to filesystem df and show

2013-02-20 Thread Hugo Mills
On Wed, Feb 20, 2013 at 02:15:52PM +, Mike Fleetwood wrote: On 20 February 2013 13:05, Audrius Butkevicius audrius.butkevic...@elastichosts.com wrote: On 01/02/2013 10:30, Hugo Mills wrote: On Fri, Feb 01, 2013 at 09:59:49AM +, Audrius Butkevicius wrote: Add '-b' and '--bytes

Re: [btrfs-progs] testing btrfs hierarchical quotas

2013-02-18 Thread Hugo Mills
On Mon, Feb 18, 2013 at 10:44:06AM +0530, Hemanth Kumar wrote: On Sat, Feb 16, 2013 at 2:29 AM, Hugo Mills h...@carfax.org.uk wrote: Here's a question -- what are you testing? (Not just here, but in general, with your test infrastructure) There are (at least) three classes of tests

Re: [btrfs-progs] testing btrfs hierarchical quotas

2013-02-16 Thread Hugo Mills
On Sat, Feb 16, 2013 at 06:55:09PM +1100, Dave Chinner wrote: On Fri, Feb 15, 2013 at 08:59:06PM +, Hugo Mills wrote: Hi, Hemanth, Here's a question -- what are you testing? (Not just here, but in general, with your test infrastructure) There are (at least) three

Re: Why does btrfs send /mnt/btrfs-root fail with ERROR: /mnt/btrfs-root is not read-only. even when mounted with option ro?

2013-02-16 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 --- If it's December 1941 in Casablanca, what time is it --- in New York

Re: How to clone btrfs partition?

2013-02-16 Thread Hugo Mills
? Or is there a more simple approach? Right now, yes, that's what you'll have to do. Note that the set of snapshots won't be atomic, although each snapshot itself is atomic. Recursive snapshots aren't implemented yet, but are on the list of things to do. Hugo. -- === Hugo Mills: hugo

Re: Rebalancing RAID1

2013-02-14 Thread Hugo Mills
tell if it's ~1.64TB copied or 2.6TB. Looks like /dev/sdi1 isn't actually being written to -- it should be the same allocation as /dev/sde1. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: [PATCH] xfs_mkfs: wipe old signatures from the device

2013-02-14 Thread Hugo Mills
the block device. We had someone on IRC a day or two ago who had done exactly this. They're not the only one -- I can recall seeing at least one other person who managed to mkfs.btrfs on an existing filesystem. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Rebalancing RAID1

2013-02-14 Thread Hugo Mills
On Thu, Feb 14, 2013 at 11:05:39AM -0700, Chris Murphy wrote: On Feb 14, 2013, at 1:59 AM, Hugo Mills h...@carfax.org.uk wrote: Data, RAID1: total=2.66TB, used=2.66TB This is the amount of actual useful data (i.e. what you see with du or ls -l). Double this (because it's RAID-1

Re: [PATCH 6/6] Btrfs-progs: add the rescue section to btrfs

2013-02-08 Thread Hugo Mills
select-super under rescue. Given that it can easily do more harm than good, it might not be the best place for it.. Thanks, Ilya -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: btrfs balance - hang/crash

2013-02-06 Thread Hugo Mills
help deal with the issue. Hugo. (*) Btrfs: rework the overcommit logic to be based on the total size -- === 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 --- What do you give the man who has

Re: Newbie help-- Making BTRFS partition

2013-02-02 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 --- What's so bad about being drunk? You ask a glass of water

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Hugo Mills
...@gmail.com wrote: 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 h...@carfax.org.uk wrote: On Sat, Feb 02, 2013 at 08:56:20PM +0530, Atri Sharma wrote: Hi all, I am

Re: Newbie help-- Making BTRFS partition

2013-02-02 Thread Hugo Mills
not *that* different. Hugo. 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 h...@carfax.org.uk wrote: On Sat, Feb 02, 2013 at 11:06:23PM +0530, Atri Sharma wrote: Hi

Re: [PATCH] btrfs-progs: add '-b' option to filesystem df and show

2013-02-01 Thread Hugo Mills
; - print_one_uuid(fs_devices); + print_one_uuid(fs_devices, rawbytes); } printf(%s\n, BTRFS_BUILD_VERSION); return 0; -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: /home on BTRFS on SSD, now highly fragmenting virtuoso database - use autodefrag?

2013-01-31 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 --- What do you give the man who has everything? -- Penicillin is --- a good start

Re: btrfs subvolume list - with three subvolumes, the second is missing/not showing

2013-01-31 Thread Hugo Mills
vennlig hilsen / kind regards Christopher Thorjussen System Administrator, VCP4/VCP5 The Online Backup Company AS http://www.onlinebackupcompany.no Backup isn't the real concern. Restoring normal business is. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: RAID 0 across SSD and HDD

2013-01-30 Thread Hugo Mills
it runs out of space. My hope would be overall performance between that of the two devices, and closer to that of the SSD. We don't have any kind of hot-data management yet, but it's on the list of things we'd like to have at some point. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: [PATCH] Btrfs-progs: Exit if not running as root

2013-01-25 Thread Hugo Mills
| 5 + dir-test.c| 5 + find-root.c | 5 + ioctl-test.c | 6 ++ mkfs.c| 5 + quick-test.c | 6 ++ restore.c | 5 + 21 files changed, 109 insertions(+) -- === Hugo Mills: hugo

Re: [PATCH 01/10] Btrfs-progs: move open_file_or_dir() to utils.c

2013-01-25 Thread Hugo Mills
/search?q=btrfs-show http://codesearch.debian.net/search?q=btrfs-vol http://codesearch.debian.net/search?q=btrfsctl suggest that there's very little impact over the rest of the system as well. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D

Re: [RFC] Abort on memory allocation failure

2013-01-25 Thread Hugo Mills
inline in marc.info =) What mail client to do you use? git send-email (for this kind of thing, anyway). 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 --- What part

Re: [PATCH] Btrfs/send: sparse and pre-allocated file support for, btrfs-send mechanism

2013-01-24 Thread Hugo Mills
, + BTRFS_SEND_C_PUNCH, BTRFS_SEND_C_TRUNCATE, BTRFS_SEND_C_CHMOD, BTRFS_SEND_C_CHOWN, -- === 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 --- I gave up smoking, drinking and sex

Re: [PATCH] Btrfs/send: sparse and pre-allocated file support for, btrfs-send mechanism

2013-01-24 Thread Hugo Mills
On Thu, Jan 24, 2013 at 08:13:34PM +0800, Miao Xie wrote: Onthu, 24 Jan 2013 11:58:13 +, Hugo Mills wrote: On Thu, Jan 24, 2013 at 07:39:17PM +0800, Miao Xie wrote: On thu, 24 Jan 2013 10:53:17 +0200, Alex Lyakas wrote: Hi Chen, with all due respect, what do you mean by I see

Re: btrfs: failed to read chunk tree on vde1 (f18 anaconda crash)

2013-01-20 Thread Hugo Mills
Out of interest, how big are these devices? Hugo. [snip] I booted again and did both the mk.btrfs and the mount manually and i got the same error. Is it a known issue? -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: [GIT PULL] btrfs-progs: more bugfixes for 0.20-rc1

2013-01-18 Thread Hugo Mills
which does the above automatically and includes a suitably-generated version.h in the tarball. Hugo. and mkfs.btrfs -V mkfs.btrfs, part of Btrfs Btrfs v0.19 There must be a way to reliably just have one Btrfs and I will look into it. Gene -- === Hugo Mills: hugo@... carfax.org.uk

Re: Can moving data to a subvolume not take as long as a fully copy?

2013-01-14 Thread Hugo Mills
On Mon, Jan 14, 2013 at 10:00:41AM -0800, Marc MERLIN wrote: On Mon, Jan 14, 2013 at 05:41:55PM +, Hugo Mills wrote: On Mon, Jan 14, 2013 at 09:32:50AM -0800, Marc MERLIN wrote: I made a mistake and copied data in the root of a new btrfs filesystem. I created a subvolume, and used mv

Re: Changing metadata block size after the fact

2013-01-13 Thread Hugo Mills
to be possible. Is this correct, and the only way would be backup/mkfs with -l/restore? Correct, you can't change the metadata block size once the FS has been created. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Re: partition question

2013-01-11 Thread Hugo Mills
, but as I understand it, there's been some work in the kernel (swap over NFS) which lays down some of the underlying infrastructure we'd need to support swapfiles on btrfs, but we don't have anything beyond that. I don't know of anyone working on it, either. Hugo. -- === Hugo Mills: hugo

Re: how to resize (grow) device partition of a multi-device BTRFS filesystem?

2013-01-11 Thread Hugo Mills
the size of the underlying device. 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 oxymorons of the world, no. 6: Mature Student --- signature.asc Description

Re: how to resize (grow) device partition of a multi-device BTRFS filesystem?

2013-01-11 Thread Hugo Mills
. btrfs fi resize, then fdisk). 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 --- Klytus! Are your men on the right pills? Maybe you should --- execute

Re: 2 errors on scrub

2013-01-10 Thread Hugo Mills
information in your kernel logs. I know you all recommend later kernels, I'm upgrading things as fast as I can. Glad to hear it. :) 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: kernel BUG at fs/btrfs/volumes.c:3707 still not fixed in 3.7.1 (btrfs-zero-log required) but shown as RIP btrfs_num_copies

2013-01-08 Thread Hugo Mills
before zero'ing logs [snip] That information may also be helpful in conjunction with the btrfs-image dump of a broken FS. I'm not sure how much help it is on its own (but thanks for providing it anyway). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Option LABEL

2013-01-05 Thread Hugo Mills
fi show' for short. Indeed. btrfs-show, btrfs-vol and btrfsctl have been deprecated for quite some time (well over a year), and they're not well maintained. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: Option LABEL

2013-01-03 Thread Hugo Mills
was there before. This is unsurprising. Hugo. What works: btrfs filesystem label /dev/sdb mylabel -- === 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 --- What part of gestalt don't you

Re: Option LABEL

2013-01-03 Thread Hugo Mills
and as designed. 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're never alone with a rubber duck... --- signature.asc Description: Digital signature

Re: Option LABEL

2013-01-03 Thread Hugo Mills
without mounting the FS first, everything you've reported here is working as it should. 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 --- This chap Anon is writing some perfectly

Re: Option LABEL

2013-01-03 Thread Hugo Mills
, and I'm afraid you're using the wrong tools for the job you're trying to do. 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 --- O tempura! O moresushi

Re: Another novice question comment

2012-12-27 Thread Hugo Mills
btrfs-progs installation? (Any distribution package with a date before the end of March 2012 is definitely ancient -- there's still some of them out there). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: Determining subvolumes

2012-12-26 Thread Hugo Mills
on a btrfs volume without mounting the volume? No. (Well, in theory the code is possible, but there's nothing I'm aware of that will do it) Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: fsck.btrfs

2012-12-22 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 --- But people have always eaten people, / what else is there to --- eat? / If the Juju had meant us not to eat people / he

Re: add, remove; how about merge?

2012-12-21 Thread Hugo Mills
well. You want send/receive. It's in the mainline kernel, and you'll need a recent userspace, but it allows you to transfer subvolumes cleanly and losslessly between filesystems. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: [GIT PULL] Btrfs updates

2012-12-19 Thread Hugo Mills
says, not in this pull request, but it should be ready for Friday. 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 demand rigidly defined areas of doubt and uncertainty

Re: Feeback on RAID1 feature of Btrfs

2012-12-18 Thread Hugo Mills
On Tue, Dec 18, 2012 at 01:20:20PM +0200, Brendan Hide wrote: On 2012/12/17 06:23 PM, Hugo Mills wrote: On Mon, Dec 17, 2012 at 04:51:33PM +0100, Sebastien Luttringer wrote: Hello, snip I get the feeling that RAID1 only allow one disk removing. Which is more a RAID5 feature. The RAID-1

Re: btrfs in the kernel 2.6.31

2012-12-18 Thread Hugo Mills
to a more recent kernel, and getting that pushed to mainline, as it's more likely to be useful in the future, and useful to more people. 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: btrfs in the kernel 2.6.31

2012-12-18 Thread Hugo Mills
On Tue, Dec 18, 2012 at 02:35:21PM +, Hugo Mills wrote: On Tue, Dec 18, 2012 at 06:11:55PM +0400, Eugene Crosser wrote: I have a board based on PLX7821 aka OX820 ARM SoC. It is not Oh, I forgot to mention -- there's some problems with the btrfs userspace tools on ARM, related

Re: Regarding contribution to BTRFS

2012-12-17 Thread Hugo Mills
know how I can help. Regards, Atri -- === 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 --- Comic Sans goes into a bar, and the barman says, We don't --- serve

Re: Feeback on RAID1 feature of Btrfs

2012-12-17 Thread Hugo Mills
been said before (and it hasn't been stable enough for release before). I think Chris was going to leave the n-copies RAID-1 feature for a later release, and just get RAID-5/6 out first. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: Encryption

2012-12-13 Thread Hugo Mills
weren't added by any of the core developers. Nobody's published concrete tests *either* way yet, and those comments are one person's opinion, as far as I'm aware (and note that they don't actually quote sources, results, or even personal experience). YMMV. Hugo. -- === Hugo Mills: hugo

Re: subvolume show

2012-12-12 Thread Hugo Mills
to identify which subvolume to mount with -o subvolid=... 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: Emacs Makes A Computer Slow. --- signature.asc

Re: no activity in kernel.org btrfs-progs git repo?

2012-12-12 Thread Hugo Mills
#Integration_repository_.28btrfs-next.29 It's regarded as fairly unstable, so only run it on systems for testing purposes (or if josef tells you it's OK and will fix one of your problems). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: no activity in kernel.org btrfs-progs git repo?

2012-12-12 Thread Hugo Mills
On Thu, Dec 13, 2012 at 04:50:54AM +0530, Nirbheek Chauhan wrote: On Thu, Dec 13, 2012 at 4:21 AM, Hugo Mills h...@carfax.org.uk wrote: Two things: 1) That tree is generally only ever updated for pull requests to Linus during the merge window. Would that it were otherwise, but I

Re: BTRFS, getting darn slower everyday

2012-12-09 Thread Hugo Mills
fragmentation here. If you mean, will there be a defrag that does as well as it can despite the limitation above, and which doesn't split snapshots into separate copies, then yes -- there's already patches out for that, but they've had a couple of problems. Hugo. -- === Hugo Mills: hugo

Re: basic questions regarding some btrfs features

2012-12-03 Thread Hugo Mills
ever turn up as a real subvolume ID internally, and is mapped to the same subvolume as subvolid=5 with a piece of special-case code that liubo showed. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: basic questions regarding some btrfs features

2012-12-03 Thread Hugo Mills
On Mon, Dec 03, 2012 at 10:52:41AM +0100, Aastha Mehta wrote: On 2 December 2012 23:46, Hugo Mills h...@carfax.org.uk wrote: On Sun, Dec 02, 2012 at 11:17:26PM +0100, Aastha Mehta wrote: I am looking at btrfs to understand some of its features. One of them is the snapshot feature. Please

Re: Example of BTRFS uglyssima performance : Bitcoin

2012-12-03 Thread Hugo Mills
of +C on the database files. 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 --- No! My collection of rare, incurable diseases! Violated! --- signature.asc Description: Digital

Re: basic questions regarding some btrfs features

2012-12-02 Thread Hugo Mills
(subvolid=5). Everything else in the filesystem lives within that. However, you can have as many subvolumes as you like below that, and in whatever directories or subvolumes you want. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: Sparsify / hole punching tool

2012-11-18 Thread Hugo Mills
For archival purposes, it's probably better to put the whole thing inline in the text of your mail. This also makes it far easier to make comments on it, should anyone feel moved to do so. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D

Re: Mixed RAID 1 and 0 in different subvolumes (cont.)

2012-11-13 Thread Hugo Mills
ago, this function was not aviliable. If there were test version, I am willing to test it. -- === 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: Eighty Megabytes And Constantly

Re: BTRFS cache problem

2012-11-11 Thread Hugo Mills
mention of the caches from your fstab and kernel command line before you next mount the FS. 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 oxymorons of the world

Re: BTRFS cache problem

2012-11-11 Thread Hugo Mills
On Sun, Nov 11, 2012 at 04:28:54PM +0100, Swâmi Petaramesh wrote: Le 11/11/2012 16:20, Hugo Mills a écrit : You only need to mount with space_cache once, and after that it's sticky. What's probably happening is that you're mounting with space_cache, which rebuilds the cache. Then, if you

Re: High-sensitivity fs checker (not repairer) for btrfs

2012-11-10 Thread Hugo Mills
just a little bit inconsistent The closest thing is btrfsck. That's about as picky as we've got to date. What exactly is your use-case for this requirement? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Re: How does btrfs handle sudden shutdowns?

2012-11-06 Thread Hugo Mills
backups and be prepared to use them)? 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: Eighty Megabytes And Constantly Swapping. --- signature.asc Description

Re: How does btrfs handle sudden shutdowns?

2012-11-06 Thread Hugo Mills
On Tue, Nov 06, 2012 at 01:47:02PM +, Michael Kjörling wrote: On 6 Nov 2012 12:48 +, from h...@carfax.org.uk (Hugo Mills): There are also some caveats: while the FS should always be consistent, the latest transaction write may not have been completed, so you could potentially

Re: [PATCH 00/26] Btrfs: Add device replace code

2012-11-06 Thread Hugo Mills
, though. 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 --- Computer Science is not about computers, any more than --- astronomy is about telescopes

Re: no space left on device.

2012-11-02 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 --- You're never alone with a rubber duck... --- signature.asc Description: Digital signature

Re: [PATCH][BTRFS-PROGS] Enhance btrfs fi df

2012-11-02 Thread Hugo Mills
== === == === === Total 1.31TB 8.00MB 28.00GB ×2 4.00MB 8.00MB ×20.00 Used 1.31TB 0.00 5.65GB ×2 0.00 152.00KB ×2 Also, I don't know if you could use libblkid, but it finds more descriptive names than dm-NN (thanks to some smart sorting logic). -- === Hugo

Re: [PATCH][BTRFS-PROGS] Enhance btrfs fi df

2012-11-02 Thread Hugo Mills
On Fri, Nov 02, 2012 at 11:23:14PM +, Gabriel wrote: On Fri, 02 Nov 2012 22:06:04 +, Hugo Mills wrote: On Fri, Nov 02, 2012 at 07:05:37PM +, Gabriel wrote: On Fri, 02 Nov 2012 13:02:32 +0100, Goffredo Baroncelli wrote: On 2012-11-02 12:18, Martin Steigerwald wrote

Re: [Request for review] [RFC] Add label support for snapshots and subvols

2012-11-01 Thread Hugo Mills
/u creationFri Nov 2 5:24 2012 - rpool/u user:label Some test filesystem local Don't we already have an equivalent to that with user xattrs? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: How to find (out if) files sharing content?

2012-10-30 Thread Hugo Mills
to the metadata trees through the TREE_SEARCH ioctl. It should be possible to walk through the extents of a given file, and (I think) follow back-refs from the extent back to the other files that share it. There's no simple code to do that right now, though. Hugo. -- === Hugo Mills: hugo

Re: Why btrfs inline small file by default?

2012-10-30 Thread Hugo Mills
million pages, or 320 GiB of total disk space. 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 --- I always felt that as a C programmer, I

Re: Why btrfs inline small file by default?

2012-10-30 Thread Hugo Mills
On Tue, Oct 30, 2012 at 10:14:12PM +, Hugo Mills wrote: On Wed, Oct 31, 2012 at 05:40:25AM +0800, ching wrote: On 10/30/2012 08:17 PM, cwillu wrote: If there is a lot of small files, then the size of metadata will be undesirable due to deduplication Yes, that is a fact

Re: Old (almost 2 years) btrfs failed fs. Parent transid failure. Can it be fixed ?

2012-10-29 Thread Hugo Mills
of the progs. sudo mount -t btrfs /dev/sda /mnt/disk/ Could you try with -o recovery? That's worth a try as a first step. 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: How does btrfs behave on checksum mismatch?

2012-10-28 Thread Hugo Mills
is detected, yes. If there's a bad block, and the FS happens to read the good copy first, it won't fix it, because it hasn't tried reading the bad copy yet. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: How does btrfs behave on checksum mismatch?

2012-10-28 Thread Hugo Mills
On Sun, Oct 28, 2012 at 02:36:24PM +0100, Martin Steigerwald wrote: Am Sonntag, 28. Oktober 2012 schrieb Hugo Mills: On Sun, Oct 28, 2012 at 02:23:51PM +0100, Martin Steigerwald wrote: Am Sonntag, 28. Oktober 2012 schrieb Ronnie Collinson: In a raid1 situation, it will also rewrite

Re: How does btrfs behave on checksum mismatch?

2012-10-27 Thread Hugo Mills
if so desired (using the nodatasum mount option), but nothing about what the file system code does or is supposed to do in the face of a checksum mismatch. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: [RFC] New attempt to a better btrfs fi df

2012-10-27 Thread Hugo Mills
is probably the better option. IMO. Eggshell blue is good enough. :) 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 --- Some days, it's just not worth gnawing through the straps

Re: Naming of subvolumes

2012-10-25 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 --- This chap Anon is writing some perfectly lovely stuff --- at the moment

Re: device delete, error removing device

2012-10-22 Thread Hugo Mills
-undiscovered reservation problem, in which case you get to see Josef scream loudly and hide under his desk, gibbering. -- === 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 --- If it ain't broke

Re: RAID 5/6

2012-10-22 Thread Hugo Mills
switch storage types on the fly, so you could at least start with RAID-1, and then restripe to RAID-5 (or -6) when it's stable enough for you. This assumes that you can manage to use RAID-1 in the first place and expand later. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: device delete, error removing device

2012-10-22 Thread Hugo Mills
On Mon, Oct 22, 2012 at 10:42:18AM -0600, Chris Murphy wrote: Thanks for the response Hugo, On Oct 22, 2012, at 3:19 AM, Hugo Mills h...@carfax.org.uk wrote: I'm not entirely sure what's going on here(*), but it looks like an awkward interaction between the unequal sizes of the devices

Re: device delete, error removing device

2012-10-22 Thread Hugo Mills
On Mon, Oct 22, 2012 at 01:36:31PM -0600, Chris Murphy wrote: On Oct 22, 2012, at 11:18 AM, Hugo Mills h...@carfax.org.uk wrote: It's more like a balance which moves everything that has some (part of its) existence on a device. So when you have RAID-0 or RAID-1 data, all of the related

Re: Can not Mount btrfs No Space left

2012-10-15 Thread Hugo Mills
may then allow you to mount it again without the -o ro. 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 oxymorons of the world, no. 6: Mature Student

Re: [PATCH] Fits: tool to parse stream

2012-10-13 Thread Hugo Mills
? Fibs is a slang term for lies. Probably not ideal. 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 --- Strive for apathy

Re: Will RAID have issues with disks that spin down?

2012-10-04 Thread Hugo Mills
be an issue with RAID a-la btrfs? I have (some of(*)) the disks in my 8-drive RAID-1 btrfs array set to spin down after 10 minutes of no use. I've not had a problem with it so far. So I'd say it's not an issue from my limited testing. Hugo. (*) Damn you, Samsung! -- === Hugo Mills: hugo

Re: [PATCH][BTRFS-PROGS][V1] btrfs filesystem df

2012-10-03 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 --- The most exciting phrase to hear in science, the one that --- heralds new discoveries, is not Eureka

Re: [PATCH][BTRFS-PROGS][V1] btrfs filesystem df

2012-10-03 Thread Hugo Mills
On Wed, Oct 03, 2012 at 06:17:53PM +0200, Goffredo Baroncelli wrote: On 10/03/2012 01:56 PM, Hugo Mills wrote: Looks good. Only a few comments, inline. On Wed, Oct 03, 2012 at 01:43:14PM +0200, Goffredo Baroncelli wrote: [snip] Also, use kB, MB, GB, TB for powers-of-ten based units

Re: [PATCH 1/2] Update btrfs filesystem df command

2012-10-03 Thread Hugo Mills
it not an error to do so, but I'm happy either way. 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 --- He's a nutcase, you know. There's no getting away from

Re: [RFC] btrfs fi df output [Was Re: BTRF - Storage Usage]

2012-09-28 Thread Hugo Mills
. Ultimately, I think the bikeshed should be turquoise. 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 --- Python is executable pseudocode; perl

Re: [RFC] btrfs fi df output [Was Re: BTRF - Storage Usage]

2012-09-28 Thread Hugo Mills
Hi, Goffredo, On Fri, Sep 28, 2012 at 07:27:16PM +0200, Goffredo Baroncelli wrote: On 09/28/2012 10:58 AM, Hugo Mills wrote: On Fri, Sep 28, 2012 at 09:17:59AM +0600, Roman Mamedov wrote: On Thu, 27 Sep 2012 23:02:35 +0200 Goffredo Baroncellikreij...@libero.it wrote

Re: [RFC] btrfs fi df output [Was Re: BTRF - Storage Usage]

2012-09-28 Thread Hugo Mills
hard to deal with in scripts. :) (But they do have plumbing options, to use the git terminology, so I'd be happy with having a parsable output option). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: BTRF - Storage Usage

2012-09-27 Thread Hugo Mills
somewhere which will give you access to new kernels without too much trouble. Hugo. (*) Some of the enterprise distributions do have backported btrfs fixes in their apparently older kernels. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

<    4   5   6   7   8   9   10   11   12   13   >