Re: Question of stability

2010-09-19 Thread Hugo Mills
. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Be pure. Be vigilant. Behave. --- signature.asc Description: Digital signature

Some devices missing behaviour

2010-10-09 Thread Hugo Mills
is still broken by the removed device, even after all data on it has been zeroed. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I hate housework. You make the beds, you wash

Re: converting one-disk btrfs into RAID-1?

2010-10-12 Thread Hugo Mills
=36.00KB This is the latest btrfs git kernel and tools. What should I be seeing here? Hugo. -- === Hugo Mills: h...@... 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

Metadata size

2010-10-14 Thread Hugo Mills
value was closer to 15K/object until my last batch of writing, which was the 171 1G+ files (and a few in the 100M-1G range), plus an equal number of small (2K) files. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Apologies

2010-10-17 Thread Hugo Mills
I'm sorry about those last mails of mine. Clearly, nobody actually uses quilt mail to send mails. Or at least has never documented clearly how they do it. I shall test some more and try again. Irritated and embarrassed, Hugo. -- === Hugo Mills: h...@... carfax.org.uk

Re: [patch 2/4] Add an option to show ISO, binary or raw bytes counts using df.

2010-10-18 Thread Hugo Mills
was trying not to change the default behaviour at all, but with -h/-H (and no switch for --raw), that would make sense. I'll re-roll the patches. (And update the man pages, as Goffredo asked). Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

csum errors, and resizing...

2010-10-21 Thread Hugo Mills
is to delete some of the files with bad checksums (I have backups) and see if I can get any further with the resize. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- We teach people

[patch v2 0/4] Size reporting in userspace tools

2010-10-21 Thread Hugo Mills
suggestion of defaulting to raw, and matching coreutils' use of -h and -H. I've also updated the man pages as requested by Goffredo. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I

[patch v2 2/4] Add an option to show ISO, binary or raw bytes counts using df.

2010-10-21 Thread Hugo Mills
Change btrfs filesystem df to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c|6 +++--- btrfs_cmds.c | 42 -- man/btrfs.8.in |8 3 files changed, 47

[patch v2 4/4] Add an option to show ISO, binary or raw bytes counts using btrfs-show.

2010-10-21 Thread Hugo Mills
Change btrfs-show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-show.c| 27 +++ man/btrfs-show.8.in | 10 -- 2 files changed, 27 insertions(+), 10 deletions(-) Index: btrfs

[patch v2 3/4] Add an option to show ISO, binary or raw bytes counts using show.

2010-10-21 Thread Hugo Mills
Change btrfs filesystem show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c|2 +- btrfs_cmds.c | 45 ++--- man/btrfs.8.in | 10 ++ 3 files changed, 49

[patch v2 1/4] Update pretty-printer for different systems of counting multiples.

2010-10-21 Thread Hugo Mills
Make the pretty-printer for data sizes capable of printing in ISO (powers of 10^3), binary (powers of 2^10) or raw (a simple byte count). Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-show.c |7 --- btrfs_cmds.c | 13 - mkfs.c |3 ++- utils.c | 48

[patch v3 3/4] Add an option to show ISO, binary or raw bytes counts using show.

2010-10-26 Thread Hugo Mills
Change btrfs filesystem show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c|2 +- btrfs_cmds.c | 45 ++--- man/btrfs.8.in | 15 ++- 3 files

[patch v3 1/4] Update pretty-printer for different systems of counting multiples.

2010-10-26 Thread Hugo Mills
Make the pretty-printer for data sizes capable of printing in ISO (powers of 10^3), binary (powers of 2^10) or raw (a simple byte count). Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-show.c |7 --- btrfs_cmds.c | 13 - mkfs.c |3 ++- utils.c | 48

[patch v3 0/4] Size reporting of btrfs tool

2010-10-26 Thread Hugo Mills
suggestion of defaulting to raw, and matching coreutils' use of -h and -H. I've also updated the man pages and command help as requested by Goffredo. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

[patch v3 4/4] Add an option to show ISO, binary or raw bytes counts using btrfs-show.

2010-10-26 Thread Hugo Mills
Change btrfs-show to allow the user to control the scales used for sizes in the output. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs-show.c| 27 +++ man/btrfs-show.8.in | 10 -- 2 files changed, 27 insertions(+), 10 deletions(-) Index: btrfs

[patch 0/2] Control filesystem balances (kernel side)

2010-10-29 Thread Hugo Mills
, but exposing the expected and remaining values as files has an attractive simplicity to it. The user-space side of things are in a separate patch series, to follow. Please be gentle with me, this is my first (serious, non-trivial) kernel patch. :) Hugo. -- === Hugo Mills: h...@... carfax.org.uk

[patch 1/2] Balance progress monitoring.

2010-10-29 Thread Hugo Mills
This patch introduces a basic form of progress monitoring for balance operations, by counting the number of block groups remaining. The information is exposed to userspace by an ioctl. Signed-off-by: Hugo Mills h...@carfax.org.uk --- fs/btrfs/ctree.h |9 fs/btrfs/disk-io.c |2

[patch 2/2] Cancel filesystem balance.

2010-10-29 Thread Hugo Mills
This patch adds an ioctl for cancelling a btrfs balance operation mid-flight. The ioctl simply sets a flag, and the operation terminates after the current block group move has completed. Signed-off-by: Hugo Mills h...@carfax.org.uk --- fs/btrfs/ctree.h |1 + fs/btrfs/ioctl.c | 25

[patch 0/2] Control filesystem balances (userspace)

2010-10-29 Thread Hugo Mills
could add btrfs balance start path as a synonym for btrfs filesystem balance path, for some degree of consistency. At some point, I'll add a monitor function, which will poll at 1s intervals for progress updates, and print out progress when it changes. Hugo. -- === Hugo Mills: h

[patch 2/2] User-space tool for cancelling balance operations.

2010-10-29 Thread Hugo Mills
Add an option to the btrfs tool to use the ioctl for cancelling balance operations. SIgned-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c |4 btrfs_cmds.c | 41 + btrfs_cmds.h |1 + ioctl.h |1 + 4 files changed, 47

Re: [patch 1/2] Balance progress monitoring.

2010-10-30 Thread Hugo Mills
On Sat, Oct 30, 2010 at 01:07:27AM +0100, Hugo Mills wrote: This patch introduces a basic form of progress monitoring for balance operations, by counting the number of block groups remaining. The information is exposed to userspace by an ioctl. Dammit. An unrefreshed quilt patch let

Re: Horrible btrfs performance due to fragmentation

2010-10-31 Thread Hugo Mills
. Hugo. -- === Hugo Mills: h...@... 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 signature

Re: [patch 1/2] Balance progress monitoring (updated)

2010-11-01 Thread Hugo Mills
On Mon, Nov 01, 2010 at 04:06:53PM +0800, liubo wrote: On 10/30/2010 09:39 PM, Hugo Mills wrote: This patch introduces a basic form of progress monitoring for balance operations, by counting the number of block groups remaining. The information is exposed to userspace by an ioctl. IMO

Re: [patch 0/2] Control filesystem balances (kernel side)

2010-11-01 Thread Hugo Mills
On Sat, Oct 30, 2010 at 07:44:35PM +0200, Goffredo Baroncelli wrote: On Saturday, 30 October, 2010, Hugo Mills wrote: One fundamental question, though -- is the progress monitor function best implemented as an ioctl, as I've done here, or should it be two or three sysfs files? I'm

Re: [PATCH v2] btrfs-progs: btrfs: implement 'start-sync' and 'wait-sync' commands

2010-11-03 Thread Hugo Mills
the behavior. Even tough I have to admint that sync --async sound strange. May be flush is better ? How about btrfs filesystem sync --background? Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: RFC: exporting info via sysfs [was Re: [patch 0/2] Control filesystem balances (kernel side)]

2010-11-05 Thread Hugo Mills
there are significant difficulties in making btrfs or sysfs do this, or just because you hacked something together as quickly as possible for a demo? Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: time for balance

2010-11-09 Thread Hugo Mills
the balance is running, the filesystem should remain in a consistent state (assuming that you have working barriers). Note that if you restart the balance process, it will effectively start from the beginning again. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: labelling

2010-11-10 Thread Hugo Mills
that has been allocated to block groups. As more space is needed on the filesystem, the total field will increase to use up the additional raw storage (if you're using RAID1 or RAID10, this will be at a ratio of 2:1; with RAID0 or simple allocation, the ratio is 1:1). Hugo. -- === Hugo Mills: h

Re: Unhelpful error message from btrfs tool

2010-11-11 Thread Hugo Mills
the weekend. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- The future isn't what it used to be. --- signature.asc Description: Digital signature

[PATCH v2 3/3] User-space tool for cancelling balance operations.

2010-11-11 Thread Hugo Mills
Add an option to the btrfs tool to use the ioctl for cancelling balance operations. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c |4 btrfs_cmds.c | 41 + btrfs_cmds.h |1 + ioctl.h |1 + 4 files changed, 47

[PATCH v2 1/3] Balance progress monitoring.

2010-11-11 Thread Hugo Mills
are available under one prefix. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs.c|8 +++ btrfs_cmds.c | 60 btrfs_cmds.h |1 + ioctl.h|7 ++ man/btrfs.8.in |7 ++ 5 files changed, 83

[PATCH v2 0/3] Balance management, userspace side

2010-11-11 Thread Hugo Mills
allows a running balance to be cancelled. Hugo Mills (3): Balance progress monitoring. Add --monitor option to btrfs balance progress. User-space tool for cancelling balance operations. btrfs.c| 12 btrfs_cmds.c | 187

[PATCH v2 1/2] Balance progress monitoring.

2010-11-11 Thread Hugo Mills
This patch introduces a basic form of progress monitoring for balance operations, by counting the number of block groups remaining. The information is exposed to userspace by an ioctl. Signed-off-by: Hugo Mills h...@carfax.org.uk --- fs/btrfs/ctree.h |9 +++ fs/btrfs/disk-io.c |2

[PATCH v2 0/2] Balance management, kernel side

2010-11-11 Thread Hugo Mills
suggestion of tracking the current block group ID (I'll take that discussion up with him separately -- basically it's not a good fit with the polling method required by this ioctl). Hugo Mills (2): Balance progress monitoring. Cancel filesystem balance. fs/btrfs/ctree.h | 10 fs/btrfs

[PATCH v2 2/3] Add --monitor option to btrfs balance progress.

2010-11-11 Thread Hugo Mills
For the impatient, this patch introduces the pot-watching --monitor option, which checks the balance progress at regular intervals, and updates a single status line with the current progress and an estimated completion time. Signed-off-by: Hugo Mills h...@carfax.org.uk --- btrfs_cmds.c | 102

[PATCH v2 2/2] Cancel filesystem balance.

2010-11-11 Thread Hugo Mills
This patch adds an ioctl for cancelling a btrfs balance operation mid-flight. The ioctl simply sets a flag, and the operation terminates after the current block group move has completed. Signed-off-by: Hugo Mills h...@carfax.org.uk --- fs/btrfs/ctree.h |1 + fs/btrfs/ioctl.c | 28

Re: [PATCH v2 2/2] Cancel filesystem balance.

2010-11-12 Thread Hugo Mills
work to make the balance a kernel thread. I'd prefer the former, for ease of implementation. Hugo. -- === Hugo Mills: h...@... 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. 3

Re: [PATCH v2 2/2] Cancel filesystem balance.

2010-11-12 Thread Hugo Mills
On Fri, Nov 12, 2010 at 11:36:55AM +, Hugo Mills wrote: On Fri, Nov 12, 2010 at 03:28:08PM +1100, Chris Samuel wrote: On 12/11/10 12:33, Li Zefan wrote: Is there any blocker that prevents us from canceling balance by just Ctrl+C ? Given that there's been at least 1 report

Re: my mail

2010-11-12 Thread Hugo Mills
On Fri, Nov 12, 2010 at 07:33:57PM +, h...@carfax.org.uk wrote: From 2de353ddda78ef5cbc84e1d3267606bc44e48faa Mon Sep 17 00:00:00 2001 Gaah. This worked last night. Sorry. :( -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: Update to Project_ideas wiki page

2010-11-17 Thread Hugo Mills
. I would be interested in the rebalancing ioctls, and in RAID level management. I'm still very much trying to learn the basics, though, so I may go very slowly at first... Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: Update to Project_ideas wiki page

2010-11-17 Thread Hugo Mills
unchanged for this particular issue, as they don't make much difference to the naming, but patches to the userspace side of things (mkfs.btrfs and btrfs fi df specifically) should be fairly straightforward. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: Update to Project_ideas wiki page

2010-11-17 Thread Hugo Mills
On Wed, Nov 17, 2010 at 07:14:47PM +0100, Andreas Philipp wrote: On 17.11.2010 18:56, Hugo Mills wrote: On Wed, Nov 17, 2010 at 04:12:29PM +0100, Bart Noordervliet wrote: Can I suggest we combine this new RAID level management with a modernisation of the terminology for storage redundancy

Re: A little confused about what remains to make a stable release

2010-11-17 Thread Hugo Mills
on the wiki for the latter). Hugo. /2-penn'orth -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- The trouble with you, Ibid, is you think you know everything

Re: A little confused about what remains to make a stable release

2010-11-18 Thread Hugo Mills
can have in a directory is kinda irksome. Also, dedup needs a way to verify/dedup safely before people can start doing stuff like deduping live VM images. Hugo. [1] https://btrfs.wiki.kernel.org/index.php/Main_Page -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: SI units

2010-11-18 Thread Hugo Mills
them again). In the meantime, I'm afraid you'll have to apply the patches manually. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Questions are a burden, and answers a prison

Re: btrfs problems and fedora 14

2010-11-22 Thread Hugo Mills
. What are you trying to do, exactly, and how is it failing? Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I believe that it's closely correlated

Re: Errors during defragmentation

2010-11-29 Thread Hugo Mills
I get ready for a bad crash? ;-) (There seems to be no data loss so far. No new messages in dmesg, no unexpected system behavior.) Hugo. - -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: What to do about subvolumes?

2010-12-01 Thread Hugo Mills
for dealing with all the implications of COW copies. :( Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I believe that it's closely correlated

Re: What to do about subvolumes?

2010-12-01 Thread Hugo Mills
On Wed, Dec 01, 2010 at 12:38:30PM -0500, Josef Bacik wrote: On Wed, Dec 01, 2010 at 04:38:00PM +, Hugo Mills wrote: On Wed, Dec 01, 2010 at 09:21:36AM -0500, Josef Bacik wrote: === Quotas === This is a huge topic in and of itself, but Christoph mentioned wanting to have

Re: What to do about subvolumes?

2010-12-01 Thread Hugo Mills
On Wed, Dec 01, 2010 at 12:24:28PM -0800, Freddie Cash wrote: On Wed, Dec 1, 2010 at 11:35 AM, Hugo Mills hugo-l...@carfax.org.uk wrote:  The idea is you are only charged for what blocks you have on the disk.  Thanks,   My point was that it's perfectly possible to have blocks

Re: 800 GByte free, but no space left

2010-12-05 Thread Hugo Mills
differently sized disks in a btrfs, subdivide the disks in equal sized partitions, and just put all of those partitions in a btrfs raid0... [...] That would be a really bad idea, as your disks would thrash horribly, reading stripes from different locations on the disk. Hugo. -- === Hugo

Re: 800 GByte free, but no space left

2010-12-06 Thread Hugo Mills
a newer one: can that lead to more free space? Not yet. I've taken the whole of December off work (using up my leave allocation for last year), and my plan is to get myself to the point where I can understand enough of the code to fix this particular problem. Hugo. -- === Hugo Mills: h

Re: 800 GByte free, but no space left

2010-12-06 Thread Hugo Mills
to be the same as mine) is that there are some circumstances where the filesystem can change RAID levels pretty much arbitrarily. Running btrfs fi df with a kernel that reports RAID levels will show whether that's the case, as you'll have more than one RAID level listed. Hugo. -- === Hugo Mills: h

Re: 800 GByte free, but no space left

2010-12-06 Thread Hugo Mills
). Hugo. (*) My .sig fairy is clearly working overtime for appropriate quotations. :) -- === Hugo Mills: h...@... 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

Re: 800 GByte free, but no space left

2010-12-07 Thread Hugo Mills
with the right RAID parameters to write to, so it runs out of space. (I think I got that right, anyway. I'm working off a conversation with Chris on IRC some weeks ago, about what happened to my filesystem). Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP

Re: btrfs-progs branch updated

2012-07-05 Thread Hugo Mills
together another stack in approximately kernel-feature order. 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 --- Nothing right in my left brain. Nothing left

Re: btrfs fi df won't show total=

2012-07-09 Thread Hugo Mills
, used=0.00 Metadata, RAID10: total=112.00GiB, used=1.38GiB What's the problem here? You no longer have any RAID1 chunks, so it's not showing them. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: btrfs fi df won't show total=

2012-07-09 Thread Hugo Mills
On Mon, Jul 09, 2012 at 10:06:24PM +0200, Jan Engelhardt wrote: On Monday 2012-07-09 21:25, Hugo Mills wrote: On Mon, Jul 09, 2012 at 09:14:03PM +0200, Jan Engelhardt wrote: On openSUSE_12.1 with Btrfs v0.19+20120406, the following can be observed: after a change of the profiles, total

Re: Can't mount, power failure - recoverable?

2012-07-13 Thread Hugo Mills
trace that would indicate that it's falling over in the log tree replay, which is the only thing that btrfs-zero-log would help with. 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: Can't mount, power failure - recoverable?

2012-07-15 Thread Hugo Mills
://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories You will need the official -progs repository, as that's most up to date right now. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: No/bad auto-detection of fs type for small volumes (related to mixed metadata/data?)

2012-07-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 --- In theory, theory and practice are the same. In --- practice, they're different

Re: [RFC PATCH 0/6] Experimental btrfs send/receive (btrfs-progs)

2012-07-25 Thread Hugo Mills
with independently. 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 --- Turning, pages turning in the widening bath, / The spine --- cannot bear the humidity. / Books fall apart

Re: fail to mount after first reboot

2012-08-19 Thread Hugo Mills
to compute actual usable space in the general case. 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 --- In one respect at least, the Martians are a happy people

Re: fail to mount after first reboot

2012-08-19 Thread Hugo Mills
On Sun, Aug 19, 2012 at 02:33:14PM +, Daniel Pocock wrote: On 19/08/12 14:15, Hugo Mills wrote: On Sun, Aug 19, 2012 at 02:08:17PM +, Daniel Pocock wrote: I created a 1TB RAID1. So far it is just for testing, no important data on there. After a reboot, I tried to mount it again

Re: How to get Btrfs on 2nd partition of USB HDD to automount as read/write

2012-08-19 Thread Hugo Mills
options. Just use chmod. (It's only filesystems like FAT, which have no concept of permissions, which have mount options to set permissions) Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: “Bug”-report: inconsistency kernel - tools

2012-08-30 Thread Hugo Mills
the superblock is not placed at the beginning of the disk. On the basis of [1] it should be near the 64KB (around the sector #128) Just for the record, the first is at 64KiB; each subsequent one is shifted 12 bits left (256MiB, 1TiB, 4EiB, 16ZiB, 64YiB). Hugo. -- === Hugo Mills: hugo

Re: Btrfs-Progs integration branch question

2012-09-03 Thread Hugo Mills
list. I also tried Hugo Mills' integration repo at http://git.darksatanic.net/repo/btrfs-progs-unstable.git and unless I am looking at it wrong, it seems behind. It is. I'm out of date. Can someone please point me to the latest process that is followed for testing/developing recent btrfs

Re: Is my btrfs full?

2012-09-04 Thread Hugo Mills
back and ask them. Hugo. [1] https://btrfs.wiki.kernel.org/index.php/FAQ#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F [2] https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_get_.22No_space_left_on_device.22_errors.2C_but_df_says_I.27ve_got_lots_of_space -- === Hugo Mills

Re: [PATCH] Btrfs + Btrfs-progs: make pipe functions re-usable

2012-09-17 Thread Hugo Mills
script to chomp through the normal kernel logs to extract this information. 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'll take your bet, but make it ten thousand francs. I'm

Re: Rebuilding chunk root?

2012-09-24 Thread Hugo Mills
of the numbers. Out of interest, does mounting with -o recovery help at all? (I'm not expecting it to do much if your chunk tree's gone, but it might do something). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

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

Re: BTRF - Storage Usage

2012-09-27 Thread Hugo Mills
don't know how good they are at keeping up -- probably pretty good, but other people here may be able to answer that better. Hugo. Hugo Mills h...@carfax.org.uk a écrit : On Thu, Sep 27, 2012 at 12:44:27PM +0200, Sébastien Maury wrote: I've installed a new server using btrfs for my root

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

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