[no subject]

2010-11-12 Thread hugo
From 2de353ddda78ef5cbc84e1d3267606bc44e48faa Mon Sep 17 00:00:00 2001 Message-Id: 2de353ddda78ef5cbc84e1d3267606bc44e48faa.1289589812.git.h...@carfax.org.uk From: Hugo Mills h...@carfax.org.uk Date: Sat, 6 Nov 2010 00:18:12 + Subject: [PATCH] Clean up typography in the man pages. To: linux

[no subject]

2010-11-12 Thread hugo
From 2de353ddda78ef5cbc84e1d3267606bc44e48faa Mon Sep 17 00:00:00 2001 Message-Id: 2de353ddda78ef5cbc84e1d3267606bc44e48faa.1289589812.git.h...@carfax.org.uk From: Hugo Mills h...@carfax.org.uk Date: Sat, 6 Nov 2010 00:18:12 + Subject: [PATCH] Clean up typography in the man pages. To: linux

Re: btrfs receive incremental stream on another uuid

2018-09-18 Thread Hugo Mills
trfs/msg44089.html Hugo. -- Hugo Mills | Great films about cricket: Monster's No-Ball hugo@... carfax.org.uk | http://carfax.org.uk/ | PGP: E2AB1DE4 | signature.asc Description: Digital signature

Re: syslog message repeated 3x

2013-05-09 Thread Hugo Mills
: device fsid 5b4be7c4-e662-459a-a2a7-066e9384c901 devid 1 transid 4 /dev/loop1 At a guess, two of those are probably from btrfs dev scan triggered by udev. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net

Re: syslog message repeated 3x

2013-05-09 Thread Hugo Mills
On Thu, May 09, 2013 at 12:37:38PM +0200, Toralf Förster wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/09/2013 12:04 PM, Hugo Mills wrote: At a guess, two of those are probably from btrfs dev scan triggered by udev. Those messages do only appear for a btrfs, not if I choose

Re: syslog message repeated 3x

2013-05-09 Thread Hugo Mills
for you? The message is informational and doesn't indicate any kind of issue with the FS. I'd just ignore it/them. (Also, are you running btrfs dev scan beforehand or not? It'd be interesting to see the difference in your logs -- particularly with timestamps -- when you do that.) Hugo

Re: Btrfs balance invalid argument error

2013-05-10 Thread Hugo Mills
balance with target data profile 128 Isn't it possible to convert raid level to raid5? Yes, it should be possible. It looks like the kernel's got a problem with it, which is odd because 3.9 should know about RAID-5. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: Btrfs balance invalid argument error

2013-05-10 Thread Hugo Mills
got into 3.10. Hugo. Thanks for the help, Marcus 2013/5/10 Remco Hosman - Yerf IT re...@yerf-it.nl On May 10, 2013, at 10:21 PM, Hugo Mills h...@carfax.org.uk wrote: On Fri, May 10, 2013 at 10:07:56PM +0200, Marcus Lövgren wrote: Hi list, I am using kernel 3.9.0, btrfs

Re: unlinked 10 orphans - something to worry about?

2013-05-11 Thread Hugo Mills
? It's just information about a clean-up. Totally harmless. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Happiness is mandatory. Are you happy

Re: RADI6 questions

2013-06-01 Thread Hugo Mills
, so right now I wouldn't recommend using them for anything other than for testing purposes with data that's replacable. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: RAID10 total capacity incorrect

2013-06-02 Thread Hugo Mills
storage. HTH, Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I can resist everything except temptation --- signature.asc Description: Digital signature

Re: RAID10 total capacity incorrect

2013-06-02 Thread Hugo Mills
On Sun, Jun 02, 2013 at 05:52:38PM +0100, Tim Eggleston wrote: Hi Hugo, Thanks for your reply, good to know it's not an error as such (just me being an idiot!). Additional space will be allocated from the available unallocated space as the FS needs it. So I guess my question becomes

Re: RAID10 total capacity incorrect

2013-06-02 Thread Hugo Mills
consumption of raid1. So no matter how you slice it, it's confusing. It's the nature of the beast, unfortunately. So far, nobody's managed to come up with a simple method of showing free space and space usage that isn't going to be misleading somehow. Hugo. -- === Hugo Mills: hugo

Re: oops at mount

2013-06-03 Thread Hugo Mills
to the device. If that happens and then the power gets cut before the rest of the data can be written, you have a corrupt filesystem. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: btrfs raid1 on 16TB goes read-only after btrfs: block rsv returned -28

2013-06-05 Thread Hugo Mills
to copy some heavily hardlinked backups from ReiserFS, I've seen: The following block rsv returned -28 is repeated 7 times until there is a call trace for: This is ENOSPC. Can you post the output of btrfs fi df /mountpoint and btrfs fi show, please? Hugo. WARNING: at fs/btrfs/super.c

Re: btrfs raid1 on 16TB goes read-only after btrfs: block rsv returned -28

2013-06-05 Thread Hugo Mills
On Wed, Jun 05, 2013 at 04:28:33PM +0100, Martin wrote: On 05/06/13 16:05, Hugo Mills wrote: On Wed, Jun 05, 2013 at 03:57:42PM +0100, Martin wrote: Dear Devs, I have x4 4TB HDDs formatted with: mkfs.btrfs -L bu-16TB_0 -d raid1 -m raid1 /dev/sd[cdef] /etc/fstab mounts

Re: btrfs raid1 on 16TB goes read-only after btrfs: block rsv returned -28

2013-06-05 Thread Hugo Mills
On Wed, Jun 05, 2013 at 04:59:57PM +0100, Martin wrote: On 05/06/13 16:43, Hugo Mills wrote: On Wed, Jun 05, 2013 at 04:28:33PM +0100, Martin wrote: btrfs fi df: Data, RAID1: total=2.85TB, used=2.84TB Data: total=8.00MB, used=0.00 System, RAID1: total=8.00MB, used=412.00KB System

Re: Moved partition via dd

2013-06-09 Thread Hugo Mills
route to recovery. Hugo. http://www.cgsecurity.org/wiki/TestDisk -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I get nervous when I see words like 'mayhaps' in a novel

Re: raid0, raid1, raid5, what to choose?

2013-06-13 Thread Hugo Mills
not settled down into its final form quite yet. Note that RAID-5 over two devices won't give you any space benefits over RAID-1 over two devices. (Or any reliability benefits either). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from

Re: Two identical copies of an image mounted result in changes to both images if only one is modified

2013-06-20 Thread Hugo Mills
in the kernel that detects when it's being told about a duplicate image (rather than an additional device in the same FS). Neither of these has been written yet, I'm afraid. I've deleted quite a bunch of files on my production system because of this... Oops. I'm sorry to hear that. :( Hugo

Re: Two identical copies of an image mounted result in changes to both images if only one is modified

2013-06-20 Thread Hugo Mills
On Thu, Jun 20, 2013 at 10:22:07AM +, Gabriel de Perthuis wrote: On Thu, 20 Jun 2013 10:16:22 +0100, Hugo Mills wrote: On Thu, Jun 20, 2013 at 10:47:53AM +0200, Clemens Eisserer wrote: Hi, I've observed a rather strange behaviour while trying to mount two identical copies

Re: Two identical copies of an image mounted result in changes to both images if only one is modified

2013-06-20 Thread Hugo Mills
deal with the problem at the earliest point of confusion. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I know of three kinds: hot

Re: Two identical copies of an image mounted result in changes to both images if only one is modified

2013-06-20 Thread Hugo Mills
too bad. Good luck and thank you. If you want to make fast atomic incremental copies of btrfs to a remote system, then btrfs send/receive may be what you're looking for. Hugo. Sent from my iPhone On Jun 20, 2013, at 5:56 AM, Hugo Mills h...@carfax.org.uk wrote: On Thu, Jun 20, 2013

Re: raid1 inefficient unbalanced filesystem reads

2013-06-28 Thread Hugo Mills
... Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Startle, startle, little twink. How I wonder what you think. --- signature.asc Description: Digital signature

Re: Hardware failure or btrfs issue?

2013-07-02 Thread Hugo Mills
. Not that I've done anything other than a cursory check but it looks like the read only data is fine. Might be a good idea to use that to refresh your backups, just in case my prediction about the fixability is correct. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Hardware failure or btrfs issue?

2013-07-02 Thread Hugo Mills
On Tue, Jul 02, 2013 at 06:36:48PM +0100, Peter Chant wrote: On 07/02/2013 08:29 AM, Hugo Mills wrote: This is usually an indication that you have bad hardware -- I'd suggest testing RAM, PSU, CPU in that order. I'm not sure what, if anything, can be done to fix the error on the disk right now

Re: [PATCH] btrfs-progs: per-thread, per-call pretty buffer

2013-07-10 Thread Hugo Mills
insert an i in the middle of each element of size_strs should deal with the problem. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Charting the inexorable advance of Western

Re: Need help mounting broken btrfs Fedora 19

2013-07-14 Thread Hugo Mills
mount options. With grub, this should be possible to do manually at boot time. That should get yout the ability to mount the FS with just a single mirror. If that works, you can then use btrfs dev add to add the new device to the filesystem, and then a full balance to recreate the mirror. Hugo

Re: Can btrfs handle different RAID levels for different subvolumes?

2013-07-14 Thread Hugo Mills
(probably in the fairly distant future), but hasn't arrived yet. Hugo. (It has been asked already on the Net (http://unix.stackexchange.com/questions/82869/can-btrfs-handle-different-raid-levels-for-different-subvolumes) but the question didn't get the answer. I guess answering it should

Re: super block crcs don't match, older mkfs detected

2013-07-14 Thread Hugo Mills
Is this expected? Benign? Yes, I believe it's harmless and will go away after the first mount. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I gave up smoking, drinking and sex

Re: bug: corrupt filesystem, cannot delete tmp files created just before crash.

2013-07-18 Thread Hugo Mills
. Hugo. System, RAID1: total=8.00MB, used=132.00KB System: total=4.00MB, used=0.00 Metadata, RAID1: total=2.00GB, used=1.13GB Metadata: total=8.00MB, used=0.00 On Thu, Jul 18, 2013 at 10:19 AM, Sandy McArthur sandy...@gmail.com wrote: I was able to recover the filesystem using the btrfsck

Re: Questions about multi-device behavior

2013-07-18 Thread Hugo Mills
file if you do). As the file size goes up, the odds of it being damaged increase. Hugo. I briefly looked for an rsync option to keep going on source i/o errors but didn't find one. Roger -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux

Re: Different size devices in RAID

2013-07-23 Thread Hugo Mills
faster than the mSATA. This one I don't have an answer for, sorry. Hugo. Anyway, thanks for the fantastic filesystem. Sorry for the long email, but these questions have been in the back of my mind for some time now. For the first question(s) at least I have not been able to find anything

Re: Q: Why subvolumes?

2013-07-23 Thread Hugo Mills
it doesn't work. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Unix: For controlling fungal diseases in crops. --- signature.asc Description: Digital signature

Re: Adding 500G disk to btrfs volume... but I don't get 500G more of available space (raid0)

2013-07-26 Thread Hugo Mills
, it can't be used by RAID-0. If you want to use the full space available, you should rebalance to single usage, which stops the RAID-0 striping, and allocates linearly: # btrfs balance start -dconvert=single,soft /samples Hugo. $ df -h Filesystem Size Used Avail Use% Mounted

Re: Error on rebooting

2013-07-26 Thread Hugo Mills
. I've done pretty much the same thing as this myself, and a scrub, though scary in the amount of noise it made, fixed everything satisfactorily. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: Adding 500G disk to btrfs volume... but I don't get 500G more of available space (raid0)

2013-07-26 Thread Hugo Mills
On Fri, Jul 26, 2013 at 04:35:59PM +0200, Axelle wrote: Hi Hugo, Thanks for your answer, but I'm afraid I still don't get it. RAID-0 requires at least two devices. Well, I have three devices, so that's more than enough isn't it? Or do you mean I should be adding two devices at a time

Re: Mount multiple-device-filesystem by UUID

2013-07-27 Thread Hugo Mills
change. This is why we don't recommend using device= mount flags. Is this possible? What is the syntax? I don't believe it is possible. Finding filesystems by UUID is (I think) a userspace-based thing, so you'd have to have an initrd anyway. Hugo. -- === Hugo Mills: hugo

Re: How to merge two partitions?

2013-08-01 Thread Hugo Mills
be extended backwards, if you see what I mean? No, using gparted to move it backwards into the free space is your best option here. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: [PATCH v2] btrfs: add mount option to set commit interval

2013-08-03 Thread Hugo Mills
branch to work in, based on the btrfs-next branch, then merge in the other branch (or vice-versa). Note that btrfs-next is usually based on the latest released kernel anyway, so that's likely to be largely superfluous. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: building btrfs corrupt block

2013-08-04 Thread Hugo Mills
built. Suggestions? $ make btrfs-corrupt-block Some of the more outré commands aren't built by default and have to be built individually. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: check for reflink capability and for shared data

2013-08-24 Thread Hugo Mills
on disk, i.e. one has been created by cp --reflink of the other? You can't, using simple userspace tools. I think the only way would be to use the tree search ioctl to inspect the extents for each file, and see whether any of them overlap. Why do you need to know this? Hugo. -- === Hugo Mills

Re: failed to read log tree, open_ctree failed

2013-08-26 Thread Hugo Mills
, but it gives the same result. Any hints how to recover from that? I have backups, but it would be nice if the filesystem just mounted. Try mounting with both -orecovery and -oro,recovery. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: Question: How can I recover this partition? (unable to find logical $hugenum len 4096)

2013-08-26 Thread Hugo Mills
the superblock with one that works. If that's not going to be useful, fall back to btrfsck --repair. Finally, btrfsck --repair --init-extent-tree may be necessary if there's a damaged extent tree. Finally, if you've got corruption in the checksums, there's --init-csum-tree. Hugo. -- === Hugo

Re: Question: How can I recover this partition? (unable to find logical $hugenum len 4096)

2013-08-29 Thread Hugo Mills
information to make a sensible decision. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- emacs: Eighty Megabytes And Constantly Swapping. --- signature.asc Description

Re: Question: How can I recover this partition? (unable to find logical $hugenum len 4096)

2013-08-29 Thread Hugo Mills
On Thu, Aug 29, 2013 at 01:44:54PM -0600, Chris Murphy wrote: On Aug 29, 2013, at 1:40 PM, Hugo Mills h...@carfax.org.uk wrote: On Thu, Aug 29, 2013 at 01:37:51PM -0600, Chris Murphy wrote: Proceeding will roll back the file system to a previous state, and may cause the loss

Re: Question: How can I recover this partition? (unable to find logical $hugenum len 4096)

2013-08-30 Thread Hugo Mills
On Fri, Aug 30, 2013 at 09:44:28AM -0500, Eric Sandeen wrote: On 8/29/13 3:19 PM, Chris Murphy wrote: On Aug 29, 2013, at 1:53 PM, Hugo Mills h...@carfax.org.uk wrote: On Thu, Aug 29, 2013 at 01:44:54PM -0600, Chris Murphy wrote: Certainly, if known for sure it won't be more than 30

Re: Device delete returns unable to go below four devices on raid10 on 5 drive setup

2013-08-31 Thread Hugo Mills
in a later version), or should I open a bug report about it? Try 3.10 or 3.11 before filing a bug on it. If you want a debian-packaged kernel, they're available from the experimental distribution. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: Recovering from csum errors

2013-09-02 Thread Hugo Mills
this, and you've got bad RAM or PSU something... Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- What are we going to do tonight? The same thing we do --- every night

Re: Btrfs prog

2013-09-04 Thread Hugo Mills
. If I would like to show the subvolume, i get gspe@jura:/mnt$ sudo btrfs subvolume list / gspe@jura:/mnt$ nothing is shown!!! Try using the -a option. It got added a while ago, and has been a complete pain in the neck ever since... Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: btrfs-convert won't convert ext* - No valid Btrfs found on /dev/sdb1

2013-09-05 Thread Hugo Mills
On Thu, Sep 05, 2013 at 09:06:19PM +0600, Roman Mamedov wrote: On Thu, 5 Sep 2013 15:54:07 +0100 Hugo Mills h...@carfax.org.uk wrote: On Thu, Sep 05, 2013 at 05:43:27PM +0300, Тимофей Титовец wrote: Hello guys, i try to convert ext4 volume, but btrfs-convert show me error: No valid

Re: btrfs-convert won't convert ext* - No valid Btrfs found on /dev/sdb1

2013-09-05 Thread Hugo Mills
-convert can look at it as a block device rather than as a file: # losetup -f --show file /dev/loop0 # btrfs-convert /dev/loop0 Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: [GIT PULL] Btrfs

2013-09-13 Thread Hugo Mills
to include out-of-band and in-band. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Once is happenstance; twice is coincidence; three times --- is enemy

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
ago to change the names to something more logical and expressive, but it didn't get merged. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Stick them

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
). So, no. -- Can raid1 ensure that data are always duplicated on different devices AND take advantage of all available space? Depends on the relative sizes of the devices. If your largest device is bigger than the rest put together, then you'll lose some space. Hugo. Regards, Sam

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
On Thu, Sep 26, 2013 at 02:55:38PM +, miaou sami wrote: OK, that's clear. Nice space simulator btw :-) you should add a link somewhere in btrfs wiki... There is one, linked from the first line of the relevant section in the FAQ. Hugo. Thanks

Re: csum questions

2013-09-27 Thread Hugo Mills
on IRC about this very point right now. :) Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- A clear conscience. Where did you get this taste

extlinux and btrfs RAID-1

2013-09-27 Thread Hugo Mills
? (Looks like there's a v6.01 available). I can't see a list of the limitations and capabilities of syslinux and btrfs on the syslinux website. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http

Re: extlinux and btrfs RAID-1

2013-09-27 Thread Hugo Mills
On Fri, Sep 27, 2013 at 02:12:36PM -0600, Chris Murphy wrote: On Sep 27, 2013, at 1:36 PM, Hugo Mills h...@carfax.org.uk wrote: When I boot the machine from its disks, I'm being told that extlinux only supports single-disk btrfs. Is this still the case? I'm pretty sure the answer

Re: extlinux and btrfs RAID-1

2013-09-27 Thread Hugo Mills
On Fri, Sep 27, 2013 at 03:04:22PM -0600, Chris Murphy wrote: On Sep 27, 2013, at 2:44 PM, Hugo Mills h...@carfax.org.uk wrote: On Fri, Sep 27, 2013 at 02:12:36PM -0600, Chris Murphy wrote: On Sep 27, 2013, at 1:36 PM, Hugo Mills h...@carfax.org.uk wrote: When I boot the machine

Re: Questions regarding logging upon fsync in btrfs

2013-09-28 Thread Hugo Mills
...) Hugo. Thanks On 29 September 2013 01:35, Aastha Mehta aasth...@gmail.com wrote: Hi, I have few questions regarding logging triggered by calling fsync in BTRFS: 1. If I understand correctly, fsync will call to log entire inode in the log tree. Does this mean that the data extents

Re: btrfs raid0

2013-10-04 Thread Hugo Mills
experimental design, and (b) publish the results. :) Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I always felt that as a C programmer, I

Re: Some questions after devices addition to existing raid 1 btrfs filesystem

2013-10-07 Thread Hugo Mills
could have done. It would probably be slower than normal to access the files while the balance is happening, because the balance is using up I/O bandwidth, but other than that there should be no impact. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Hugo Mills
696.00KiB 696.00KiB --- Note that the SI mandate a space between the value and the unit. Note also, for future reference, that SI use k for 10^3, whereas IEEE use Ki for 2^10. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from

Re: [PATCH v3 10/12] Btrfs-progs: add '--block-size' option to control print result

2013-10-08 Thread Hugo Mills
On Tue, Oct 08, 2013 at 06:01:57PM +0100, Hugo Mills wrote: On Wed, Oct 09, 2013 at 12:54:03AM +0800, Shilong Wang wrote: Hi David, 2013/10/8 David Sterba dste...@suse.cz: On Mon, Oct 07, 2013 at 03:21:46PM +0800, Wang Shilong wrote: You can use it like: btrfs qgroup show

warn_slowpath in clean_tree_block

2009-02-16 Thread Hugo Mills
the former. 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 --- You got very nice eyes, Deedee. Never noticed them --- before. They real

btrfs: warn_slowpath in clean_tree_block and others

2009-02-24 Thread Hugo Mills
with it for now, or if it's something unusual that needs investigating. On the chance that it's the latter, I'm reporting it here. Hugo. Feb 23 21:45:42 vlad kernel: [ cut here ] Feb 23 21:45:42 vlad kernel: WARNING: at fs/btrfs/disk-io.c:815 clean_tree_block+0x9d/0xbb

Re: btrfs: warn_slowpath in clean_tree_block and others

2009-02-25 Thread Hugo Mills
trigger hundreds (literally) of these backtraces with a single touch /media/vlad/video/video/foo. If I encode a video to the FS, the backtraces come in bursts at intervals of, say, 20 seconds (it's not perfectly regular). Hugo. On Wed, Feb 25, 2009 at 08:03:01AM -0600, Mitch Harder (aka

Entirely unexpected ENOSPC?

2009-03-04 Thread Hugo Mills
expecting it to become anywhere near full. The only thing that writes to the filesystem is deliberately coded to leave several gigabytes of space free. Hugo. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

Re: Entirely unexpected ENOSPC?

2009-03-04 Thread Hugo Mills
On Wed, Mar 04, 2009 at 01:50:53PM -0500, Josef Bacik wrote: On Wed, Mar 04, 2009 at 06:06:19PM +, Hugo Mills wrote: Last night, this event jammed up a good chunk of my server: Mar 4 01:51:36 vlad kernel: btrfs searching for 1716224 bytes, num_bytes 1716224, loop 2

Online resize vs ENOSPC

2009-03-09 Thread Hugo Mills
yet. 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 --- Klytus! Are your men on the right pills? Maybe you should --- execute their trainer

Re: Entirely unexpected ENOSPC?

2009-03-09 Thread Hugo Mills
the filesystem online to 70G because I knew I would run out within the next few hours. Despite the expansion, it still ran out at (just short of) 50G. Unless you've resized your filesystem online, I think we're seeing different problems. Hugo. -- === Hugo Mills: h...@... carfax.org.uk

Re: Online resize vs ENOSPC

2009-03-09 Thread Hugo Mills
On Mon, Mar 09, 2009 at 10:31:41AM +, Hugo Mills wrote: After an online resize, the filesystem reports its new size, but still runs out of space at the old size: [...] Unmounting and remounting the filesystem seems to make the new space available for use again

Problem with renaming devices

2009-04-06 Thread Hugo Mills
and unmounted (as above). 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 --- Happiness is mandatory. Are you happy? --- signature.asc Description: Digital signature

Re: ENOSPC at 94% full -- and causing BUGs elsewhere?

2009-10-12 Thread Hugo Mills
On Sun, Oct 04, 2009 at 08:06:30AM -0400, Chris Mason wrote: On Sat, Oct 03, 2009 at 05:55:32PM -0400, Josef Bacik wrote: On Sat, Oct 03, 2009 at 01:21:09PM +0100, Hugo Mills wrote: I've just had the following on my home server. I believe that it's btrfs that's responsible

Re: ENOSPC at 94% full -- and causing BUGs elsewhere?

2009-10-13 Thread Hugo Mills
On Tue, Oct 13, 2009 at 10:58:12PM +0800, Yan, Zheng wrote: On Tue, Oct 13, 2009 at 10:50 PM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Tue, Oct 13, 2009 at 06:31:45AM -0400, Chris Mason wrote: On Mon, Oct 12, 2009 at 03:09:35PM +0100, Hugo Mills wrote: On Sun, Oct 04, 2009 at 08:06

Re: To loop or not to loop with btrfs

2009-11-18 Thread Hugo Mills
*) can move around, the more so USB flash gadgets and loop devices. This looks like it might be related to [1]? (I suspect it slipped Chris's mind back in April, and nobody's really noticed it since). Hugo. [1] http://article.gmane.org/gmane.comp.file-systems.btrfs/2817 -- === Hugo Mills: h

Re: btrfs: 21 minutes to read 1.2M file directory

2010-12-22 Thread Hugo Mills
-- and you can get the disk start position and length of the extent from the data stored under the key. Hugo. [1] https://btrfs.wiki.kernel.org/index.php/Btree_Items [2] https://btrfs.wiki.kernel.org/index.php/Data_Structures -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net

Re: open_ctree failed, unable to mount the fs

2011-01-07 Thread Hugo Mills
to fix it? The forthcoming[1] btrfsck tool should handle that particular error, I believe. To prevent it from happening again, ensure that you have working barriers on your disks, or that you turn off write caching on the drives at every boot. Hugo. [1] out real soon now -- === Hugo

Re: Synching a Backup Server

2011-01-09 Thread Hugo Mills
On Sun, Jan 09, 2011 at 08:57:12PM +, Alan Chandler wrote: On 09/01/11 18:30, Hugo Mills wrote: No, subvolumes are a part of the whole filesystem. In btrfs, there is only one filesystem. There are 6 main B-trees that store metadata in btrfs (plus a couple of others). One of those

Filesystem creation in degraded mode

2011-01-12 Thread Hugo Mills
balance-progress patches, but those shouldn't affect this). Hugo. PS. I haven't tried with RAID-10 yet, but I suspect that it'll be much the same. -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http

[PATCH RFC] Add ioctl for balancing a subset of the full filesystem.

2011-01-18 Thread Hugo Mills
-compatibility (or at least, proper error reporting of unsupported features). Questions for the panel: * Is the ioctl API reasonably sane, extensible, future-proof? * What other block group filters could be useful for this API? Hugo. There are situations, such as restarting an interrupted

[PATCH RFC] Initial implementation of userspace interface for filtered balancing.

2011-01-18 Thread Hugo Mills
of my previous balance progress/cancel patches. Hugo. It is useful to be able to balance a subset of the full filesystem. This patch implements the infrastructure for filtering block groups on different criteria when balancing the filesystem. Signed-off-by: Hugo Mills h...@carfax.org.uk

Re: Possible Kernel BUG regarding BTRFS

2011-01-20 Thread Hugo Mills
again with 2.6.37. If you can't build it yourself, there's a PPA at https://launchpad.net/~kernel-ppa/+archive/ppa with recent kernels in it. Hugo. Computer screen froze and after I rebooted I got the following error message: no init found. try passing init= bootarg I booted from Ubuntu CD

Re: Btrfs balance

2011-01-20 Thread Hugo Mills
On Thu, Jan 20, 2011 at 03:53:41PM +0100, Andreas Philipp wrote: On 20.01.2011 14:39, Hugo Mills wrote: On Thu, Jan 20, 2011 at 02:07:23PM +0100, Andreas Philipp wrote: Hi, Maybe it is a very stupid question but I want to ask it anyway. In general, 'btrfs filesystem balance' takes very

Re: Encryption

2011-01-20 Thread Hugo Mills
got those in the kernel, but all the key management and block chaining and probably a bunch of things I don't know about because I'm not a cryptographer -- all of which makes a big difference to the security of the final system). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk

Re: Shrinking virtual disk with btrfs on it

2011-01-21 Thread Hugo Mills
that isn't zeroed out. One solution I've used before is to write a single very large file full of zeroes, filling the filesystem, then delete it. $ dd if=/dev/zero of=/mountpoint/foo.dat rm /mountpoint/foo.dat Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

Re: Synching a Backup Server

2011-01-22 Thread Hugo Mills
On Fri, Jan 21, 2011 at 11:28:19AM -0800, Freddie Cash wrote: On Sun, Jan 9, 2011 at 10:30 AM, Hugo Mills hugo-l...@carfax.org.uk wrote: On Sun, Jan 09, 2011 at 09:59:46AM -0800, Freddie Cash wrote: Let see if I can match up the terminology and layers a bit: LVM Physical Volume == Btrfs

Re: v0.19-35-g1b444cd btrfsck says snapshots have errors

2011-01-23 Thread Hugo Mills
and not err is 1. Yes, it probably should, but there's not a great deal of point in fixing this particular issue, because Chris is working on the all-new (offline) repairing fsck, which should replace the current checking-only fsck very soon now. Hugo. -- === Hugo Mills: hugo

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Hugo Mills
at. Hugo. diff --git a/mkfs.c b/mkfs.c index 2e99b95..51a5096 100644 --- a/mkfs.c +++ b/mkfs.c @@ -422,6 +422,7 @@ int main(int ac, char **av) printf(WARNING! - see http://btrfs.wiki.kernel.org before using\n\n); file = av[optind++]; + printf(Checking whether %s is part

Re: Cannot Create Partition

2011-01-23 Thread Hugo Mills
. Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Dullest spy film ever: The Eastbourne Ultimatum --- signature.asc Description: Digital signature

Re: Bug in mkfs.btrfs?!

2011-01-23 Thread Hugo Mills
On Sun, Jan 23, 2011 at 11:02:16PM +0100, Goffredo Baroncelli wrote: On 01/23/2011 07:18 PM, Hugo Mills wrote: Hi, Felix, On Sat, Jan 22, 2011 at 04:56:12PM +0100, Felix Blanke wrote: It was a simple: mkfs.btrfs -L backup -d single /dev/loop2 But it also happens without

Re: Bug in mkfs.btrfs?!

2011-01-24 Thread Hugo Mills
On Mon, Jan 24, 2011 at 02:29:36PM +, Hugo Mills wrote: If, instead, the initial losetup call tracked the symlinks back to the original device node (i.e. something like /dev/sdb3, or /dev/mapper/ruthven-btest in my example), then the name that's stored in the kernel would be shorter

Re: Kernel error during btrfs balance

2011-01-26 Thread Hugo Mills
pinned 0 reserved [104178.827634] block group has cluster?: no And so on. Does this indicate an error of any sort, or is this expected behaviour? As far as I know, it means that you've run out of space, and not every block group has been rewritten by the balance process. Hugo

Re: Corrupt filesystem after power failure

2011-02-10 Thread Hugo Mills
10 21:58:08 linux-wuce kernel: [ 369.474197] SetHwReg8192SE():HW_VAR_AC_PARAM eACI:0:a425 -- === 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 --- Someone's been throwing dead sheep down my Fun

Re: btrfs: compression breaks cp and cross-FS mv, FS_IOC_FIEMAP bug?

2011-02-13 Thread Hugo Mills
with them over there and see if it's the same 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 --- I must be musical: I've got *loads* of CDs --- signature.asc

Re: Question on subvolumes and mount options

2011-02-13 Thread Hugo Mills
to change mount options in a subvolume? Suppose I would like to use nodatasum except for /home, will the following work? mount -o nodatasum /dev/x / btrfs subvolume create /home mount -o datasum,subvol=home /dev/x I'd expect that to work, although I haven't tried it myself. Hugo

Re: Question on subvolumes and mount options

2011-02-13 Thread Hugo Mills
On Sun, Feb 13, 2011 at 06:49:58PM +0100, Yuri D'Elia wrote: On Sun, 13 Feb 2011 17:30:59 +, Hugo Mills wrote: First: In the / filesystem I create a subvolume named /home. As soon as the subvolume is created, I can already see the entry point in /home without having to mount

Re: Copied Files from Btrfs partition larger than original

2011-02-14 Thread Hugo Mills
Los Angeles~2010-05-11~720.mov -- (end) 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 --- Attempted murder, now honestly, what is that? Do they give

Re: combining 2 RAID 10 pools to one filesystem

2011-02-16 Thread Hugo Mills
? If I create one RAID 10 with all 8 drives I would only be able to use 8 times 250GB /2 = 1TB, right? No, just add the new drives to the existing btrfs pool, and run a balance, and you should get a btrfs filesystem with 1.5TB of mirrored/striped storage. Hugo. -- === Hugo Mills: hugo

  1   2   3   4   5   6   7   8   9   10   >