Reconstruction of a raid software with MSDOS partition table

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

en:Reconstruction of a raid software with MSDOS partition table he:שחזור raid תוכנה עם טבלת מחיצות MSDOS ro:Reconstrucţie a unui software raid cu tabela de partiţii MSDOS ru:Реконструкция программного обеспечения raid с таблицей разделов MSDOS pl:Odbudowy macierzy raid oprogramowania z tabelą partycji MSDOS ja:MSDOS パーティション テーブルで raid ソフトウェアの再構成 ar:إعادة الإعمار للبرمجيات الغارة مع MSDOS تقسيم الجدول zh:重建的 raid 软件带有 MSDOS 的分区表 de:Rekonstruktion eines RAID-Software mit MS-DOS Partitionstabelle nl:Wederopbouw van een raid-software met MSDOS partitietabel it:Ricostruzione di un software raid con tabella delle partizioni MSDOS pt:Reconstrução de um software de raid com tabela de partições do MSDOS es:Reconstrucción de un raid de software con tabla de particiones MSDOS fr:Reconstruction d'un raid software avec table de partition en MSDOS

This article has been created by an automatic translation software. You can view the article source here.

Problem: _! _ | Your software raid managed by adm is in degraded mode.

using the tool | _. _. The first raid | _. _. MD | _. _. contains the partition | _. _. | _. _. The second raid | _. _. MD | _. _. contains the swap partition and the rest of the system: _! _ | Place of operation: _! _ | In order to put a new disk in the raid we need several things: _! _ | a size equal or larger disk | _. _. the best being the same size | _. _. a correct partition table | _. _. We will duplicate the table to partition from the source disk to the destination disk | _. _. the copy will be from the sdX disk drive YDC | _. _. Now we will add the add the disk to the raid | _. _. Adding the partition containing | _. _. | _. _. then the root partition of the | _. _. Let's move on to checking the status of the raid | _. _. you will be able to identify the type of partition table on hard disks | _. _. If your drive uses a MSDOS partition table you can follow this FAQ, if instead the partition table is a GPT we invite you to continue to this FAQ | _. _. Once the identified partition table we need to check the status of the raid through the adm tool | _. _. For more details about | _. _. replace Z with the number of the raid in question | _. _. Prerequisite: _! _ | Using sfdisk | _. _. Procedure: _! _ | Make sure you have one | _. _. before any operation on the tables of your data partitions in order to protect you from a loss dry data after a handling error.: _! _ | You need to first ensure that the current state of the raid and the type of partition table contained on the disks in the raid

Solution

e | _. _. We have a raid | _. _. gradient following the loss of a drive. : The disc named YDC is defective and must be replaced, the raid software will then rebuild. parted :

# parted -l
: fr:Reconstruction d'un raid software avec table de partition en GPT
:
# cat /proc/mdstat
()
# mdadm -D /dev/mdZ

backup 

Postulat

1 


  • 1 md0 /boot
  • 1 md1

  • ()
: 

()

# sfdisk -d /dev/sdX | sfdisk --force /dev/sdY


:
/boot
mdadm --manage /dev/md0 --add /dev/sdY2
Server
mdadm --manage /dev/md1 --add /dev/sdY4
: 
# cat /proc/mdstat
# mdadm --detail /dev/md0
# mdadm --detail /dev/md1



You are not allowed to post comments.