Yan, Zheng writes: > On Tue, Dec 29, 2009 at 12:26 PM, Ted Phelps <phelps@xxxxxxxxxx> wrote: > > My btrfs test partition started failing btrfsck (0.19) today, which may > > be of interest. What's probably more interesting is that git head > > version of btrfsck reliably crashes when pointed at the filesystem. > > What's more interesting still is that, after unmounting the filesystem, > > btrfsck (both 0.19 and git head) finds no errors. I have to admit that > > I find this a bit confusing. Is this expected behavior? > > btrfsck doesn't support checking mounted fs. Ok, that's reasonable. I recognize that the tools are very new and that there are many things to be done, but it would be nice if this restriction were mentioned in the btrfsck man page so that the next person to try this doesn't think that his filesystem is corrupt. Of course, it would be nicer still if btrfsck refused to operate on a mounted filesystem, and if it didn't crash when presented with a "damaged" filesystem, though I can see that such bells and whistles might not be your top priority at the moment. Thanks, -Ted -- 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
