On 12/09/2013 08:18 PM, Vikram Goyal wrote:
On Mon, Dec 09, 2013 at 06:44:07PM +0800, Wang Shilong wrote:
Hello Vikram,
On 12/09/2013 05:51 PM, Vikram Goyal wrote:
Hello,
I am having a problem where a stuck scrub on root FS cannot be
cancelled or restsrted.
<snip>
To cancel use 'btrfs scrub cancel /'.
To see the status use 'btrfs scrub status [-d] /'.
I came the same issue before and i sent a patch for this:
https://patchwork.kernel.org/patch/3264051/
This patch has been merged into David's integration branch.
You can pull from:
https://github.com/kdave/btrfs-progs.git integration-20131206
you can use:
# btrfs scrub start -f /
This should help, -f will force us to skip check in userspace.
Thanks,
Wang
Hello Wang,
I am on Fedora 19. I just checked, I don't have -f as option in
btrfs-progs. The installed version is:
btrfs-progs.x86_64 3.12-1.fc18 @updates
current kernel is 3.11.9-100.fc18.x86_64
I just wanted to know if its not dangerous to have this state of FS
since I will wait for the update to come from the repo rather than build
package myself
I think one way to slove this problms is:
# rm -f /var/lib/btrfs/*
This will remove scrub status record file, and then you can start scrub
again.
Thanks,
Wang
Thanks!
--
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