アップグレード後、ソフトウェアRAID-0構成を復元してみてください。

アップグレード後、ソフトウェアRAID-0構成を復元してみてください。

私は2つのMegaRAID RAID-6パーティションを持つシステムを持っていて、LinuxソフトウェアRAIDを使ってそれを単一のRAID-0システムに切り替えましたが、実際にはそうしませんでした。システムをアップグレードすると/md*パーティションが失われましたが、/dev/sda1および/dev/sdb1ハードウェアRAIDパーティションはまだ存在します。ハードウェアRAIDパーティションをマウントできません。 mdadmまたはdmraidを使用して、すべての内容を失うことなく/ md *パーティションを復元できますか?

以下は、RAID 0構成の一部である2つのパーティションに関する情報です。

    mdadm --examine /dev/sda1
/dev/sda1:
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 754cf49f:6e88dcc2:25005497:2b83f9e9
  Creation Time : Tue Mar 20 22:28:11 2012
     Raid Level : raid0
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3

    Update Time : Tue Mar 20 22:28:11 2012
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 7c59057a - correct
         Events : 1

     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     0       8       33        0      active sync   /dev/sdc1

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8       49        1      active sync   /dev/sdd1

mdadm --examine /dev/sdb1
/dev/sdb1: 
          Magic : a92b4efc
        Version : 0.90.00
           UUID : 754cf49f:6e88dcc2:25005497:2b83f9e9
  Creation Time : Tue Mar 20 22:28:11 2012
     Raid Level : raid0
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 3

    Update Time : Tue Mar 20 22:28:11 2012
          State : active
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 7c59058c - correct
         Events : 1

     Chunk Size : 64K

      Number   Major   Minor   RaidDevice State
this     1       8       49        1      active sync   /dev/sdd1

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8       49        1      active sync   /dev/sdd1

アップグレード前は、これら2つのパーティションがsdc1とsdd1であり、アップグレード後はsda1とsdb1です。

ベストアンサー1

おすすめ記事