Re: Metadata Duplication on a Single Disk Btrfs Setup

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

 



Mitch Harder wrote:
> On a single disk btrfs setup, such as for a desktop computer, what are
> the implecations of creating your btrfs partition with '-m single'?
> 
> At first, I assumed I would want a single disk desktop setup to be
> configured as 'single'.  But that may not be the case for metadata.
> 
> I see that the default is for metadata duplication in a single disk scenario.
> 
> Is duplication of the metadata important for recovery from common
> desktop user problems such as power interruption?

Duplication of metadata protects against unreadable disk blocks
or disk blocks that have garbage written in them. Power interruption
can cause that in rare cases (and on some hardware not so rare).

The more usual power loss issue is incomplete or stale data.  Even
single metadata mode should protect from that.

So the short answer is it provides some additional protection
at the expense of more space used.  How much you need that extra
protection depends on your hardware, power reliability, and how
valuable your data is.

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