Cant는 mdadm Ubuntu 18.04.1을 사용하여 RAID 1 md0 드라이브 찾기 packages is required for

mdadm을 사용하여 두 개의 3TB 드라이브를 사용하여 RAID 1 어레이를 만들었습니다. 밤새 걸리는 프로세스 후에 두 개의 3TB 드라이브 인 / sdb와 / sdc가 파일 탐색기에서 사라지는 것을 발견했습니다. 시스템을 재부팅하고 다시 나타난 후 다시 부팅 한 후 다시 사라지면 GParted에서 발견 된 오류로 인해 손상된 것처럼 보입니다.

Corrupt extent header while reading journal super block</i>

<i>Unable to read the contents of this file system!
Because of this, some operations may be unavailable.
The cause might be a missing software package.
The following list of software packages is required for ext4 file system support:  e2fsprogs v1.41

새 RAID 어레이 md0을 호출했는데이 폴더에는 / mnt / md0에 비어있는 폴더가 있습니다.

/ etc / mdadm에는 다음과 같은 conf 파일이 있습니다.

# mdadm.conf
#
# !NB! Run update-initramfs -u after updating this file.
# !NB! This will ensure that initramfs has an uptodate copy.
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default (built-in), scan all partitions (/proc/partitions) and all
# containers for MD superblocks. alternatively, specify devices to scan, using
# wildcards if desired.
#DEVICE partitions containers

# automatically tag new arrays as belonging to the local system
HOMEHOST <system>

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays

# This configuration was auto-generated on Mon, 24 Dec 2018 02:28:48 -0500 by mkconf
ARRAY /dev/md0 metadata=1.2 name=dna-computer:0 UUID=df25e6e6:cccb8138:aa9f4538:31608c33

이것이 도움이되는지 확실하지 않지만 명령 cat /proc/mdstat은 다음과 같이 읽습니다.

Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
unused devices: <none>


답변

이것은 mdadm의 기능입니다. 디스크를 / dev / md로 표시되는 RAID ID로 교체합니다 ( md여러 장치를 나타냄). 이 시점에서 디스크 배열이 손상 될 수 있으므로 개별 하드 디스크에 직접 액세스하지 않아도됩니다.

mdadm 매뉴얼 페이지에 명시된 바와 같이 :

RAID 장치는 둘 이상의 실제 블록 장치 에서 생성 된 가상 장치입니다 . 이를 통해 여러 장치 (일반적으로 디스크 드라이브 또는 파티션)를 단일 장치로 결합하여 단일 파일 시스템을 유지할 수 있습니다.

또한 예를 들어 볼 튜토리얼.