mdadm--detail 출력의 델타 장치는 무엇을 의미합니까?

mdadm--detail 출력의 델타 장치는 무엇을 의미합니까?

다음의 출력은 다음과 같습니다 mdadm --detail.

$ mdadm -D /dev/md2
/dev/md2:
        Version : 1.2
  Creation Time : Wed Jun 24 16:41:17 2020
     Raid Level : raid5
     Array Size : 7809195456 (7447.43 GiB 7996.62 GB)
  Used Dev Size : 7809195456 (7447.43 GiB 7996.62 GB)
   Raid Devices : 3
  Total Devices : 3
    Persistence : Superblock is persistent

    Update Time : Sun Jun 28 09:45:28 2020
          State : clean, reshaping
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

         Layout : left-symmetric
     Chunk Size : 64K

 Reshape Status : 38% complete
  Delta Devices : 1, (2->3)

           Name : XXXXXXXXXXX  (local to host XXXXXXXXXXXXXXXX)
           UUID : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
         Events : 9425

    Number   Major   Minor   RaidDevice State
       0       8        5        0      active sync   /dev/sda5
       1       8       21        1      active sync   /dev/sdb5
       2       8       37        2      active sync   /dev/sdc5

라인은 무엇을합니까?

Delta Devices : 1, (2->3)

평균?

답변1

이는 최근에 장치 번호를 1개 늘렸다는 의미입니다. 현재 어레이는 장치가 2개 있는 상태에서 3개(38% 완료) 상태로 재구성되고 있습니다. 첫 번째 숫자는 추가된 장치 수(1개)를 나타내고 화살표 사이의 숫자는 추가된 장치 수(2개)->추가된 장치 수(3개)를 나타냅니다.

관련 정보