どのRAIDドライブをインストールできますか?

どのRAIDドライブをインストールできますか?

4台のドライブを搭載したCentos 7システムがあります。 BIOSでは、2つのミラーペアに設定されます。システムがインストールされると、基本インストールはペアのみを確認し、そのペアにインストールします。今、別のドライブのペアにアクセスするためにどのドライブをマウントする必要があるかを調べようとしています。 fdisk -lが示すように、sdcドライブはCentosで選択したドライブで、sddはミラーです。だからsdaをマウントする必要があり、sdbはミラーになります。しかし、どうやって確実に知ることができますか? sddがデフォルトでsdcがミラーの場合、どういうわけか逆に行われたので、sdbをマウントする必要がありますか? df -u どんな手がかりも提供しないようです。

df -hはこれを生成します...

Filesystem                                                          1K-blocks    Used Available Use% Mounted on 
/dev/mapper/centos-root    52403200 1269720  51133480   3% / 
devtmpfs                            3962440       0   3962440   0% /dev 
tmpfs                              3971896       0   3971896   0% /dev/shm 
tmpfs                          3971896    8872   3963024   1% /run 
tmpfs                              3971896       0   3971896   0% /sys/fs/cgroup 
/dev/mapper/centos-home  914001876  690184 913311692   1% /home 
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p1    508588  167460    341128  33% /boot

これはfdisk -lです

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000bd18a

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048     1026047      512000   83  Linux
/dev/sdc2         1026048  1951170559   975072256   8e  Linux LVM

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000bd18a

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *        2048     1026047      512000   83  Linux
/dev/sdd2         1026048  1951170559   975072256   8e  Linux LVM

Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78: 999.0 GB, 998999326720 bytes, 1951170560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000bd18a

                                                             Device Boot      Start         End      Blocks   Id  System
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p1   *        2048     1026047      512000   83  Linux
/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p2         1026048  1951170559   975072256   8e  Linux LVM

Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p1: 524 MB, 524288000 bytes, 1024000 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p2: 998.5 GB, 998473990144 bytes, 1950144512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-home: 936.4 GB, 936395145216 bytes, 1828896768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0: 999.0 GB, 998999326720 bytes, 1951170560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

ベストアンサー1

/dev/sd*ドライブがミラーにあることを考慮すると、ドライブに直接アクセス(使用)せずに/dev/mapper/ddf*デバイスを使用します。

2つのデバイスがありますddf

  1. /dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0/dev/sda調和がとれない/dev/sdb
  2. /dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78/dev/sdc調和がとれない/dev/sdd

/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p12つのパーティションがあり、/dev/mapper/ddf1_4c5349202020202080862925000000004711471100001e78p22番目のパーティションはLVMandのボリュームです。/dev/mapper/centos-swap/dev/mapper/centos-root/dev/mapper/centos-home

したがって、探しているドライブはです/dev/mapper/ddf1_4c53492020202020808629250000000047114711000028a0。パーティションを分割して埋める必要があります。 :)

おすすめ記事