#mdadm Raid6 über 4 Festplatten erstellen:
mdadm –create /dev/md3 –level=6 –raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
# /etc/mdadm/mdadm.conf updaten:
mdadm –assemble –scan > /etc/mdadm/mdadm.conf
# Infos des neuen Raids anzeigen:
mdadm –detail /dev/md3
# Raidaufbaustatus überprüfen:
cat /proc/mdstat
# Raidaufbau starten:
mdadm –readwrite /dev/md3
# Aufbau beschleunigen:
echo 99999999 > /proc/sys/dev/raid/speed_limit_max
echo 9999999 > /proc/sys/dev/raid/speed_limit_min
# Aufbau konstant überwachen:
watch cat /proc/mdstat
# nach ~900min ist das Raid fertig und kann verschlüsselt werden:
cryptsetup -c aes-xts-plain64 -s 512 luksFormat /dev/md3
# Container öffnen:
cryptsetup luksOpen /dev/md3 storage
# Container foramtieren und mounten:
mkdir /storage1; mkfs.ext4 -m 0 /dev/mapper/storage; mount /dev/mapper/storage /storage1
-
Recent Posts
Recent Comments
- systemd unit hardening followup followup | the world needs more puppet! on systemd unit hardening followup
- systemd unit hardening followup | the world needs more puppet! on systemd unit hardening
- Andreas on Dovecot: Apply sieve filter to existing emails
- Feiko Nanninga on Short Tip: Install shellcheck on an outdated CentOS
- Computerkid/Grayson Penland on Linux Short Tip: systemd-networkd and DNS servers
Archives
- February 2022
- January 2022
- August 2020
- June 2020
- January 2019
- November 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- March 2014
- February 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- July 2011
Categories
Meta