Re: Preparing single-disk setup for future multi-disk usage

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

 



On Thu, 2012-05-24 at 08:05 +0200, Björn Wüst wrote:
> Good morning,
> 
> 
> I currently have a single-disk setup where I want to use btrfs
> filesystem. Yet, I expect to add additional disks to this system in
> the future. Those disks shall be visible to the OS like a single disk,
> i.e. using multi-disk feature in btrfs. While data shall be striped
> among those disks in the future, meta data shall be mirrored for
> better fault tolerance (loss of some data is acceptable, while loss of
> all data is not acceptable).

If you're using the "RAID 0" (striping) mode, you will not be able to
recover any data in a useful form after a disk failure, because each
file will have been broken into small chunks and spread over both disks.
If you use the 'single' allocation mode instead, it is more likely that
individual files will be mostly on one disk, but there are no
guarantees.

If you want data to be recoverable, you should use a redundant raid
mode; otherwise don't expect that you'll be able to save much after a
disk failure.

-- 
Calvin Walton <calvin.walton@xxxxxxxxxx>

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