Re: BTRFS fsck tool

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

 



On 03/05/2011 12:59 AM, Alexey A Nikitin wrote:
> Hi, everybody
>
> I have BTRFS RAID0 setup with two disks. After some incident where I
> had to force shutdown machine this array won't mount anymore


Have you "reset" the machine or cut the power?
I don't really know btrfs, but in btrfs wiki there is written:

"Note that Btrfs does not yet have a fsck tool that can fix errors.
While Btrfs is stable on a stable machine, it is currently possible to
corrupt a filesystem irrecoverably if your machine crashes or loses
power on disks that don't handle flush requests correctly. This will be
fixed when the fsck tool is ready."

is this your scenario? If you leave the power and stop submitting writes
to the disks (like with a reset) the filesystem should be preserved, if
that sentence is true.
Did you cut the power while there was some process writing to it? If the
kernel was panicked it is probably safe to cut the power (because the
last write happened long time ago and disks had time to put that to the
platters)

Also what disks brand/model do you have? The sentence speaks about disks
which don't honour flush+FUA requests, I think. Enterprise disks should
honour that, consumer disks might not.

I am interesed in what happened because I am evaluating using btrfs for
very large backups (still losing those wouldn't be totally nice)

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