Hi,

My filesystem seems to be a bit confused, and I can not start a btrfs scrub. Which is necessary, because I have replaced a disk.

Hacking the cmds-scrub.c file I notice that sfr->stats.finished and sfr->stats.canceled are both zero in the one record returned.

Returning 0 from that function allows me to start a new scrub.
After cancelling it and retrying the values are finished=0 and canceled=1, and I can use the unmodified btrfs scrub command.

Frank

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

Reply via email to