Re: Possible to wait for snapshot deletion?

2014-02-13 Thread Brendan Hide
. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Understanding btrfs and backups

2014-03-06 Thread Brendan Hide
incremental methodology using btrfs send/receive -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [systemd-devel] [HEADS-UP] Discoverable Partitions Spec

2014-03-12 Thread Brendan Hide
gripe I have with the temporary mount is that I feel it should be possible to perform snapshots and use send|receive without the requirement of having the subvolumes be visible in userspace. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe

Re: Send/Receive howto and script for others to use (was Re: Is anyone using btrfs send/receive)

2014-03-22 Thread Brendan Hide
they deserve. It has been slowly evolving over the last two weeks. http://swiftspirit.co.za/scripts/btrfs-snd-rcv-backup -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: Send/Receive howto and script for others to use (was Re: Is anyone using btrfs send/receive)

2014-03-22 Thread Brendan Hide
On 2014/03/22 09:44 PM, Brendan Hide wrote: On 2014/03/21 07:29 PM, Marc MERLIN wrote: Hi, Marc Feel free to use ideas from my own script. Some aspects in my script are more mature and others are frankly pathetic. ;) There are also quite a lot of TODOs throughout my script that aren't

Re: Send/Receive howto and script for others to use (was Re: Is anyone using btrfs send/receive)

2014-03-22 Thread Brendan Hide
On 2014/03/22 10:00 PM, Marc MERLIN wrote: On Sat, Mar 22, 2014 at 09:44:05PM +0200, Brendan Hide wrote: Hi, Marc Feel free to use ideas from my own script. Some aspects in my script are more mature and others are frankly pathetic. ;) There are also quite a lot of TODOs throughout my script

Re: Send/Receive howto and script for others to use (was Re: Is anyone using btrfs send/receive)

2014-03-23 Thread Brendan Hide
On 2014/03/22 11:11 PM, Marc MERLIN wrote: Please consider adding a blank line between quotes, it makes them just a bit more readable :) Np. On Sat, Mar 22, 2014 at 11:02:24PM +0200, Brendan Hide wrote: - it doesn't create writeable snapshots on the destination in case you want to use

Re: Asymmetric RAID0

2014-03-25 Thread Brendan Hide
, the largest disk won't be fully utilised unless the other disks add up to be equal to or more than that largest disk. Play around with Hugo's disk usage calculator to get a better idea of what the different configurations will do: http://carfax.org.uk/btrfs-usage/ -- __ Brendan Hide

Re: Btrfs and raid5 status with kernel 3.14, documentation, and howto

2014-03-25 Thread Brendan Hide
be viewed here, http://www.spinics.net/lists/linux-btrfs/msg23137.html where Hugo also explains and lists the notation for the existing schemes. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] btrfs: add btrfs resize unit t/p/e support

2014-03-27 Thread Brendan Hide
On 2014/03/27 04:51 AM, Gui Hecheng wrote: [snip] We add t/p/e support by replacing lib/cmdline.c:memparse with btrfs_memparse. The btrfs_memparse copies memparse's code and add unit t/p/e parsing. Is there a conflict preventing adding this to memparse directly? -- __ Brendan Hide

Re: [PATCH] lib: add size unit t/p/e to memparse

2014-03-31 Thread Brendan Hide
have noticed this in your earlier mail. This could be updated to specifically refer to the binary prefixes rather than the old SI-conflicting names: kibibyte, mebibyte, gibibyte, tebibyte, pebibyte, and exbibyte -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za

Re: Copying a disk containing a btrfs filesystem

2014-04-11 Thread Brendan Hide
willing to accept it. However, I'd like to emphasize that there's still something missing. Of course, most of all I'd like to be proved wrong. Michael -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/2] btrfs: protect snapshots from deleting during send

2014-04-16 Thread Brendan Hide
and we can try it out in -next. -chris So ... does this mean the plan is to a) have userland tool give an error; or b) a deletion would be scheduled in the background for as soon as the send has completed? -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za

Re: Cycle of send/receive for backup/restore is incomplete...

2014-04-23 Thread Brendan Hide
/last_backup | netcat or whatever you choose From restored host: $ netcat or whatever you choose | btrfs receive /tmp/btrfs_root/ Then you make the non-read-only snapshot of the restored subvolume. [snip] -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97

Re: [PATCH 1/2] btrfs: protect snapshots from deleting during send

2014-04-26 Thread Brendan Hide
On 2014/04/16 05:22 PM, David Sterba wrote: On Wed, Apr 16, 2014 at 04:59:09PM +0200, Brendan Hide wrote: On 2014/04/16 03:40 PM, Chris Mason wrote: So in my example with the automated tool, the tool really shouldn't be deleting a snapshot where send is in progress. The tool should be told

Re: Help with space

2014-05-02 Thread Brendan Hide
. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Is metadata redundant over more than one drive with raid0 too?

2014-05-04 Thread Brendan Hide
files smaller than a chunk will be stored on only one disk or the other - not both. Thanks, Marc I hope the above is helpful. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: Using mount -o bind vs mount -o subvol=vol

2014-05-04 Thread Brendan Hide
-highlighted issue with old snapshots is the potential that old vulnerable binaries within a snapshot are still accessible and/or executable. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: Copying related snapshots to another server with btrfs send/receive?

2014-05-04 Thread Brendan Hide
receive $path/ $ btrfs send -p backup backup.sav1 | btrfs receive $path/ $ btrfs send -p backup.sav1 backup.sav2 | btrfs receive $path/ $ btrfs send -p backup.sav2 backup.sav3 | btrfs receive $path/ $ btrfs send -p backup.sav3 backup.sav4 | btrfs receive $path/ -- __ Brendan Hide http

Re: copies= option

2014-05-04 Thread Brendan Hide
before it can be adopted further. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: Is metadata redundant over more than one drive with raid0 too?

2014-05-04 Thread Brendan Hide
On 2014/05/04 09:24 AM, Marc MERLIN wrote: On Sun, May 04, 2014 at 08:57:19AM +0200, Brendan Hide wrote: Hi, Marc Raid0 is not redundant in any way. See inline below. Thanks for clearing things up. But now I have 2 questions 1) btrfs has two copies of all metadata on even a single drive

Re: Copying related snapshots to another server with btrfs send/receive?

2014-05-04 Thread Brendan Hide
On 2014/05/04 09:28 AM, Marc MERLIN wrote: On Sun, May 04, 2014 at 09:16:02AM +0200, Brendan Hide wrote: Sending one-at-a-time, the shared-data relationship will be kept by using the -p (parent) parameter. Send will only send the differences and receive will create a new snapshot, adjusting

Re: How does btrfs fi show show full?

2014-05-04 Thread Brendan Hide
that is stored. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Using mount -o bind vs mount -o subvol=vol

2014-05-04 Thread Brendan Hide
On 2014/05/05 02:56 AM, Marc MERLIN wrote: On Sun, May 04, 2014 at 09:07:55AM +0200, Brendan Hide wrote: On 2014/05/04 02:47 AM, Marc MERLIN wrote: Is there any functional difference between mount -o subvol=usr /dev/sda1 /usr and mount /dev/sda1 /mnt/btrfs_pool mount -o bind /mnt/btrfs_pool

Re: Using mount -o bind vs mount -o subvol=vol

2014-05-05 Thread Brendan Hide
On 05/05/14 06:36, Roman Mamedov wrote: On Mon, 05 May 2014 06:13:30 +0200 Brendan Hide bren...@swiftspirit.co.za wrote: 1) There will be a *very* small performance penalty (negligible, really) Oh, really, it's slower to mount the device directly? Not that I really care, but that's unexpected

Re: How does btrfs fi show show full?

2014-05-05 Thread Brendan Hide
On 05/05/14 07:50, Marc MERLIN wrote: On Mon, May 05, 2014 at 06:11:28AM +0200, Brendan Hide wrote: The per-device used amount refers to the amount of space that has been allocated to chunks. That first one probably needs a balance. Btrfs doesn't behave very well when available diskspace is so

Re: Please review and comment, dealing with btrfs full issues

2014-05-05 Thread Brendan Hide
balance *because* of ENOSPC errors. I'd probably start scouring the mailing list archives if I ever come across that. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: Please review and comment, dealing with btrfs full issues

2014-05-05 Thread Brendan Hide
On 05/05/14 19:07, Brendan Hide wrote: On 05/05/14 14:16, Marc MERLIN wrote: I've just written this new page: http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html First, are there problems in it? Second, are there other FS full issues I should

Re: Thoughts on RAID nomenclature

2014-05-05 Thread Brendan Hide
. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Please review and comment, dealing with btrfs full issues

2014-05-06 Thread Brendan Hide
Hi, Marc. Inline below. :) On 2014/05/06 02:19 PM, Marc MERLIN wrote: On Mon, May 05, 2014 at 07:07:29PM +0200, Brendan Hide wrote: In the case above, because the filesystem is only 55% full, I can ask balance to rewrite all chunks that are more than 55% full: legolas:~# btrfs balance start

Re: How does btrfs fi show show full?

2014-05-07 Thread Brendan Hide
to be relatively full, avoiding the pathological use-case. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: -musage=0 means always reporting relocation

2014-05-11 Thread Brendan Hide
to another new chunk. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] mkfs.btrfs: allow UUID specification at mkfs time

2014-05-14 Thread Brendan Hide
. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: staggered stripes

2014-05-15 Thread Brendan Hide
it since that other copy is in the weak area already. Another alternative would be using something like mdraid's raid10 far layout, with btrfs on top of that... In the copies= option thread Brendan Hide stated that this sort of thing is planned. -- __ Brendan Hide http://swiftspirit.co.za

Re: [PATCH 00/27] Replace the old man page with asciidoc and man page for each btrfs subcommand.

2014-05-18 Thread Brendan Hide
page is simple. I can't vouch for it except to say that it is worth investigating. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org

Re: RAID-1 - suboptimal write performance?

2014-05-18 Thread Brendan Hide
the underlying issue, but it will make it less of an issue for BTRFS. More ideally, btrfs should dispatch them in parallel. This will likely be looked into for N-way mirroring. Having 3 or more copies and working in the current way would be far from optimal. -- __ Brendan Hide http

Re: send/receive and bedup

2014-05-19 Thread Brendan Hide
regarding that was in August last year. It looks like it was pulled into the main kernel repository on September 1st. The last commit to the duperemove application was on April 20th this year. Maybe Mark (cc'd) can provide further insight on its current status. -- __ Brendan Hide http

Re: ditto blocks on ZFS

2014-05-19 Thread Brendan Hide
. That is where the peace-of-mind/bragging rights come in. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: ditto blocks on ZFS

2014-05-20 Thread Brendan Hide
question to me is whether or not it is something that can be implemented elegantly and whether or not a talented *dev* thinks it is a good idea. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe

Re: [RFC PATCH 1/2] btrfs: Add missing device check in dev_info/rm_dev ioctl

2014-05-21 Thread Brendan Hide
, Anand -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: What to do about snapshot-aware defrag

2014-05-31 Thread Brendan Hide
to mount with noatime or read-only to allow snapshot defragging to do anything? That is a very good question. I very rarely have mounts without noatime - and usually only because I hadn't thought of it. Regards, Martin -- __ Brendan Hide http://swiftspirit.co.za/ http

Re: [PATCH v3] lib: add size unit t/p/e to memparse

2014-06-13 Thread Brendan Hide
that is otherwise unlikely to be fixed for a very long time. Should we feel uncomfortable with the patch, as is, because of language/correctness friction? Pedantry included, the patch is correct. ;) Thanks -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97

Re: [PATCH v4] lib: add size unit t/p/e to memparse

2014-06-13 Thread Brendan Hide
': + case 'p': + ret = 10; + case 'T': + case 't': + ret = 10; case 'G': case 'g': ret = 10; Ah, I see - you've removed all reference to their names. That's good too. :) -- __ Brendan Hide http://swiftspirit.co.za

Re: Feeback on RAID1 feature of Btrfs

2012-12-18 Thread Brendan Hide
and, technically, RAID-Z still isn't a RAID in the classical sense. -- Brendan Hide 083 448 3867 http://swiftspirit.co.za/ -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [PATCH] generic/017: skip invalid block sizes for btrfs

2014-06-23 Thread Brendan Hide
-- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ENOSPC errors during balance

2014-07-21 Thread Brendan Hide
order. I've inserted information specific to this in the wiki. Others with wiki accounts, feel free to review: https://btrfs.wiki.kernel.org/index.php/Conversion_from_Ext3#Before_first_use -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe

Re: Ideas for a feature implementation

2014-08-13 Thread Brendan Hide
the metadata referring to that file. That would satisfy the concept that there is no evidence that the file ever existed in that location. The fact that it actually does still legitimately exist elsewhere is not a caveat - it is simply acting within standard behaviour. -- __ Brendan

Re: btrfs check segfaults after flipping 2 Bytes

2014-10-02 Thread Brendan Hide
the checksums already exist. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: btrfs check segfaults after flipping 2 Bytes

2014-10-02 Thread Brendan Hide
On 2014/10/02 07:51, Brendan Hide wrote: On 2014/10/02 01:31, Duncan wrote: [snip] I'm not sure if there is a mount option for this use case however. The option descriptions for nodatasum and nodatacow imply that *new* checksums are not generated. In this case the checksums already exist

Re: BTRFS messes up snapshot LV with origin

2014-11-16 Thread Brendan Hide
. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: BTRFS messes up snapshot LV with origin

2014-11-17 Thread Brendan Hide
and panic 2014-11-17 15:59 GMT+09:00 Brendan Hide bren...@swiftspirit.co.za: cc'd bug-g...@gnu.org for FYI On 2014/11/17 03:42, Duncan wrote: MegaBrutal posted on Sun, 16 Nov 2014 22:35:26 +0100 as excerpted: Hello guys, I think you'll like this... https://bugs.launchpad.net/ubuntu/+source

scrub implies failing drive - smartctl blissfully unaware

2014-11-17 Thread Brendan Hide
Hey, guys See further below extracted output from a daily scrub showing csum errors on sdb, part of a raid1 btrfs. Looking back, it has been getting errors like this for a few days now. The disk is patently unreliable but smartctl's output implies there are no issues. Is this somehow

Re: scrub implies failing drive - smartctl blissfully unaware

2014-11-18 Thread Brendan Hide
On 2014/11/18 09:36, Roman Mamedov wrote: On Tue, 18 Nov 2014 09:29:54 +0200 Brendan Hide bren...@swiftspirit.co.za wrote: Hey, guys See further below extracted output from a daily scrub showing csum errors on sdb, part of a raid1 btrfs. Looking back, it has been getting errors like

Re: scrub implies failing drive - smartctl blissfully unaware

2014-11-18 Thread Brendan Hide
) having either bad connectors, or bad strain-reliefs, and failing after only a few hundred hours of use. Thanks. I'll try this first. :) -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux

Re: scrub implies failing drive - smartctl blissfully unaware

2014-11-20 Thread Brendan Hide
at: - the drive itself - the cable/ports with a negligibly-possible cause at the motherboard chipset. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: Fixing Btrfs Filesystem Full Problems typo?

2014-11-24 Thread Brendan Hide
them available for re-allocation - so that is directly useful and light on workload. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: [PATCH v2 5/5] btrfs: enable swap file support

2014-11-24 Thread Brendan Hide
seems pragmatic - but not necessarily correct. :-/ -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [RFC PATCH] Btrfs: add sha256 checksum option

2014-11-26 Thread Brendan Hide
(separate thread) would be able to take advantage of that. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [RFC PATCH] Btrfs: add sha256 checksum option

2014-11-26 Thread Brendan Hide
. At the obvious cost. I can imagine some use-cases where you might even want more than one algorithm to be used and stored. Not sure if that makes me a madman, though. ;) -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send

Re: BTRFS equivalent for tune2fs?

2014-12-01 Thread Brendan Hide
/similar answer applies. There simply aren't a lot of tuneables available right now. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord

Re: BTRFS equivalent for tune2fs?

2014-12-01 Thread Brendan Hide
On 2014/12/02 09:31, Brendan Hide wrote: On 2014/12/02 07:54, MegaBrutal wrote: Hi all, I know there is a btrfstune, but it doesn't provide all the functionality I'm thinking of. For ext2/3/4 file systems I can get a bunch of useful data with tune2fs -l. How can I retrieve the same type

Another No space left balance failure with plenty of space available

2014-12-02 Thread Brendan Hide
Hey, guys This is on my ArchLinux desktop. Current values as follows and the exact error is currently reproducible. Let me know if you want me to run any tests/etc. I've made an image (76MB) and can send the link to interested parties. I have come across this once before in the last few

btrfs df confusion

2012-12-27 Thread Brendan Hide
intuitive (13:35:29) viric: the same way, 'btrfs fi df' could change s/total/allocated ^ GMT+2 ;) Thanks -- __ Brendan Hide Mobile: +27 83 448 3867 Web Africa - Internet Business Solutions http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux

Re: btrfs df confusion

2012-12-27 Thread Brendan Hide
Thanks, duplicate effort averted :) On 2012/12/27 07:04 PM, Goffredo Baroncelli wrote: On 12/27/2012 12:59 PM, Brendan Hide wrote: Hi Hi, I've made some updates on the wiki and I'd like a technical review for correctness. This particular topic is already confusing - some unnecessary sarcasm

Re: [PATCH 6/6] Btrfs-progs: detect if the disk we are formatting is a ssd

2013-01-19 Thread Brendan Hide
Protocol/SCSI Command set. Not sure where to submit that idea ... :-/ -- Brendan Hide http://swiftspirit.co.za/ -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

inconsistent output on sub list

2013-01-22 Thread Brendan Hide
.20130121-23h45.snap ID 431 gen 4267 top level 5 path FS_TREE/__snapshot/__active_usr.20130121-23h45.snap [root@watricky mnt]# Note that the only directly mounted share is __active, mounted at /. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97

Re: inconsistent output on sub list

2013-01-25 Thread Brendan Hide
] to fix this bug (ref this email thread). Could you kindly test it and report the result ? [1] [PATCH] Btrfs-progs: we need to have the string null terminated Thanks, Anand On 01/23/2013 03:42 AM, Brendan Hide wrote: Linux watricky 3.6.11-1-ARCH #1 SMP PREEMPT Tue Dec 18 08:57:15 CET 2012 x86_64

Re: [PATCH] Btrfs-progs: Exit if not running as root

2013-01-25 Thread Brendan Hide
or not requiring root overly complicates things that, strictly speaking, shouldn't need to be handled in advance. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message

Re: User feedback: raise the default leaf size to 16k

2013-03-03 Thread Brendan Hide
corruption due to bitrot. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo

Re: [btrfs] Periodic write spikes while idling, on btrfs root

2013-03-03 Thread Brendan Hide
Alternatively, as another measure to troubleshoot, in /etc/systemd/journald.conf, change the Storage= option either to none (which disables logging completely) or to a path inside a tmpfs, thereby eliminating btrfs' involvement. -- __ Brendan Hide http://swiftspirit.co.za/ http

Re: [PATCH v3] Btrfs-progs: check out if the swap device

2013-03-03 Thread Brendan Hide
on ignoring errors until it doesnt have work to do. It'd only ever print the nice message when it finds a match. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: btrfs send receive produces Too many open files in system

2013-03-03 Thread Brendan Hide
online for mdraid stripe_cache_size. To increase the read performance you can try optimising the md arrays' readahead. As above, search online for blockdev setra. This should hopefully make a noticeable difference. Good luck. -- __ Brendan Hide http://swiftspirit.co.za/ http

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

2013-03-26 Thread Brendan Hide
of conversions hasn't escaped me, and I do see another downside as well. With the 3C-2C conversion there is the inevitability of macro fragmentation. Again, there could be long-term performance implication or it might even be negligible. -- __ Brendan Hide http://swiftspirit.co.za/ http

Re: btrfs raid5

2013-10-22 Thread Brendan Hide
passed an md5sum check, in spite of tons of I/O errors in the process. Is this all on a single disk? If so it must be seeking like mad! haha -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: No space left on device, problem

2013-10-27 Thread Brendan Hide
to read performance causing a bork. This would explain why bwlimit helps, as well as why cp works the second time around (since it is cached). -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux

Re: Non-intelligent behaviour on device delete with multiple devices?

2013-10-27 Thread Brendan Hide
it to the wiki: https://btrfs.wiki.kernel.org/index.php/Project_ideas -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo

Re: Total fs size does not match with the actual size of the setup

2013-10-27 Thread Brendan Hide
us the output of the following?: btrfs fi df mountpoint (where mountpoint is the path where the btrfs is mounted.) -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: btrfs-transaction blocked for more than 120 seconds

2014-01-05 Thread Brendan Hide
bought my first SSD the same week. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org

Re: btrfs-transaction blocked for more than 120 seconds

2014-01-07 Thread Brendan Hide
. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Provide a better free space estimate on RAID1

2014-02-05 Thread Brendan Hide
profiles you mentioned. It is difficult to motivate including code (for which there's a known workaround) where we know it will be obsoleted. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: I need to P. are we almost there yet?

2015-01-02 Thread Brendan Hide
*some* data is already clearly shown to be very close to 100%. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More majordomo info

Re: Replacing a (or two?) failed drive(s) in RAID-1 btrfs filesystem

2015-02-08 Thread Brendan Hide
into doing that properly, however. http://swiftspirit.co.za/down/smart_scan http://swiftspirit.co.za/down/btrfs-scrub-all -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body

Re: Recovery Operation With Multiple Devices

2015-01-23 Thread Brendan Hide
...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

Re: Replacing a (or two?) failed drive(s) in RAID-1 btrfs filesystem

2015-02-09 Thread Brendan Hide
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2015/02/09 10:30 PM, Kai Krakow wrote: Brendan Hide bren...@swiftspirit.co.za schrieb: I have the following two lines in /etc/udev/rules.d/61-persistent-storage.rules for two old 250GB [snip] Wouldn't it be easier and more efficient to use

Re: OT raid-1 from raid-10?

2015-02-22 Thread Brendan Hide
enough to point you in the right direction: uname -a cat /etc/*release btrfs --version btrfs fi show cat /proc/mdstat fdisk -l gdisk -l -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: btrfs send and interrupts

2015-01-23 Thread Brendan Hide
and the server is on another continent? Your session dies and you lose 10 hours of work/waiting. With a screen session, that is no longer true. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line unsubscribe linux-btrfs

Re: [PATCH 2/3] btrfs: add replace missing and replace RAID 5/6 to profile configs

2015-07-27 Thread Brendan Hide
aren't good or intended to be long-term, they are still valid, right? - -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.22 (MingW32) iQEcBAEBAgAGBQJVtq9AAAoJEE+uni74c4qN5eYIAJAGznsi3RD1tchbSLwhMXJk

Re: raid6 + hot spare question

2015-09-09 Thread Brendan Hide
important. Please shoot down my concerns. :) -- ______ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo i

Re: [RFC] Btrfs device and pool management (wip)

2015-12-01 Thread Brendan Hide
ong an error is considered, and how many are allowed). OK. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.ker

Re: [RFC] Btrfs device and pool management (wip)

2015-12-01 Thread Brendan Hide
On 12/1/2015 12:05 PM, Brendan Hide wrote: On 11/30/2015 11:09 PM, Chris Murphy wrote: On Mon, Nov 30, 2015 at 1:37 PM, Austin S Hemmelgarn <ahferro...@gmail.com> wrote: I've had multiple cases of disks that got one write error then were fine for more than a year before any further

Re: RAID1 vs RAID10 and best way to set up 6 disks

2016-06-04 Thread Brendan Hide
allocation, I strongly suggest checking out Hugo's btrfs calculator ** I hope this is helpful. * http://comments.gmane.org/gmane.comp.file-systems.btrfs/34717 / https://www.spinics.net/lists/linux-btrfs/msg33742.html * http://comments.gmane.org/gmane.comp.file-systems.btrfs/34792 ** http://

Allocator behaviour during device delete

2016-06-09 Thread Brendan Hide
on use case for dev delete), I'd much rather that btrfs does *not* write data to the disk I'm trying to remove, making this a potentially severe bug. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line "

Re: Allocator behaviour during device delete

2016-06-09 Thread Brendan Hide
On 06/09/2016 03:07 PM, Austin S. Hemmelgarn wrote: On 2016-06-09 08:34, Brendan Hide wrote: Hey, all I noticed this odd behaviour while migrating from a 1TB spindle to SSD (in this case on a LUKS-encrypted 200GB partition) - and am curious if this behaviour I've noted below is expected

Re: USB memory sticks wear & speed: btrfs vs f2fs?

2016-02-09 Thread Brendan Hide
never bother with f2fs unless I somehow end up working on a project requiring relatively small storage in Flash (as that is what f2fs was designed for). If someone can provide or link to some proper comparison data, that would be nice. :) -- __ Brendan Hide http://swiftspiri

Re: RAID56 status?

2017-01-23 Thread Brendan Hide
e idea was simply to create a way to refer to the "raid" levels in a consistent way. I hope this brings some clarity. :) regards, Jan Vales -- I only read plaintext emails. -- __ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this

Re: [RFC] Preliminary BTRFS Encryption

2016-09-16 Thread Brendan Hide
y if the generic code cannot be expanded to address specific threat models should you then implement something that is unique to btrfs Agreed, this sounds like a far safer and achievable implementation process. Cheers, Dave. -- __ Brendan Hide http://swiftspirit.co

RedHat 7.4 Release Notes: "Btrfs has been deprecated" - wut?

2017-08-02 Thread Brendan Hide
The title seems alarmist to me - and I suspect it is going to be misconstrued. :-/ From the release notes at https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.4_Release_Notes/chap-Red_Hat_Enterprise_Linux-7.4_Release_Notes-Deprecated_Functionality.html "Btrfs

Re: RedHat 7.4 Release Notes: "Btrfs has been deprecated" - wut?

2017-08-03 Thread Brendan Hide
they don't (or never will) understand it; and b) they're going to resent me for their irresponsibly losing their own data. -- ______ Brendan Hide http://swiftspirit.co.za/ http://www.webafrica.co.za/?AFF1E97 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in t

NVMe SSD + compression - benchmarking

2018-04-27 Thread Brendan Hide
Hey, all I'm following up on the queries I had last week since I have installed the NVMe SSD into the PCI-e adapter. I'm having difficulty knowing whether or not I'm doing these benchmarks correctly. As a first test, I put together a 4.7GB .tar containing mostly duplicated copies of the

Re: NVMe SSD + compression - benchmarking

2018-04-28 Thread Brendan Hide
On 04/28/2018 04:05 AM, Qu Wenruo wrote: On 2018年04月28日 01:41, Brendan Hide wrote: Hey, all I'm following up on the queries I had last week since I have installed the NVMe SSD into the PCI-e adapter. I'm having difficulty knowing whether or not I'm doing these benchmarks correctly

  1   2   >