Re: 3.13.5 kernel hangs some processes with btrfs

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

 



Marc MERLIN posted on Sun, 23 Feb 2014 22:17:14 -0800 as excerpted:

> Mmmh, this bug might be part of the problem:
> gargamel:/mnt# btrfs scrub start btrfs_pool2
> ERROR: scrub is already running.

> gargamel:/mnt# btrfs scrub cancel btrfs_pool2
> ERROR: scrub cancel failed on btrfs_pool2: not running

> gargamel:/mnt# btrfs scrub status
[snip output]
> Note that it says running for 5 seconds, but it started 4H ago.

This is a known issue.

I believe there's a fix coming (a cancel that blows away the tracking 
file if it finds it and no actual running scrub is the most obvious fix), 
but meanwhile, see the /var/lib/btrfs/scrub.status.* files.  That's where 
scrub state is stored, and manually blowing away the appropriate file 
should clear btrfs' memory of the aborted scrub, so you can scrub start 
properly.

-- 
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