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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [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: data integrity in btrfs

2011-12-30 Thread Hugo Mills
userspace, there is a feature called scrub which will read both copies of all of the data blocks in the filesystem and compare them to each other. If there is a mismatch with a failed checksum, scrub will rewrite the broken block to fix it. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: btrfs-tools in Debian squeeze-backports?

2012-01-02 Thread Hugo Mills
$ cd btrfs-tools-0.19+2005 $ fakeroot debian/rules $ sudo dpkg -i ../btrfs-tools-0.19+2005.deb # This may be a different name Hugo. [1] http://btrfs.ipv5.de/index.php?title=Btrfs_source_repositories#Official_repository -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: btrfs-tools in Debian squeeze-backports?

2012-01-02 Thread Hugo Mills
#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F [2] http://btrfs.ipv5.de/index.php?title=SysadminGuide -- === 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 on a 30-day diet. So far I've lost 18 days

Re: (renamed thread) btrfs metrics

2012-01-02 Thread Hugo Mills
pretty slow for many operations at the subvolume level. If you want anything on a per-subvolume basis, then you'll have to wait for Arne to finish the work on quotas. Hugo. [1] http://btrfs.ipv5.de/index.php?title=Data_Structures -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: btrfsprogs source code

2012-01-04 Thread Hugo Mills
? That wiki is read-only, unfortunately. The up-to-date wiki is at [1], and we'll be decanting that back onto the kernel.org one when the kernel.org wiki is back in full working order. Hugo. [1] http://btrfs.ipv5.de/ -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Why does Btrfs allow raid1 with mismatched drives? Also: How to look behind the curtain

2012-01-05 Thread Hugo Mills
#Why_does_df_show_incorrect_free_space_for_my_RAID_volume.3F -- === 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 --- vi: The core of evil. --- signature.asc Description

Re: revert to static snapshot on reboot

2012-01-09 Thread Hugo Mills
then. For btrfs, you should be running the latest release kernel (3.2 currently) at the *minimum*. Preferably, you should be running the (later-series) -rc kernels; I'd avoid -rc1 or -rc2, but by -rc3 or so it's usually stabilised to the point that it's usable. Hugo. -- === Hugo Mills: hugo

Re: revert to static snapshot on reboot

2012-01-12 Thread Hugo Mills
and a snapshot of 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 --- 2 + 2 = 5, for sufficiently large values of 2. --- signature.asc Description: Digital signature

Re: Can't resize second device in RAID1

2012-01-13 Thread Hugo Mills
can I resize /dev/sdb3? I think the syntax you need is btrfs fi resize max /mnt/RootFS:2 But I could be wrong. If it works, can you add it to the UseCases page on the wiki, please? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: broken fs, kernel BUG at fs/btrfs/free-space-cache.c:1327

2012-01-15 Thread Hugo Mills
fs tree bytes: 2131046400 btree space waste bytes: 623403397 file data blocks allocated: 9324512 referenced 79978369024 Btrfs Btrfs v0.19 -- Regards, Nico -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: [RFC][PATCH 1/2] Btrfs: try to allocate new chunks with degenerated profile

2012-01-18 Thread Hugo Mills
of performance guarantees. (I'd definitely support some way of defining a fixed-width stripe, but that's a whole separate question that we shouldn't get into now). ENOSPC is the best choice for both in my opinon. -Jan -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Single drive volume + second drive - RAID1?

2012-01-23 Thread Hugo Mills
. Yes, balances are not interruptible right now. The restriper patches (in 3.3-rc1) will allow you to monitor balance progress and stop/restart them. They will also allow you to change RAID levels on the fly, which is what you were asking for in the first place. Hugo. -- === Hugo Mills: hugo

Re: Will BTRFS repair or restore data if corrupted?

2012-01-26 Thread Hugo Mills
that a file has been fixed? No, it'll just return the good copy and report the failure in the system logs. If you want to fix the corrupt data, you need to use scrub, which will check everything and fix blocks with failed checksums. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: btrfs filesystem df command oddly named?

2012-01-26 Thread Hugo Mills
) will report on subvolumes and/or sets of 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 --- UNIX: British manufacturer of modular shelving units. --- signature.asc

Re: Packed small files

2012-01-31 Thread Hugo Mills
on the disks, unless you create the FS with metadata set to single. I don't know how these figures compare with other filesystems. My entirely uneducated guess is that they're probably comparable, with the exception of the DUP effect. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: Btrfs out of inodes becomes corrupt

2012-02-06 Thread Hugo Mills
). I think you meant 3.2 or 3.3-rc2. I did indeed. Thanks for the correction. 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's so bad about being drunk? You ask a glass

Re: [PATCH 0/3] Btrfs-progs: restriper interface

2012-02-07 Thread Hugo Mills
and an action. That should mean that we have filesystem balance as a synonym for balance start, and all the other restriper functions under balance XYZ. Then the remaining parameter will always be the filesystem path. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Btrfs out of inodes becomes corrupt

2012-02-08 Thread Hugo Mills
type. So if you have, say 5G allocated for metadata, but only 500M used, you could gain back a large amount (but probably not all) of the unused 4.5G by running a balance. Hugo. Thanks again for your assistance! Tommy On Mon, Feb 06, 2012 at 11:40:31AM +, Hugo Mills wrote

Re: brtfs on top of dmcrypt with SSD. No corruption iff write cache off?

2012-02-15 Thread Hugo Mills
months and counting) while kernel.org is static-pages-only. 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 --- The English language has the mot juste for every occasion

Re: btrfs open_ctree failed (after recent Ubuntu update)

2012-02-19 Thread Hugo Mills
kernel from there on Kubuntu 11.10 and it is fine (modulo boot time complaints about the apparmour stuff). cheers, Chris -- === 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: Balance RAID10 with odd device count

2012-02-20 Thread Hugo Mills
guarantee is. I understand that there will be additional features coming along Real Soon Now (possibly at the same time that RAID-5 and -6 are integrated) which will allow the selection of larger numbers of copies. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Balance RAID10 with odd device count

2012-02-20 Thread Hugo Mills
sizes too). but because it's a filesystem and not a block-based system it should be smart enough to care only about the duplication and striping of data, and not the actual block-level or extent-level balancing. Hugo. [1] http://btrfs.ipv5.de/index.php?title=SysadminGuide -- === Hugo

Re: Balance RAID10 with odd device count

2012-02-20 Thread Hugo Mills
On Mon, Feb 20, 2012 at 08:13:43PM -0500, Tom Cameron wrote: On Mon, Feb 20, 2012 at 8:07 PM, Hugo Mills h...@carfax.org.uk wrote:   However, you can remove any one drive, and your data is fine, which is what btrfs's RAID-1 guarantee is. I understand that there will be additional features

Re: Balance RAID10 with odd device count

2012-02-20 Thread Hugo Mills
. And if there is not enough rest space for the data, the remove operations will fail. Or what am I missing? The typo. :) He said he meant removing any 2 drives in the follow-up mail. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: Balance RAID10 with odd device count

2012-02-20 Thread Hugo Mills
to know about), but aren't necessarily linearly-spaced, particularly if you've done a balance or partial balance before. i.e. they're an indication that something's happening, but not how much more of it there is to go. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: Balance RAID10 with odd device count

2012-02-20 Thread Hugo Mills
'. Is there a difference in BTRFS between dup and raid10? -- === 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. 4: Future Perfect --- signature.asc

Re: Balance RAID10 with odd device count

2012-02-22 Thread Hugo Mills
On Wed, Feb 22, 2012 at 11:22:08AM +0100, Hubert Kario wrote: On Wednesday 22 of February 2012 09:56:27 Xavier Nicollet wrote: Le 21 February 2012 ? 07:54, Hugo Mills a écrit: Some time ago, I proposed the following scheme: nCmSpP where n is the number of copies (suffixed

Re: filesystem full when it's not? out of inodes? huh?

2012-02-26 Thread Hugo Mills
be reused, though. It's possible you've hit this one -- particularly if you're trying to untar something, which performs lots and lots of writes all in one transaction. Again, there's been some work on this since 3.0. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: LABEL only 1 device

2012-02-26 Thread Hugo Mills
sense to talk about putting an FS label on only one of the devices that the FS is on. 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 am the author. You are the audience. I outrank

Re: LABEL only 1 device

2012-02-26 Thread Hugo Mills
* are labelled. I think that with a GPT you can refer to the disk itself and its partitions by a UUID each, but I'm not 100% certain. 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: LABEL only 1 device

2012-02-27 Thread Hugo Mills
partitions). If you want to do that, use btrfs filesystem label. And that seems to work as I expected - fine. Adding a device works, deleting a device works. Fine! Now I'll try the job with my Terabyte disks. (Yes - I have backups ...) Viele Gruesse! Helmut -- === Hugo Mills: hugo

Re: btrfs-convert options

2012-02-27 Thread Hugo Mills
mkfs.btrfs (and then copy the backup) when I want these options? The other alternative is to get hold of 3.3-rcX and the latest userspace tools (currently in the dangerdonteveruse branch, but should be in master very soon), and use the restriper after you've converted. Hugo. -- === Hugo

Re: LABEL only 1 device

2012-02-27 Thread Hugo Mills
this behaviour as a bug. 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: Digital

Re: LABEL only 1 device

2012-02-27 Thread Hugo Mills
tables: done Writing inode tables: done Writing superblocks and filesystem accounting information: done hrm@ruth:~ $ sudo mount /dev/loop0 /mnt hrm@ruth:~ $ ls /mnt lost+found hrm@ruth:~ $ Hugo. -- === Hugo Mills: hugo

Re: SELinux inode size gotcha in btrfs.

2012-02-27 Thread Hugo Mills
is with different inode sizes... Without some kind of indication what the issue really is, it's kind of hard to say how this might affect btrfs. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: SELinux inode size gotcha in btrfs.

2012-02-28 Thread Hugo Mills
SELinux (after the recent Linux conf au 2012 talk) and know I have used inode size defaults for my xfs init back in the day! I certainly didn't read it as such. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: ?Understanding metadata efficiency of btrfs

2012-03-06 Thread Hugo Mills
in it is approximately log(n)/log(121). A tree with a billion items in it would have a maximum depth of 5. -- === 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 believe that it's closely

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

2012-03-17 Thread Hugo Mills
not sure what you need from me. Only half a year? :) I sat on my broken 6TB array for a year before I gave up and recovered the data I didn't have in backups... (And for the same reason you have -- I ran out of space on the secondary storage) Hugo. -- === Hugo Mills: hugo

Re: not enough space with data raid0

2012-03-17 Thread Hugo Mills
about the performance gain from striping, then you're going to have to lose some usable 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 am but mad north-north-west: when

Re: not enough space with data raid0

2012-03-17 Thread Hugo Mills
restoring from a backup? Lots of data heading to btrfs without a pause. Again, not the issue here. 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 am but mad north-north-west

Re: not enough space with data raid0

2012-03-17 Thread Hugo Mills
. I stress there is a difficulty with my understanding not btrfs. 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 --- UNIX: Spanish manufacturer of fire extinguishers

Re: not enough space with data raid0

2012-03-17 Thread Hugo Mills
. no) redundancy. Hugo. (*) actually the allocator will kind of stripe the data in 1GiB-wide stripes, but that's incidental really. -- === 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 --- A diverse working

Re: not enough space with data raid0

2012-03-19 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 the future, terrorists won't be carrying their ID cards. --- They'll be carrying yours. -- Henry

Re: heterogeneous raid1

2012-03-23 Thread Hugo Mills
automatically rebalance after a new device is added, but more that the feature probably shouldn't be in the kernel. Hugo. [snip] -- === 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 --- UNIX: British

Re: Invalid argument when mounting a btrfs raid1 filesystem

2012-03-24 Thread Hugo Mills
for sending that data to the kernel, and a userspace tool (btrfs dev scan) that enumerates all of the block devices it can see, looks for a btrfs superblock on them, and tells the kernel. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

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

2012-03-26 Thread Hugo Mills
while he's doing that. 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 --- Anyone who claims their cryptographic protocol is secure is --- either a genius or a fool. Given

Re: btrfs: open_ctree failed

2012-03-26 Thread Hugo Mills
any data that's not backed up (you *do* have backups, right? for an experimental filesystem?). See the wiki at [1]. Hugo. [1] http://btrfs.ipv5.de/index.php?title=Restore -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Re: btrfs: open_ctree failed

2012-03-26 Thread Hugo Mills
), or the latest -rc (still also 3.3 right now, but going up to 3.4-rc1 in a few days' time). Both should be available in the kernel PPA. 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: open_ctree failed

2012-03-27 Thread Hugo Mills
at 3:47 PM, Hugo Mills h...@carfax.org.uk wrote: On Mon, Mar 26, 2012 at 03:36:13PM -0700, Not Zippy wrote: Hugo I did try the dangerdonteveruse branch and thats the error btrfsck --repair gave me.   Oooh, a brave one, I see. ;) Looks like the btrfs-restore command may work (thanks

Re: hard links

2012-04-04 Thread Hugo Mills
), but it's not been published yet. I created hard links of a file in the same directory until no additional one can be created. Eg.: touch a for i in {1..1000}; do ln a $i; done; This is a little odd, but I don't really know what the internals of mv try to do... Hugo. -- === Hugo Mills

Re: Wiki update request: source repo page Was: [PATCH] Btrfs: use i_version instead of our own sequence

2012-04-12 Thread Hugo Mills
not heard any concrete reason why one shouldn't be used except ooh, I don't understand them, and they're scary!. 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 year

Re: btr fs unmountable after disk failure

2012-04-13 Thread Hugo Mills
is enabled [ 1070.203310] btrfs: failed to read the system array on sde [ 1070.204458] btrfs: open_ctree failed (Sparse error message, innit..) I think you need -o degraded in this case. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: Wiki update request: source repo page Was: [PATCH] Btrfs: use i_version instead of our own sequence

2012-04-13 Thread Hugo Mills
On Thu, Apr 12, 2012 at 10:56:00PM +, Duncan wrote: Hugo Mills posted on Thu, 12 Apr 2012 22:55:46 +0100 as excerpted: The general advice is -- use a single-device root filesystem, or an initramfs. These are simple, supported, and will generally get good help. Any other configuration

Re: Interpreting Output of btrfs fi show

2012-04-29 Thread Hugo Mills
-for-block copy of a btrfs filesystem looks like it's a part of the original FS, and you can't mount both the original and the copy on the same machine at the same time. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: How file store when using Btrfs on multi-devices? What happen when a device fail?

2012-05-03 Thread Hugo Mills
is 64KiB, I think), the blocks will be spread across all disks. If the file is highly fragmented, this is a statistical statement; if the file is contiguous, it is a guarantee. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: Can't mount

2012-05-03 Thread Hugo Mills
backups that you can restore from. Hugo. [1] http://btrfs.ipv5.de/index.php?title=Restore -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- emacs: Eats Memory and Crashes

Re: BTRFS Benchmarking

2012-05-04 Thread Hugo Mills
is -- is a lower value better or worse? Thanks, 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 --- SCSI is usually fixed by remembering that it needs three --- terminations

Re: btrfs device delete missing problem

2012-05-05 Thread Hugo Mills
*** Some devices missing btrfs fi show doesn't go through the kernel to get its information -- it simply reads the data on the disks directly. This means that if the kernel hasn't flushed changes to disk, btrfs fi show will be out of date, as you've got here. Hugo. -- === Hugo Mills

Re: Is it possible to reclaim block groups once they are allocated to data or metadata?

2012-05-05 Thread Hugo Mills
of your metadata, putting it through the allocator again, and removing the original allocated chunks. This should have the effect of reducing the allocation of metadata chunks. You will need a 3.3 kernel, or later, and an up-to-date userspace from cmason's git repository. Hugo. -- === Hugo Mills

Re: Is it possible to reclaim block groups once they are allocated to data or metadata?

2012-05-06 Thread Hugo Mills
chunks which are less than some amount full -- but is the value a percentage, or a quantity in megabytes (power-of-10 or power-of-2), or something else? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: btrfs-raid10 - btrfs-raid1 confusion

2012-05-06 Thread Hugo Mills
Data: total=8.00MB, used=0.00 System, RAID1: total=40.00MB, used=324.00KB System: total=4.00MB, used=0.00 Metadata, RAID1: total=112.50GB, used=3.21GB Metadata: total=8.00MB, used=0.00 Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: btrfs-raid10 - btrfs-raid1 confusion

2012-05-06 Thread Hugo Mills
? The space is automatically allocated as it's needed. 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 --- Hey, Virtual Memory! Now I can have a *really big* ramdisk

Re: btrfs and 1 billion small files

2012-05-07 Thread Hugo Mills
by handle indexes on its own. XFS will have its own set of indexes and file metadata -- it wouldn't be much of a filesystem if it didn't. 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 3.3.4 damages filesystem (?)

2012-05-07 Thread Hugo Mills
it to a set of other disks? If you have RAID-1 or RAID-10 on both data and netadata, then you _should_ in theory just be able to remove the dead disk (physically), then btrfs dev add a new one, btrfs dev del missing, and balance. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: btrfs and 1 billion small files

2012-05-07 Thread Hugo Mills
will apply to inline file data. Again, someone else may be able to answer; and you should probably test it with your own use-cases anyway. Hugo. [1] http://btrfs.ipv5.de/index.php?title=Trees -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: kernel 3.3.4 damages filesystem (?)

2012-05-07 Thread Hugo Mills
to the additional stress of the power-down/reboot finally pushing a bad drive over the edge. ] In sympathy, 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 --- But somewhere

Re: kernel 3.3.4 damages filesystem (?)

2012-05-07 Thread Hugo Mills
that. There may be a kernel patch you need to stop it doing the silly single → raid0 upgrade automatically, as well. 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 3.3.4 damages filesystem (?)

2012-05-07 Thread Hugo Mills
the next one... 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 --- ... one ping(1) to rule them all, and in the --- darkness bind(2) them

Re: kernel 3.3.4 damages filesystem (?)

2012-05-08 Thread Hugo Mills
you. Every fs will be unusable if you lose one disk in a raid0 setup. That's all what we are trying to tell you for the last 15 mails :) I think he's got the point by now. Can we stop this thread now, please? It doesn't seem to be serving any further purpose. Hugo. -- === Hugo Mills: hugo

Re: kernel 3.3.4 damages filesystem (?)

2012-05-08 Thread Hugo Mills
orderly and planned removal of a hard disk, and disk goes away with no warning. This is essentially the difference you've been talking about at cross-purposes all day. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from

Re: failed disk (was: kernel 3.3.4 damages filesystem (?))

2012-05-09 Thread Hugo Mills
, instead of just this? # mkfs.btrfs -m raid1 -d single /dev/sdl1 /dev/sdk1 /dev/sdm1 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 --- Comic Sans goes into a bar, and the barman

Re: failed disk

2012-05-09 Thread Hugo Mills
: make a cluster of 2 deivces fill them with data add a third device delete the smallest device What are you testing? And by delete do you mean btrfs dev delete or pull the cable out? Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: kernel 3.3.4 damages filesystem (?)

2012-05-10 Thread Hugo Mills
work on the scale of chunks/block groups. There is a further consideration, which is the allocation of file data to block groups, which is a whole different thing again (and not something I know a great deal about), but which will also affect the desired outcome quite a lot. Hugo. -- === Hugo

Re: How can I create useful bug reports? Here are 50 lines of messages including Call Trace from a system crash.

2012-05-17 Thread Hugo Mills
. Hugo. [1] git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git [2] git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git [3] git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Newbie questions on some of btrfs code...

2012-05-18 Thread Hugo Mills
terminology, a stripe is a contiguous (256MiB or 1GiB) sequence of bytes on a single disk. RAID stripes (e.g. RAID-0, -10) are actually called sub-stripes in the btrfs code. There's also no clearly-defined use of the terms chunk and block group. HTH, Hugo. -- === Hugo Mills: hugo

Re: Newbie questions on some of btrfs code...

2012-05-18 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 my day, we didn't have fancy high numbers. We had --- nothing, one, twain and multitudes

Re: Cant mount multi-subvolume via fstab

2012-05-23 Thread Hugo Mills
: top-level `--- root# default subvolume mounted as / `--- home `--- usr then you should be able to (and have to) mount them separately. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net

Re: Preparing single-disk setup for future multi-disk usage

2012-05-24 Thread Hugo Mills
and not that you are going to have them. The conversion code is quite new, so there's few examples out there right now. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- There are three

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