Re: very slow btrfs filesystem: any data needed before I wipe it?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marc MERLIN posted on Sun, 13 Apr 2014 18:43:37 -0700 as excerpted:

> On Sun, Apr 13, 2014 at 04:02:36AM +0000, Duncan wrote:
>> What happens if you simply mount it ro, without the recovery option? 
>> Is it still normal-speed or is that slow as a rw mount?
> 
> I just tried in ro without recovery, and I could copy data out at 52MB/s
> for a big file, so that's quite good.
> 
> As soon as I mount it r/w, then everything goes to crap, even before I
> start using it.
> So from what I'm seeing, some structures are messed up, btrfs then goes
> into some almost infinite loops to fix them if the filesystem is in
> writeable mode.

Pretty much what I expected in terms of ro vs. rw, but I had forgotten 
the details on the why, and your explanation both prompted my memory and 
agrees with what I had seen before.

IIRC, Hugo mentioned others seeing something similar at times, where read-
only forced btrfs to leave alone what it was going into loops over, so 
you're not the only one to have seen this.

But you might well be the first report where the devs have good access to 
enough detail to actually trace down the problem.

> I'll wait until tomorrow night to see if the devs want anything else out
> of it, but otherwise I'll wipe it and start over.

Given that our exchange happened over the weekend and "tomorrow" is 
Monday, I'd consider waiting until Tuesday nite if possible, just to be 
sure.  Because Monday is of course back to work day, and it's possible if 
there's something urgent (or if they're taking a long weekend for some 
reason), they won't get fully caught up from the weekend until Tuesday.  
So if you can wait until Tuesday and you don't get a request for anything 
else by then, it's probably safe to wipe and redo, but I'd try to wait 
until then, just in case you have something useful, and they simply don't 
get to it the first day back after the weekend.  Because once it's gone 
it's gone, and now that I'm remembering what Hugo mentioned, it does seem 
you're not the only one to have come across this, but you might indeed 
have the missing key the others couldn't provide, so...

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux