Re: root subvol id is 0 or 5?

2014-11-30 Thread Hugo Mills
On Sun, Nov 30, 2014 at 07:08:51PM +0530, Shriramana Sharma wrote: On Sun, Nov 30, 2014 at 5:29 PM, Hugo Mills h...@carfax.org.uk wrote: In the data structures on disk, it's 5. The kernel aliases 0 to mean subvolid 5. So why 5 and not just 0 which seems a logical choice? On top

Re: Moving an entire subvol?

2014-12-02 Thread Hugo Mills
that nesting subvolumes is generally more awkward to manage, and that putting files in the top-level subvol can't do what most people want to do with it. Hence the recommended subvol management layout at [1]. Hugo. [1] https://btrfs.wiki.kernel.org/index.php/SysadminGuide#Subvolumes -- Hugo

Re: Possible to undo subvol delete?

2014-12-02 Thread Hugo Mills
to break scripts? Any script which relies on being able to delete subvolumes in unattended operation will now require modification to use -f. Hugo. -- Hugo Mills | Unix: For controlling fungal diseases in crops hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: 65E74AC0

Re: Moving an entire subvol?

2014-12-03 Thread Hugo Mills
On Wed, Dec 03, 2014 at 08:02:31AM +0530, Shriramana Sharma wrote: On Tue, Dec 2, 2014 at 2:04 PM, Hugo Mills h...@carfax.org.uk wrote: Is that correct: what btr sub list shows as top level is indeed the parent subvolume? No, it's the top-level subvolume. (See my earlier mail about

Re: [PATCH] Btrfs: fix fs corruption on transaction abort if device supports discard

2014-12-06 Thread Hugo Mills
, and it should have been untouched, because it was marked as dirty in the fs_info-pinned_extents tree, and therefore used by the trees that the last committed superblock points to. Wow. Nice one, Filipe. Hugo. -- Hugo Mills | Startle, startle, little twink. How I

Re: Why is the actual disk usage of btrfs considered unknowable?

2014-12-07 Thread Hugo Mills
to be inaccurate, and whatever way round we show it, someone will complain. Hugo. -- Hugo Mills | My doctor tells me that I have a malformed hugo@... carfax.org.uk | public-duty gland, and a natural deficiency in moral http://carfax.org.uk/ | fibre. PGP: 65E74AC0

Re: mkfs.btrfs limits odd [and maybe a failed phantom device?]

2014-12-12 Thread Hugo Mills
.) The parity computation on a single value is just nutty waste of time though. Backing it out when the array is degraded is double-nuts. Maybe everybody just decided it was too crazy to consider for the CPU time penalty...? So yea, semantics... apparently... -- Hugo Mills | There's

Re: btrfs fi df output unknown

2014-12-12 Thread Hugo Mills
Data, RAID1: total=314.00GiB, used=313.55GiB System, RAID1: total=32.00MiB, used=64.00KiB Metadata, RAID1: total=1.00GiB, used=422.45MiB unknown, single: total=144.00MiB, used=0.00 -- Hugo Mills | I am but mad north-north-west: when the wind is hugo@... carfax.org.uk | southerly, I

Re: RAID0 extent sizes?

2014-12-12 Thread Hugo Mills
device, and so on. The minimum stripe width (e.g. number of devices) is 2 for RAID-0, 4 for RAID-10, 2 for RAID-5 and 3 for RAID-6. Hugo. -- Hugo Mills | I get nervous when I see words like 'mayhaps' in a hugo@... carfax.org.uk | novel, because I fear that just round

Re: RAID0 extent sizes?

2014-12-12 Thread Hugo Mills
On Fri, Dec 12, 2014 at 03:25:19PM -0800, Robert White wrote: On 12/12/2014 02:59 PM, Hugo Mills wrote: On Fri, Dec 12, 2014 at 02:54:24PM -0800, Robert White wrote: I've seen it mentioned here that generally data extents are 1G and metadata extents are 256M. Is that per-drive or per-stripe

Re: [PATCH 6/7] Print the summary

2014-12-16 Thread Hugo Mills
the latter carries almost as much problematic baggage as the former. -- Hugo Mills | Great films about cricket: 200/1: A Pace Odyssey hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: 65E74AC0 | signature.asc Description: Digital signature

Terminology (was Re: [PATCH 6/7] Print the summary)

2014-12-18 Thread Hugo Mills
On Wed, Dec 17, 2014 at 09:44:43PM -0800, Robert White wrote: On 12/16/2014 01:05 AM, Hugo Mills wrote: On Mon, Dec 15, 2014 at 07:47:06PM -0800, Robert White wrote: I prefer slice, not that I am totally happy with that word either. But by the time you get through loopback devices, memory map

Re: Extra info

2014-12-18 Thread Hugo Mills
Label: none uuid: 752ed11b-defc-4717-b4c9-a9e08ad64ba6 Total devices 1 FS bytes used 404.74GB devid1 size 410.50GB used 410.50GB path /dev/md3 Regards, Daniele -- Hugo Mills | Python is executable pseudocode; perl is executable hugo@... carfax.org.uk | line

Re: Uncorrectable errors on RAID-1?

2014-12-21 Thread Hugo Mills
, and checking your logs for SATA errors and similar problems. Hugo. [snip] -- Hugo Mills | I must be musical: I've got *loads* of CDs hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: 65E74AC0 | Fran, Black Books signature.asc

Re: making btrfs on raw images

2014-12-24 Thread Hugo Mills
drawbacks? No drawbacks. I've used this method for testing purposes. Obviously, you'll have to set up the loop devices to mount the FS, but mkfs shouldn't have any problems. Hugo. -- Hugo Mills | 2 + 2 = 5, for sufficiently large values of 2. hugo@... carfax.org.uk | http

Re: BTRFS free space handling still needs more work: Hangs again

2014-12-27 Thread Hugo Mills
output here, or post to bugzilla.kernel.org That's probably going to give enough information to the developers to work out where the lockup is happening, and is clearly the way forward here. Hugo. -- Hugo Mills | w.w.w. -- England's batting scorecard hugo@... carfax.org.uk

Re: BTRFS free space handling still needs more work: Hangs again

2014-12-27 Thread Hugo Mills
or something equally dumb. Userspace doesn't as far as I know, get to make that decision. I've just read the fallocate(2) man page, and it says nothing at all about the contiguity of the extent(s) storage allocated by the call. Hugo. [snip] -- Hugo Mills | O tempura! O moresushi

Re: BTRFS free space handling still needs more work: Hangs again

2014-12-27 Thread Hugo Mills
On Sat, Dec 27, 2014 at 01:28:46PM -0500, Zygo Blaxell wrote: On Sat, Dec 27, 2014 at 09:30:43AM +, Hugo Mills wrote: On Sat, Dec 27, 2014 at 10:01:17AM +0100, Martin Steigerwald wrote: Am Freitag, 26. Dezember 2014, 14:48:38 schrieb Robert White: On 12/26/2014 05:37 AM, Martin

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

2014-12-29 Thread Hugo Mills
losing two devices, though, even if the remaining data is actually enough to reconstruct the FS. Hugo. -- Hugo Mills | I can resist everything except temptation hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: 65E74AC0 | signature.asc Description: Digital signature

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

2014-12-29 Thread Hugo Mills
of the failure modes beyond the guarantee. Hugo. On Mon, Dec 29, 2014 at 1:04 PM, Hugo Mills h...@carfax.org.uk wrote: On Mon, Dec 29, 2014 at 01:00:05PM -0600, sys.syphus wrote: oh, and sorry to bump myself. but is raid10 *ever* more redundant in btrfs-speak than raid1? I currently use raid1

Re: Btrfs progs release 3.18

2014-12-30 Thread Hugo Mills
Unallocated: 2.38TiB /dev/sdb4, ID: 2 Device size: 2.63TiB Data,RAID1:252.00GiB Metadata,RAID1: 3.00GiB System,RAID1:8.00MiB Unallocated: 2.38TiB -- Hugo Mills | The trouble with you, Ibid, is you

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [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: 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: [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: [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: 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: /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: [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: 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: 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: [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: 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: [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: [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: [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: 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: 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: 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: [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: 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: 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: [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

[PATCH 0/5] [RFC] RAID-level terminology change

2013-03-09 Thread Hugo Mills
are also accepted. It also prints the newer formats by default in btrfs fi df, with an option to show the older format for the traditionalists. I'm not sure whether we should omit the 1C in btrfs fi df output, or make it explicit even in the single case. Hugo. Hugo Mills (5): Use nCmSpP

[PATCH 4/5] Change output of btrfs fi df to report new (or old) RAID names

2013-03-09 Thread Hugo Mills
Signed-off-by: Hugo Mills h...@carfax.org.uk --- cmds-filesystem.c | 135 - 1 file changed, 114 insertions(+), 21 deletions(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 2210020..8ecc21a 100644 --- a/cmds-filesystem.c +++ b/cmds

[PATCH 3/5] Convert balance filter parser to use common nCmSpP replication-level parser

2013-03-09 Thread Hugo Mills
Balance filters are the second location which takes user input of replication levels. Update this to use the common parser so that we can provide nCmSpP-style names. Signed-off-by: Hugo Mills h...@carfax.org.uk --- cmds-balance.c | 23 --- 1 file changed, 8 insertions

[PATCH 1/5] Use nCmSpP format for mkfs

2013-03-09 Thread Hugo Mills
Teach mkfs.btrfs about nCmSpP format for replication levels, which avoids the semantic uncertainty over the RAID-XYZ naming. Signed-off-by: Hugo Mills h...@carfax.org.uk --- mkfs.c | 91 +++- 1 file changed, 84 insertions(+), 7

[PATCH 5/5] Add man page description for nCmSpP replication levels

2013-03-09 Thread Hugo Mills
Signed-off-by: Hugo Mills h...@carfax.org.uk --- man/btrfs.8.in |9 + man/mkfs.btrfs.8.in | 24 +++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 94f4ffe..2799ec7 100644 --- a/man/btrfs.8.in +++ b/man

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-09 Thread Hugo Mills
On Sat, Mar 09, 2013 at 10:31:25PM +0100, Harald Glatt wrote: On Sat, Mar 9, 2013 at 9:31 PM, Hugo Mills h...@carfax.org.uk wrote: Some time ago, and occasionally since, we've discussed altering the RAID-n terminology to change it to an nCmSpP format, where n is the number of copies, m

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-09 Thread Hugo Mills
On Sat, Mar 09, 2013 at 02:25:25PM -0800, Roger Binns wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/03/13 12:31, Hugo Mills wrote: Some time ago, and occasionally since, we've discussed altering the RAID-n terminology to change it to an nCmSpP format, where n is the number

Re: [PATCH 5/5] Add man page description for nCmSpP replication levels

2013-03-10 Thread Hugo Mills
On Sun, Mar 10, 2013 at 03:01:12PM +0100, Goffredo Baroncelli wrote: Hi Hugo, could you please add also to the btrfs man page a section where are described the nCmSpP levels ? Thanks. GB On 03/09/2013 09:31 PM, Hugo Mills wrote: Signed-off-by: Hugo Mills h...@carfax.org.uk

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-10 Thread Hugo Mills
On Sun, Mar 10, 2013 at 12:23:56PM +0100, Martin Steigerwald wrote: Hi Hugo, Am Samstag, 9. März 2013 schrieb Hugo Mills: Some time ago, and occasionally since, we've discussed altering the RAID-n terminology to change it to an nCmSpP format, where n is the number of copies, m

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-10 Thread Hugo Mills
On Sat, Mar 09, 2013 at 09:41:50PM -0800, Roger Binns wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/03/13 17:44, Hugo Mills wrote: You've got at least three independent parameters to the system in order to make that choice, though, and it's a fairly fuzzy decision problem

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-10 Thread Hugo Mills
On Sun, Mar 10, 2013 at 04:43:33PM +0100, Goffredo Baroncelli wrote: Hi Hugo, On 03/09/2013 09:31 PM, Hugo Mills wrote: Some time ago, and occasionally since, we've discussed altering the RAID-n terminology to change it to an nCmSpP format, where n is the number of copies, m

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-10 Thread Hugo Mills
, because it seems to be easier to read with the different-height characters. So we end up with, e.g. 1c (single) 2cXs(RAID-10) 1cXs2p (RAID-6) Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: [PATCH 0/5] [RFC] RAID-level terminology change

2013-03-11 Thread Hugo Mills
On Sun, Mar 10, 2013 at 11:55:10PM +, sam tygier wrote: On 09/03/13 20:31, Hugo Mills wrote: Some time ago, and occasionally since, we've discussed altering the RAID-n terminology to change it to an nCmSpP format, where n is the number of copies, m is the number of (data) devices

[PATCH v2 5/5] Add man page description for NcMsPp replication levels

2013-03-11 Thread Hugo Mills
Signed-off-by: Hugo Mills h...@carfax.org.uk --- man/btrfs.8.in | 16 man/mkfs.btrfs.8.in | 24 +++- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/man/btrfs.8.in b/man/btrfs.8.in index 94f4ffe..4072510 100644 --- a/man/btrfs.8

[PATCH v2 3/5] Convert balance filter parser to use common NcMsPp replication-level parser

2013-03-11 Thread Hugo Mills
Balance filters are the second location which takes user input of replication levels. Update this to use the common parser so that we can provide nCmSpP-style names. Signed-off-by: Hugo Mills h...@carfax.org.uk --- cmds-balance.c | 23 --- 1 file changed, 8 insertions

[PATCH v2 2/5] Move parse_profile to utils.c

2013-03-11 Thread Hugo Mills
Make parse_profile a shared function so it can be used across the code-base. Signed-off-by: Hugo Mills h...@carfax.org.uk --- mkfs.c | 94 --- utils.c | 94 +++ utils.h

[PATCH v2 4/5] Change output of btrfs fi df to report new (or old) RAID names

2013-03-11 Thread Hugo Mills
Signed-off-by: Hugo Mills h...@carfax.org.uk --- cmds-filesystem.c | 173 ++--- 1 file changed, 152 insertions(+), 21 deletions(-) diff --git a/cmds-filesystem.c b/cmds-filesystem.c index 2210020..3150ff7 100644 --- a/cmds-filesystem.c +++ b/cmds

[PATCH v2 0/5] RAID-level terminology change

2013-03-11 Thread Hugo Mills
Changed mS to Xs for readability Added explain option to df Switched option parsing for df to getopt_long Hugo. Hugo Mills (5): Use NcMsPp format for mkfs Move parse_profile to utils.c Convert balance filter parser to use common NcMsPp replication-level

[PATCH v2 1/5] Use NcMsPp format for mkfs

2013-03-11 Thread Hugo Mills
Teach mkfs.btrfs about ncmspp format for replication levels, which avoids the semantic uncertainty over the RAID-XYZ naming. Signed-off-by: Hugo Mills h...@carfax.org.uk --- mkfs.c | 91 +++- 1 file changed, 84 insertions(+), 7

[PATCH] btrfs-progs: add Makefile rule for static build of btrfs-find-root

2013-03-12 Thread Hugo Mills
From: Hugo Mills h.r.mi...@reading.ac.uk btrfs-find-root isn't yet integrated into the main btrfs tool, and is an important recovery tool, so it deserves to be built as a static binary. Signed-off-by: Hugo Mills h...@carfax.org.uk --- Makefile |6 +- 1 file changed, 5 insertions(+), 1

Re: File space cache

2013-03-13 Thread Hugo Mills
, should the pass value in fstab be zero or non-zero? It should be zero. But since fsck.btrfs is non-existent, it does not really matter I guess. Eh? We've had a functional btrfsck for nearly a year. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP

Re: Btrfs in multiple different disc -d sigle -m raid1 one drive failure...

2013-03-18 Thread Hugo Mills
with pieces on each disk. -- === 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 --- w.w.w. : England's batting scorecard --- signature.asc Description: Digital

Re: Problems with compiling btrfs

2013-03-21 Thread Hugo Mills
://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Dependencies -- === 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 in crops

Re: Problems with compiling btrfs

2013-03-21 Thread Hugo Mills
On Thu, Mar 21, 2013 at 09:42:13PM +, Hugo Mills wrote: On Thu, Mar 21, 2013 at 03:11:56PM -0600, Joseph Moore wrote: I'm trying to compile the btrfs source code but I'm getting an error. Any suggestions? [snip] You need libblkid-devel (or whatever your distribution calls

Re: No space left on device although df reports only 55% in use

2013-03-27 Thread Hugo Mills
chunks. See the section in the FAQ on the wiki about full filesystems. (Sorry for not finding the link, I'm on a restricted connection right now) Hugo. Metadata: total=8.00MB, used=0.00 Any ideas what is going wrong here? Thank you in advance, Clemens -- === Hugo Mills: hugo

Re: scrub correcting tons of errors ?

2013-03-29 Thread Hugo Mills
be happening... So this is probably because of the extent tree corruption you had, it's just cleaning things up and you should be fine once it finishes. Thanks, Josef -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net

Re: Space usage metering

2013-03-29 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 --- Gentlemen! You can't fight here! This is the War Room! --- signature.asc Description: Digital signature

--mixed and --nodesize together

2013-04-06 Thread Hugo Mills
not particularly important to me in this configuration -- I can just use 4096, but I thought it should be published). 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 --- Computer Science

Re: RAID device nomination (Feature request)

2013-04-18 Thread Hugo Mills
connectors look regrettably similar to HDMI connectors in the half-light under the desk. (*) 5 TB after RAID-1. -- === 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 somewhere along the line

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