再起動後にSoftRAID 10が破損しています。部門別調整により発生する可能性

再起動後にSoftRAID 10が破損しています。部門別調整により発生する可能性

セントース7.再起動後にSoftRAID 10が破損しています。

Raid 10とext4(1,2)を作成しました。標準手順の後、完全な配列を実施した。同盟を結ぶ部門(3)。私に尋ねないでください。その後4ヶ月の作業が流れました。再起動後、Raidは起動しません(4)。現在、私はアレイの全セクタコピーを行っています。残念ながら、データのバックアップは2ヶ月前です。過去4ヶ月間、コンピュータを再起動しませんでした。

質問:RAIDを復元する方法は?ソートによってRAIDが破損していますか?それでは、どうやって再び受け取ることができますか?

1. mdadm --create --verbose /dev/md0 --level=10 --raid-devices=4 /dev/sda /dev/sdb /dev/sdc /dev/sdd
2. mkfs.ext4 -F /dev/md0
3. parted -a optimal /dev/md0
  1. mdadm --details/dev/md0
/dev/md0:
           Version : 1.2
        Raid Level : raid0
     Total Devices : 2
       Persistence : Superblock is persistent
             State : inactive
              Name : clustera.lab:0  (local to host clustera.lab)
              UUID : def60eb0:d92a0ca5:5297ab23:446fdcdc
            Events : 140006
    Number   Major   Minor   RaidDevice
       -       8       32        -        /dev/sdc
       -       8       48        -        /dev/sdd

猫/proc/mdstat

Personalities : 
md0 : inactive sdd[3](S) sdc[2](S)
      27344502784 blocks super 1.2
       unused devices: <none>

fdisk -l

Disk /dev/sda: 14000.5 GB, 14000519643136 bytes, 27344764928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: A8EE15FE-6D52-4559-9DDE-F48143F736F3
#         Start          End    Size  Type            Name
 1         2048  27344762879   12.8T  Microsoft basic primary
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

Disk /dev/sdb: 14000.5 GB, 14000519643136 bytes, 27344764928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: gpt
Disk identifier: A8EE15FE-6D52-4559-9DDE-F48143F736F3
#         Start          End    Size  Type            Name
 1         2048  27344762879   12.8T  Microsoft basic primary

Disk /dev/sdc: 14000.5 GB, 14000519643136 bytes, 27344764928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes  / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdd: 14000.5 GB, 14000519643136 bytes, 27344764928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.

ベストアンサー1

おすすめ記事