Re: BTRFS Multidevice Filesystem: Save to delete one device?

2013-10-13 Thread Hugo Mills
level 5 path @video ID 2760 top level 5 path @musik ID 3995 top level 5 path @bilder ID 3996 top level 5 path @dokumente ID 3997 top level 5 path @software ID 3998 top level 5 path @hardware That doesn't make any difference for this operation. Hugo. -- === Hugo Mills: hugo

Re: [PATCH] Btrfs: disallow 'btrfs {balance,replace} cancel' on ro mounts

2013-10-11 Thread Hugo Mills
easier conceptually to mount an FS read-only (with the proviso that a RO mount may be missing some data that was saved earlier, but you'll get that back if you allow the log reply with a rw mount later). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP

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

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: 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: Questions regarding logging upon fsync in btrfs

2013-09-28 Thread Hugo Mills
to selectively identify certain files in the log tree and flush them to disk directly, without waiting for the replay to do it? Thanks -- === 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 --- Diablo

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: [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
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 --- Nothing right in my left brain. Nothing left

Re: [raidX vs single/dup]

2013-09-26 Thread Hugo Mills
be no difference between single/raid0 and duplicated/raid1... But there _are_ differences between them, as explained above. :) I posted a patch a while ago to change the names to something more logical and expressive, but it didn't get merged. Hugo. -- === Hugo Mills: hugo@... 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: [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: 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: 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: Adding 500G disk to btrfs volume... but I don't get 500G more of available space (raid0)

2013-07-26 Thread Hugo Mills
to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- === 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 --- Sometimes, when I'm alone, I Google

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
% /samples Thanks Axelle. On Fri, Jul 26, 2013 at 9:45 AM, Hugo Mills h...@carfax.org.uk wrote: On Fri, Jul 26, 2013 at 09:05:03AM +0200, Axelle wrote: Hi btrfs folks, I'm afraid I have a newbie question... but I can't sort it out? It's just about adding a disk to a btrfs volume

Re: Different size devices in RAID

2013-07-23 Thread Hugo Mills
regarding that scenario. Regards, -- === 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 am but mad north-north-west: when the wind is southerly, I --- know a hawk from

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: bug: corrupt filesystem, cannot delete tmp files created just before crash.

2013-07-18 Thread Hugo Mills
that raid1 helps protect against. -- === 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 --- Reintarnation: Coming back from the dead as a hillbilly. --- signature.asc Description: Digital

Re: Questions about multi-device behavior

2013-07-18 Thread Hugo Mills
) iEYEARECAAYFAlHoZV4ACgkQmOOfHg372QRPFwCgob01TavS2qffBkxkuv0g9bl3 pC8An25Mgx+cRXb0Kds+GRnzaj2P0Acy =UA5J -END PGP SIGNATURE- -- === 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 am an opera lover from planet Zog

Re: Need help mounting broken btrfs Fedora 19

2013-07-14 Thread Hugo Mills
dev_item.devid 2 dev_item.dev_group 0 dev_item.seek_speed 0 dev_item.bandwidth 0 dev_item.generation 0 Could someone help me troubleshoot why I can't mount my volume? I would REALLY appreciate it! Perhaps there is a way to repair my broken tree structure? Thank You! -- === Hugo Mills: hugo

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

2013-07-14 Thread Hugo Mills
be straightforward for you, guys :-) ) Adam Ryczkowski -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- But somewhere along the line, it seems / That pimp became

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: [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: 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: 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: Two identical copies of an image mounted result in changes to both images if only one is modified

2013-06-20 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Welcome to Rivendell, Mr Anderson... --- signature.asc Description: Digital signature

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: 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: 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: btrfs raid1 on 16TB goes read-only after btrfs: block rsv returned -28

2013-06-05 Thread Hugo Mills
transaction. kernel: BTRFS error (device sdf) in cleanup_transaction:1391: error 28 -- === 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'm all for giving people enough rope to shoot

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: 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: 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
thinking of it some other way around. The problem is that until the space is allocated, the FS can't know how that space needs to be allocated (to data/metadata, or with what replication type and hence overheads), so we can't necessarily give a reliable estimate. Hugo. -- === Hugo Mills: hugo

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: 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: 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: 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: 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
. -- === 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 am the author. You are the audience. I outrank you! --- signature.asc Description: Digital signature

Re: Best Practice - Partition, or not?

2013-05-01 Thread Hugo Mills
it is these days). You could partition with GPT in that instance, but probably better to just use the full device. 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: Eats

Re: WARNING: at fs/btrfs/free-space-cache.c:921 __btrfs_write_out_cache+0x6b9/0x9a0 [btrfs]()

2013-04-30 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- __(_' Squeak! --- signature.asc Description: Digital signature

Re: [PATCH] btrfs: add debug check for extent_io range alignment

2013-04-30 Thread Hugo Mills
, u64 end, u64 last_start; u64 last_end; + btrfs_debug_check_extent_io_range(tree-mapping-host, start, end); + again: if (!prealloc (mask __GFP_WAIT)) { prealloc = alloc_extent_state(mask); -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net

Re: BTRFS 3.8.7 Kernel Crash Report

2013-04-22 Thread Hugo Mills
running FC18 on 3.8.7, although 10 minutes ago it got updated to 3.8.8. 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 --- We believe in free will because we have no choice

Re: data DUP

2013-04-20 Thread Hugo Mills
everywhere -- it can be quite hard to find every single implication of a feature when that feature gets changd/updated. 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: Spanish

Re: data DUP

2013-04-20 Thread Hugo Mills
On Sat, Apr 20, 2013 at 02:15:14PM -0700, Roger Binns wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 20/04/13 13:48, Hugo Mills wrote: On Sat, Apr 20, 2013 at 01:17:06PM - -0700, Roger Binns wrote: When I try to set it with balance there is a kernel message: btrfs: dup

Re: RAID device nomination (Feature request)

2013-04-18 Thread Hugo Mills
connectors look regrettably similar to HDMI connectors in the half-light under the desk. (*) 5 TB after RAID-1. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- But somewhere along the line

Re: RAID device nomination (Feature request)

2013-04-18 Thread Hugo Mills
On Thu, Apr 18, 2013 at 05:29:10PM +0100, Martin wrote: On 18/04/13 15:06, Hugo Mills wrote: On Thu, Apr 18, 2013 at 02:45:24PM +0100, Martin wrote: Dear Devs, I have a number of esata disk packs holding 4 physical disks each where I wish to use the disk packs aggregated for 16TB

--mixed and --nodesize together

2013-04-06 Thread Hugo Mills
not particularly important to me in this configuration -- I can just use 4096, but I thought it should be published). Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Computer Science

Re: scrub correcting tons of errors ?

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

Re: Space usage metering

2013-03-29 Thread Hugo Mills
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Gentlemen! You can't fight here! This is the War Room! --- signature.asc Description: Digital signature

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

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

Re: Problems with compiling btrfs

2013-03-21 Thread Hugo Mills
://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories#Dependencies -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Unix: For controlling fungal diseases in crops

Re: Problems with compiling btrfs

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

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

2013-03-18 Thread Hugo Mills
with pieces on each disk. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- w.w.w. : England's batting scorecard --- signature.asc Description: Digital

Re: File space cache

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[PATCH 1/5] Use nCmSpP format for mkfs

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

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

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

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

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

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

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

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