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
, 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
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
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
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
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
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
(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
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
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
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
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
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
#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
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
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
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
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
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
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
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
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
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
$ 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
#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
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
?
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
#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
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
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
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
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
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
.
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
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
) 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
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
).
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
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
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
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
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
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
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
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
. 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
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
'.
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
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
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
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
* 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
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
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
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
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
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
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
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
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
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
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
.
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
. 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
.
--
=== 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
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
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
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
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
), 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
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
), 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
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
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
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
-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
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
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
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
*** 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
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
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
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
?
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
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
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
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
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
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
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
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
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
, 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
:
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
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
.
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
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
.
--
=== 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
:
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
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
501 - 600 of 1315 matches
Mail list logo