Go to file
Chris Mason a57a255e44 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
2008-04-03 16:35:48 -04:00
.hgtags Added tag v0.13 for changeset 58b803dc9fae 2008-02-21 14:55:23 -05:00
COPYING fix COPYING 2007-06-12 15:41:08 -04:00
INSTALL Documentation update 2007-06-28 16:02:01 -04:00
Makefile Walk all block devices looking for btrfs 2008-03-24 15:05:44 -04:00
bit-radix.c Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again. 2007-09-14 10:31:06 -04:00
bit-radix.h add GPLv2 2007-06-12 09:07:11 -04:00
btrfsck.c Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00
btrfsctl.c Walk all block devices looking for btrfs 2008-03-24 15:05:44 -04:00
convert.c Add support for multiple devices per filesystem 2008-03-24 15:03:18 -04:00
crc32c.c CRC32C big endian bugs... 2008-02-15 11:20:02 -05:00
crc32c.h calculate checksums during IO 2007-06-28 16:20:29 -04:00
ctree.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
ctree.h Add support for single single duplication of metadata 2008-04-03 16:35:48 -04:00
debug-tree.c Add support for multiple devices per filesystem 2008-03-24 15:03:18 -04:00
dir-item.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
dir-test.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
disk-io.c Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00
disk-io.h Walk all block devices looking for btrfs 2008-03-24 15:05:44 -04:00
extent-cache.c Add support for multiple devices per filesystem 2008-03-24 15:03:18 -04:00
extent-cache.h Port extent buffer to btrfs-progs 2008-01-04 10:36:26 -05:00
extent-tree.c Add support for single single duplication of metadata 2008-04-03 16:35:48 -04:00
extent_io.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
extent_io.h Rename the extent_map code to extent_io 2008-03-04 11:16:54 -05:00
file-item.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
hash.c btrfs-progs: Stop stomping on 'name' input parameter 2008-04-01 10:38:51 -04:00
hash.h Unaligned access fixes 2008-02-15 11:19:58 -05:00
hasher.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
inode-item.c Update btrfs-progs to match kernel sources 2008-01-04 10:38:22 -05:00
inode-map.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
ioctl.h ioctls to scan for btrfs filesystems 2008-03-24 15:04:49 -04:00
kerncompat.h Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00
list.h Dynamic chunk allocation 2008-03-24 15:03:58 -04:00
mkfs.c Add mkfs options for data and metadata mirroring modes 2008-04-03 16:35:48 -04:00
print-tree.c Btrfsck updates for multi-device filesystems 2008-03-24 15:04:37 -04:00
print-tree.h Update btrfs-progs to match kernel sources 2008-01-04 10:38:22 -05:00
quick-test.c add GPLv2 2007-06-12 09:07:11 -04:00
radix-tree.c Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again. 2007-09-14 10:31:06 -04:00
radix-tree.h i386 fixes from axboe 2007-06-12 11:39:09 -04:00
random-test.c add GPLv2 2007-06-12 09:07:11 -04:00
rbtree.c Stop using radix trees to record pending allocations 2007-10-15 16:25:04 -04:00
rbtree.h Stop using radix trees to record pending allocations 2007-10-15 16:25:04 -04:00
root-tree.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
show-blocks Add debug-tree -e to print all allocated extents, and show-blocks to graph them 2008-03-03 19:55:16 -05:00
transaction.h Update btrfs-progs to match kernel sources 2008-01-04 10:38:22 -05:00
utils.c Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00
utils.h check if partition is mounted before mkfs 2008-04-01 10:36:46 -04:00
volumes.c Add support for single single duplication of metadata 2008-04-03 16:35:48 -04:00
volumes.h Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00