raid

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
raid [18/05/2024 - 11:34] adminraid [17/08/2024 - 07:06] (aktuell) – Externe Bearbeitung 127.0.0.1
Zeile 1: Zeile 1:
 +====== Array umbenennen ======
 +
 ====== Basis Tools ====== ====== Basis Tools ======
  
Zeile 21: Zeile 23:
 ====== mdadm ====== ====== mdadm ======
  
-Löschen der **Metatdaten** für das RAID Array +Löschen der **Metatdaten** für das RAID Array <prefixed command language-bash> ''mdadm zero-superblock /dev/physische-partition'' </prefixed>
-<prefixed command language-bash> +
-''mdadm --zero-superblock /dev/physische-partition'' +
-</prefixed>+
  
----examine analysiert einzelne physische Partitonen in einem Array. --detail zeigt dagegen ein gesamtes Array an.+examine analysiert einzelne physische Partitonen in einem Array. detail zeigt dagegen ein gesamtes Array an.
  
-<code>mdadm --examine --brief --scan  --config=partitions+<code> 
 +mdadm --examine --brief --scan  --config=partitions
  
 </code> </code>
Zeile 35: Zeile 35:
  
 <code> <code>
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>update-initramfs -u</font> + <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>update-initramfs -u</font> 
 </code> </code>
  
Zeile 41: Zeile 42:
  
 <code> <code>
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>root@nas:/etc/mdadm# sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1</font> mdadm: Note: this array has metadata at the start and +sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1 
-   may not be suitable as a boot device.  If you plan to +mdadm: Note: this array has metadata at the start and 
-   store '/boot' on this device please ensure that +may not be suitable as a boot device.  If you plan to 
-   your boot-loader understands md/v1.x metadata, or use +store '/boot' on this device please ensure that 
-   --metadata=0.90+your boot-loader understands md/v1.x metadata, or use --metadata=0.90
 mdadm: size set to 5860389440K mdadm: size set to 5860389440K
 mdadm: automatically enabling write-intent bitmap on large array mdadm: automatically enabling write-intent bitmap on large array
  
-</code> +Continue creating array? y 
- +mdadm: Defaulting to version 1.2 metadata
-<code> +
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>Continue creating array? y</font> mdadm: Defaulting to version 1.2 metadata+
 mdadm: array /dev/md0 started. mdadm: array /dev/md0 started.
  
Zeile 60: Zeile 59:
  
 <code> <code>
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>root@nas:/etc/mdadm# cat /proc/mdstat</font> Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]+cat /proc/mdstat 
 +Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
 md0 : active raid1 sdc1[1] sdb1[0] md0 : active raid1 sdc1[1] sdb1[0]
      5860389440 blocks super 1.2 [2/2] [UU]      5860389440 blocks super 1.2 [2/2] [UU]
Zeile 83: Zeile 83:
  
 <code> <code>
- <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>root@nas:~# mdadm --detail /dev/md0</font>       /dev/md0:+ <font inherit/monospace;;inherit;;#000000background-color:#ffffff;>root@nas:~# mdadm --detail /dev/md0</font>         /dev/md0:
           Version : 1.2           Version : 1.2
     Creation Time : Thu Dec  1 18:32:25 2016     Creation Time : Thu Dec  1 18:32:25 2016
  • raid.1716032066.txt.gz
  • Zuletzt geändert: 17/08/2024 - 07:06
  • (Externe Bearbeitung)