Re: raid1: cannot add disk to replace faulty because can only mount fs as read-only.

2017-01-31 Thread Duncan
Hans Deragon posted on Tue, 31 Jan 2017 21:51:22 -0500 as excerpted: > But the current scenario makes it difficult for me to put redundancy > back into service! How much time did I waited until I find the mailing > list, subscribe to it, post my email and get an answer? Wouldn't it be > better

Re: btrfs receive leaves new subvolume modifiable during operation

2017-01-31 Thread Duncan
Christian Lupien posted on Tue, 31 Jan 2017 18:32:58 -0500 as excerpted: > I have been testing btrfs send/receive. I like it. > > During those tests I discovered that it is possible to access and modify > (add files, delete files ...) of the new receive snapshot during the > transfer. After the

Re: btrfs recovery

2017-01-31 Thread Duncan
Austin S. Hemmelgarn posted on Tue, 31 Jan 2017 07:45:42 -0500 as excerpted: >> There's actually a btrfs-undelete script on github that turns the >> otherwise multiple manual steps into a nice, smooth, undelete >> operation. Or at least it's supposed to. I've never actually used it, >> tho I

Re: [PATCH] Btrfs: add another missing end_page_writeback on submit_extent_page failure

2017-01-31 Thread takafumi-sslab
Thanks for your reply. I think you mentioned about the below if-block in __extent_writepage(). if (nr == 0) { /* make sure the mapping tag for page dirty gets cleared */ set_page_writeback(page); end_page_writeback(page); } However, this if-block only works when nr is

Re: raid1: cannot add disk to replace faulty because can only mount fs as read-only.

2017-01-31 Thread Hans Deragon
On 2017-01-30 07:18, Austin S. Hemmelgarn wrote: > On 2017-01-28 04:17, Andrei Borzenkov wrote: >> 27.01.2017 23:03, Austin S. Hemmelgarn пишет: >>> On 2017-01-27 11:47, Hans Deragon wrote: On 2017-01-24 14:48, Adam Borowski wrote: > On Tue, Jan 24, 2017 at 01:57:24PM -0500, Hans

Re: [PATCH 0/9] Lowmem mode fsck fixes with fsck-tests framework update

2017-01-31 Thread Qu Wenruo
At 01/30/2017 11:07 AM, Christoph Anton Mitterer wrote: On Sun, 2017-01-29 at 12:27 +0800, Qu Wenruo wrote: Sorry for the late reply, in Chinese New Year vacation. No worries... and happy new year then ;) Happy new year! I'll update the patchset soon to address it. Just tell me and I

btrfs receive leaves new subvolume modifiable during operation

2017-01-31 Thread Christian Lupien
I have been testing btrfs send/receive. I like it. During those tests I discovered that it is possible to access and modify (add files, delete files ...) of the new receive snapshot during the transfer. After the transfer it becomes readonly but it could already have been modified. So you can

Re: btrfs recovery - solved for me

2017-01-31 Thread GWB
Michael, That's great news. Well done. ext4 works just fine for most cases. If you wish to experiment I might suggest more work on your part (just what you need, right?) by using btrfs for smaller file systems (perhaps just root, maybe /var, /bin etc.) but try installing zfs for large file

Re: btrfs recovery - solved for me

2017-01-31 Thread Michael Born
Thank you all for your help. Magically, btrfs-find-root worked today. (I attached the steps at the end) I don't think I changed anything. The btrfs-progs version is still 4.1 because I tried different tagged versions (starting from 4.9) from the cloned git repo. The btrfs-find-root on the

Re: Battling an issue with btrfs quota

2017-01-31 Thread Philipp Kern
On 01/31/2017 08:32 AM, Philipp Kern wrote: > On 01/31/2017 01:15 AM, Philipp Kern wrote: > [...] >>> 149 00 RW [btrfs-transacti] >> >> So there's always a running btrfs-transaction. The kernel messages start >> off like this: > [...] > > At it turns out, it also OOMs the complete

i need your Assistance

2017-01-31 Thread Dr . Kürtiné Melik Anna
-- 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

[PATCH v2] Btrfs: create a helper to create em for IO

2017-01-31 Thread Liu Bo
We have similar codes to create and insert extent mapping around IO path, this merges them into a single helper. Signed-off-by: Liu Bo --- v2: - undo the function declaration style change. - fix errors by checkpatch.pl fs/btrfs/inode.c | 189

Re: [PATCH] Btrfs: bulk delete checksum items in the same leaf

2017-01-31 Thread Liu Bo
On Sat, Jan 28, 2017 at 06:06:32AM +, fdman...@kernel.org wrote: > From: Filipe Manana > > Very often we have the checksums for an extent spread in multiple items > in the checksums tree, and currently the algorithm to delete them starts > by looking for them one by one

Re: btrfs recovery

2017-01-31 Thread Austin S. Hemmelgarn
On 2017-01-30 23:58, Duncan wrote: Oliver Freyermuth posted on Sat, 28 Jan 2017 17:46:24 +0100 as excerpted: Just don't count on restore to save your *** and always treat what it can often bring to current as a pleasant surprise, and having it fail won't be a down side, while having it work,

Re: [PATCH] Btrfs: bulk delete checksum items in the same leaf

2017-01-31 Thread Filipe Manana
On Tue, Jan 31, 2017 at 1:02 AM, Omar Sandoval wrote: > On Sat, Jan 28, 2017 at 06:06:32AM +, fdman...@kernel.org wrote: >> From: Filipe Manana >> >> Very often we have the checksums for an extent spread in multiple items >> in the checksums tree, and

Re: btrfs recovery

2017-01-31 Thread Graham Cobb
On 30/01/17 22:37, Michael Born wrote: > Also, I'm not interested in restoring the old Suse 13.2 system. I just > want some configuration files from it. If all you really want is to get some important information from some specific config files, and it is so important it is worth an hour or so of