linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Preparing single-disk setup for future multi-disk usage
@ 2012-05-24  6:05 Björn Wüst
  2012-05-24  6:18 ` Fajar A. Nugraha
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Björn Wüst @ 2012-05-24  6:05 UTC (permalink / raw)
  To: linux-btrfs@vger.kernel.org

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

btrfs supports multi-disk setups and even adding additional devices at a later point of time. Thus, it is my preferred choice. However, I am puzzled how the mkfs.btrfs command must be parametrized to have RAID1 for meta data and RAID0 for data with just a single disk / partition. Could I simply do mkfs.btrfs -m raid1 -d raid0 /dev/sdaX (where X is the partition number) ?

Unfortunately, I do not have a disk to test it right now. The disk I am planning to use is with the post service still :) . Searching the Web could not reveal a similar scenario. All multi-disk examples assume that you already have multiple disks and not that you are going to have them.

Thank you for your replies to this email (bjoern.wuest@gmx.net, I am not subscribed to the mailing lists, thus please do a 'reply all').


Mit freundlichen Grüßen / Kind regards
  Bjoern Wuest


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-05-24 10:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-24  6:05 Preparing single-disk setup for future multi-disk usage Björn Wüst
2012-05-24  6:18 ` Fajar A. Nugraha
2012-05-24  8:40 ` Hugo Mills
2012-05-24 10:20   ` Bjoern Wuest
2012-05-24 10:41 ` Calvin Walton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).