On Mon, Apr 07, 2014 at 10:32:04AM +0200, Swâmi Petaramesh wrote: > Hi there, > > Machine got rebooted while scrub was in process, and now it looks like a > scrub > zombie... > > How do I restore this to a normal non-zombie state ?
There's a status file in /var/lib/btrfs (at least, it's somewhere near there -- I think that's it, though). Delete that, and you should be OK. It's a known bug, and I'm fairly sure it was fixed in the userspace tools some time ago. What version of the tools are you using? Hugo. > root@zafu:~# btrfs scrub status / > scrub status for 13c87f57-3a85-4daf-a4bf-ba777407c169 > scrub started at Mon Apr 7 09:49:48 2014, running for 693 seconds > total bytes scrubbed: 34.06GiB with 0 errors > > root@zafu:~# btrfs scrub cancel / > ERROR: scrub cancel failed on /: not running > > root@zafu:~# btrfs scrub start / > ERROR: scrub is already running. > To cancel use 'btrfs scrub cancel /'. > To see the status use 'btrfs scrub status [-d] /'. > > root@zafu:~# btrfs scrub status / > scrub status for 13c87f57-3a85-4daf-a4bf-ba777407c169 > scrub started at Mon Apr 7 09:49:48 2014, running for 693 seconds > total bytes scrubbed: 34.06GiB with 0 errors > -- === Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk === PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk --- Questions are a burden, and answers a prison for oneself. ---
signature.asc
Description: Digital signature