From ac2f439b10f0a0ad6167e6073ef537f247be97df Mon Sep 17 00:00:00 2001 From: simono41 Date: Sat, 9 Jun 2018 07:14:38 +0200 Subject: [PATCH] btrfs_raid_fix --- arch-install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch-install b/arch-install index e2a44e9..e6b52ba 100755 --- a/arch-install +++ b/arch-install @@ -526,13 +526,13 @@ function grubinstall() { function btrfsformat() { if [ "$raid" == "raid0" ]; then if [ "${verschluesselung}" == "y" ]; then - mkfs.btrfs -f -m raid10 -d raid10 ${deviceluks} ${device1} + mkfs.btrfs -f -m raid0 -d raid0 ${deviceluks} ${device1} else mkfs.btrfs -f -m raid0 -d raid0 ${device}${rootpartitionnummer} ${device1} fi elif [ "$raid" == "raid1" ]; then if [ "${verschluesselung}" == "y" ]; then - mkfs.btrfs -f -m raid10 -d raid10 ${deviceluks} ${device1} + mkfs.btrfs -f -m raid1 -d raid1 ${deviceluks} ${device1} else mkfs.btrfs -f -m raid1 -d raid1 ${device}${rootpartitionnummer} ${device1} fi