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: 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
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: 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
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: 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
. -- === 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: 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
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: 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: 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: 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: 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
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: 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
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: 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
Feb 23 21:45:42 vlad kernel: [8020b25b] system_call_fastpath+0x16/0x1b Feb 23 21:45:42 vlad kernel: ---[ end trace a315082d564863a6 ]--- -- === Hugo Mills: h...@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk

Re: btrfs: warn_slowpath in clean_tree_block and others

2009-02-25 Thread Hugo Mills
] ---[ end trace 79cdc48bc88dedf7 ]--- On Tue, Feb 24, 2009 at 5:02 PM, Hugo Mills hugo-l...@carfax.org.uk wrote: ? This is essentially a repost of a mail I made last week, to which I didn't get a reply. ? I'm getting huge numbers of kernel warnings whilst using btrfs

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
This is a patch purely for comment. There's several things wrong with it that I need to fix (at minimum, it has too much debugging output, the __balance_chunk_filters function takes the wrong set of parameters to make it properly extensible, and the progress counter is broken). I'm planning

[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
Desktop kernel: [ 2091.228402] RBP: 88023649dd18 R08: R09: 0001 Jan 19 20:05:00 Desktop kernel: [ 2091.228404] R10: 880236918deJan 19 20:06:12 Desktop kernel: imklog 4.2.0, log source = /proc/kmsg started. -- === Hugo Mills: hugo@... carfax.org.uk

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
= btrfs_super_num_devices(disk_super); uuid_unparse(disk_super-fsid, uuidbuf); + printf(Adding device %s to list\n, path); ret = device_list_add(path, disk_super, devid, fs_devices_ret); error_brelse: -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk

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
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- In one respect at least, the Martians are a happy people: --- they have no lawyers

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
. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- I always felt that as a C programmer, I --- was becoming typecast

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

Re: Space used by snapshot

2011-02-17 Thread Hugo Mills
), but it's just not been done yet. 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 do you give the man who has everything? -- Penicillin is --- a good

Re: raid5 - again

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

Re: Recovering parent transid verify failed

2011-03-06 Thread Hugo Mills
not a lot the current version can do right now. Is there anyway to recover this partition or should I just wipe it and reinstall Btrfs only when I'm supposed to?.. Your help is appreciated. HTH, Hugo. -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key

  1   2   3   4   5   6   7   8   9   10   >