diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-04-03 16:35:48 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2008-04-03 16:35:48 -0400 |
commit | a57a255e442c8d8d3c1c28780af84483c3b5ec21 (patch) | |
tree | a39d09d9000ab640f81e6153eb41d6568c0be34a /ctree.c | |
parent | c7be130df72665117991ec93e7dd7c556c83230f (diff) |
Add mkfs options for data and metadata mirroring modes
mkfs.btrfs --data {raid0,raid1,single}
mkfs.btrfs --metadata {raid0,raid1,single}
In single mode, no extra duplication or striping is done.
In raid0 mode, blocks are spread across all of the available devices
In raid1 mode, blocks are mirrored across two devices.
For metadata, if raid1 is used and there is only one device, the
metadata is duplicated on that single spindle.
The defaults are raid0 for data and raid1 for metadata
Diffstat (limited to 'ctree.c')
0 files changed, 0 insertions, 0 deletions