|
|
(22 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| <syntaxhighlight lang="bash" highlight="1" line>
| | '''Speicherboy''' |
| sudo mdadm --detail /dev/md
| |
| mdadm: /dev/md does not appear to be an md device
| |
| </syntaxhighlight>
| |
|
| |
|
| <syntaxhighlight lang="bash" highlight="1" line>
| | [[File:array1.jpg|400px]] |
| sudo mdadm --detail /dev/md2
| | [[File:array2.jpg|400px]] |
| /dev/md2:
| |
| Version : 1.0
| |
| Creation Time : Fri Jul 8 20:55:13 2011
| |
| Raid Level : raid6
| |
| Array Size : 5797625088 (5.40 TiB 5.94 TB)
| |
| Used Dev Size : 1932541696 (1843.02 GiB 1978.92 GB)
| |
| Raid Devices : 5
| |
| Total Devices : 5
| |
| Persistence : Superblock is persistent
| |
|
| |
|
| Intent Bitmap : Internal
| | == Beschreibung == |
| | [[Speicherboy/RAID|RAID 6 - 16/8TB]] |
|
| |
|
| Update Time : Sun Mar 9 10:40:08 2025
| | <noinclude> |
| State : clean
| |
| Active Devices : 5
| |
| Working Devices : 5
| |
| Failed Devices : 0
| |
| Spare Devices : 0
| |
|
| |
|
| Layout : left-symmetric
| | == Anhang == |
| Chunk Size : 128K
| | === Siehe auch === |
| | {{Special:PrefixIndex/{{BASEPAGENAME}}/}} |
| | === Links === |
| | ==== Weblinks ==== |
|
| |
|
| Consistency Policy : bitmap
| | [[Kategorie:Speicherboy]] |
|
| |
|
| Name : speicherboy:2 (local to host speicherboy)
| | </noinclude> |
| UUID : 9827dac2:c5f2da90:3b95e739:fe0493f1
| |
| Events : 160984
| |
| | |
| Number Major Minor RaidDevice State
| |
| 4 8 34 0 active sync /dev/sdc2
| |
| 7 8 66 1 active sync /dev/sde2
| |
| 6 8 2 2 active sync /dev/sda2
| |
| 8 8 50 3 active sync /dev/sdd2
| |
| 5 8 18 4 active sync /dev/sdb2
| |
| </syntaxhighlight> | |
| | |
| Speicherboy
| |
| ===========
| |
| | |
| Zwei platten auf faulty setzen und entfernen
| |
| # mdadm /dev/md2 --fail /dev/sdXY
| |
| | |
| RAID stoppen
| |
| mdadm -S /dev/md2
| |
| # mdadm -A /dev/md2
| |
| | |
| Platten auswählen (3 /dev/sdd2/4 /dev/sdb2)
| |
| | |
| mdadm --detail /dev/md2
| |
| 8 8 50 3 active sync /dev/sdd2
| |
| 5 8 18 4 active sync /dev/sdb2
| |
| | |
| Seriennummern ermitteln
| |
| hdparm -I /dev/sd? | grep -E '(Serial Number|/dev/)'
| |
| /dev/sdd: Serial Number: WD-WCAZA5427816
| |
| /dev/sdb: Serial Number: WD-WCAZA5466697
| |
| | |
| mdadm /dev/md2 --remove /dev/sdd2
| |
| mdadm /dev/md2 --remove /dev/sdb2
| |
|
| |
| root@speicherboy ~ # mdadm /dev/md2 --fail /dev/sdd2
| |
| mdadm: set /dev/sdd2 faulty in /dev/md2
| |
| root@speicherboy ~ # mdadm /dev/md2 --remove /dev/sdd2
| |
| mdadm: hot removed /dev/sdd2 from /dev/md2
| |
| root@speicherboy ~ # mdadm --detail /dev/md2
| |
| /dev/md2:
| |
| Version : 1.0
| |
| Creation Time : Fri Jul 8 20:55:13 2011
| |
| Raid Level : raid6
| |
| Array Size : 5797625088 (5.40 TiB 5.94 TB)
| |
| Used Dev Size : 1932541696 (1843.02 GiB 1978.92 GB)
| |
| Raid Devices : 5
| |
| Total Devices : 4
| |
| Persistence : Superblock is persistent
| |
| | |
| Intent Bitmap : Internal
| |
| | |
| Update Time : Sun Mar 9 11:31:05 2025
| |
| State : clean, degraded
| |
| Active Devices : 4
| |
| Working Devices : 4
| |
| Failed Devices : 0
| |
| Spare Devices : 0
| |
| | |
| Layout : left-symmetric
| |
| Chunk Size : 128K
| |
| | |
| Consistency Policy : bitmap
| |
| | |
| Name : speicherboy:2 (local to host speicherboy)
| |
| UUID : 9827dac2:c5f2da90:3b95e739:fe0493f1
| |
| Events : 160986
| |
| | |
| Number Major Minor RaidDevice State
| |
| 4 8 34 0 active sync /dev/sdc2
| |
| 7 8 66 1 active sync /dev/sde2
| |
| 6 8 2 2 active sync /dev/sda2
| |
| - 0 0 3 removed
| |
| 5 8 18 4 active sync /dev/sdb2
| |
|
| |
| root@speicherboy ~ # cat /proc/mdstat
| |
| Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10]
| |
| md2 : active raid6 sda2[6] sdb2[4] sdd2[7]
| |
| 5797625088 blocks super 1.0 level 6, 128k chunk, algorithm 2 [5/3] [UUU__]
| |
| bitmap: 1/15 pages [4KB], 65536KB chunk
| |
|
| |
| unused devices: <none>
| |
| | |
| | |
| Neues RAID
| |
| ==========
| |
| Zwei Platten
| |
| === Anschließen ===
| |
| === Identifizieren ===
| |
| root@speicherboy ~ # hdparm -I /dev/sd? | grep -E '(Serial Number|/dev/)'
| |
| /dev/sda:
| |
| Serial Number: ZR15Q1Y0
| |
| /dev/sdb:
| |
| Serial Number: ZR15PPMN
| |
| /dev/sdc:
| |
| Serial Number: WD-WCAZA5453665
| |
| /dev/sdd:
| |
| Serial Number: WD-WMC4N0252662
| |
| /dev/sde:
| |
| Serial Number: 184271802787
| |
| /dev/sdf:
| |
| Serial Number: WD-WMC4M0D7KR69
| |
| | |
| === Beschriften ===
| |
| | |
| === Partitionieren ===
| |
| | |
| === Neues RAID ===
| |
| RAID 6 mit zwei platten missing erstellen
| |
| | |
| === Daten kopieren ===
| |