You are not logged in.
I just added 2 2TB disks to my system, created equal 1.7TB GPT "Linux RAID" partitions on them and created a RAID 1. This RAID is only for data, not for any root or swap. I didn't use the entire disk because I want the last 200GB or so for Windows.
I created the RAID using this:
# mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sd[de]1Then I just encrypted the entire /dev/md0, unlocked it, formatted it, and mounted it:
# cryptsetup... luksFormat /dev/md0
# cryptsetup ... luksOpen /dev/md0 name
# mkfs.ext4 /dev/mapper/name
# mount /dev/mapper/name /nameAnd now it's ready to use. However, I saw in the Wiki that they are using LVM and says it has several advantages over not using it. I don't really understand it though. What are the advantages? And do you think I should add LVM? I haven't added any data yet, so it wouldn't be too much hassle adding it. But I would like to know if it's worth it, and why.
Last edited by Chrilleee (2015-05-09 17:19:18)
Offline
https://wiki.archlinux.org/index.php/LVM#Advantages
If you're not planning on having multiple volumes/snapshots, then it's probably not worth setting it up.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I agree, something to consider is using btrfs instead, it can replace both mdadm and lvm and provides a lot of compelling features
Offline
Thanks! Then I'll leave it as it is.
Offline