Saturday, March 21, 2020

Raspi Ubuntu Raid 1

Raid 1 on ubuntu setup
https://ourcodeworld.com/articles/read/736/how-to-implement-a-software-raid-1-array-mirror-in-ubuntu-16-04


:/home/shares$ sudo mdadm --detail --scan

ARRAY /dev/md0 metadata=1.2 name=iOBroker1:0 UUID=ae338e6c:87421f87:56adea0f:e4e066c0

:/home/shares$ sudo mdadm --detail --scan | sudo tee -a /etc/mdadm/mdadm.conf

ARRAY /dev/md0 metadata=1.2 name=iOBroker1:0 UUID=ae338e6c:87421f87:56adea0f:e4e066c0







debugging and getting info:

~$ sudo mdadm  -E /dev/sdc

/dev/sdc:

   MBR Magic : aa55

Partition[0] :   4294967295 sectors at            1 (type ee)

:~$ cat /proc/mdstat

Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]

md0 : active raid1 sdb[1] sda[0]

      244066432 blocks super 1.2 [2/2] [UU]

      bitmap: 0/2 pages [0KB], 65536KB chunk



Statusanzeige des Software-RAIDs
~# mdadm -D /dev/mdN


sudo mdadm -D /dev/md0

 sudo cat /etc/mdadm/mdadm.conf


regular error with mount.cifs -2 can relate to version being

Try options vers=1.0  or vers=2.0


Diagnose: 
cat /proc/mdstat


https://www.thomas-krenn.com/de/wiki/Mdadm_checkarray

No comments:

Post a Comment