Re: hunt for 2.6.37 dm-crypt+ext4 corruption? (was: Re: dm-crypt barrier support is effective)

2010-12-16 Thread Chris Mason
Excerpts from Dave Chinner's message of 2010-12-15 22:37:18 -0500: On Wed, Dec 08, 2010 at 07:20:24AM -0500, Chris Mason wrote: Usually the trick to reproducing filesystem corruptions is adding memory pressure. The corruption is probably a bad interaction between reads and writes, and

btrfs reads only 4k blocks -- how to improve?

2010-12-16 Thread Jörg Sommer
Hi, I have a btrfs that conains many hardlinks. I'm using rsync to create backups. It creates the backup of a day by (hard‐)linking the files (inodes) they haven't changed with the files from a former day. % find 2010-12-1[10]-00 -maxdepth 1 2010-12-10-00 2010-12-10-00/etc 2010-12-10-00/home

Re: btrfs reads only 4k blocks -- how to improve?

2010-12-16 Thread Erik Logtenberg
Hi, I'm not really answering your question, but may I suggest you change your backup strategy to leverage one of btrfs main features: instead of using the hardlink-feature of rsync, use snapshots. Btrfs snapshots are way better than a hardlink-tree, for multiple reasons: - It uses less

A rescue tool for btrfs

2010-12-16 Thread Michael Niederle
Hi! Last week I crashed a btrfs file system. I didn't lose a lot of data because I had current backups of most data and a full backup from a month ago. But I thought it would be a nice idea to have a rescue tool! Currently I have a first release of this tool (surely buggy and runnning on little

Re: A rescue tool for btrfs

2010-12-16 Thread Chris Mason
Excerpts from Michael Niederle's message of 2010-12-16 18:18:49 -0500: Hi! Last week I crashed a btrfs file system. I didn't lose a lot of data because I had current backups of most data and a full backup from a month ago. But I thought it would be a nice idea to have a rescue tool!

Re: btrfs reads only 4k blocks -- how to improve?

2010-12-16 Thread Jörg Sommer
Andreas Philipp hat am Thu 16. Dec, 14:03 (+0100) geschrieben: On 16.12.2010 13:31, Jörg Sommer wrote: When running rm -r to remove an old backup or running rsync I see the average size of a read or a write request ist 4k. This leads to a very bad throughput of fewer than 2MByte/s. I'm

Re: btrfs subvolume snapshot hung in btrfs_commit_transaction

2010-12-16 Thread Chris Mason
Excerpts from Ian! D. Allen's message of 2010-12-13 21:23:24 -0500: I can reliably get btrfs 0.19 to hang in btrfs_commit_transaction. Below is another case where it hung after creating just 110 snapshots of /var/log/. Here is an excerpt from the script log file showing the last good snapshot

Re: btrfs subvolume snapshot hung in btrfs_commit_transaction

2010-12-16 Thread Ian! D. Allen
On Thu, Dec 16, 2010 at 08:47:05PM -0500, Chris Mason wrote: I think this hang is something that sage fixed. Which kernel is this ubuntu including? All that detail is posted in the second message in the thread you quoted: http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg07448.html