Maybe need a --force option on scrub start?

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

 



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