![재부팅 후 Ubuntu RAID 구성이 손실됨](https://rvso.com/image/1313361/%EC%9E%AC%EB%B6%80%ED%8C%85%20%ED%9B%84%20Ubuntu%20RAID%20%EA%B5%AC%EC%84%B1%EC%9D%B4%20%EC%86%90%EC%8B%A4%EB%90%A8.png)
마더보드에 JMicron RAID 컨트롤러가 있고 시스템 부팅 시 RAID 어레이를 설정할 수 있는 메뉴가 있습니다. RAID-1로 설정하고 동일한 2TB 디스크 2개를 추가했습니다(OS 디스크는 별도입니다).
Ubuntu의 디스크 유틸리티에서 이 2개의 하드 디스크를 볼 수 있었고 주변 장치 아래에 2TB 디스크인 추가 항목을 볼 수 있었습니다. 나는 이것이 내 RAID 어레이에 대한 일종의 가상 보기라고 가정했습니다.
주변 장치 아래에 나열된 2TB 디스크를 포맷(NTFS)하기 위해 볼륨 포맷 옵션을 사용했습니다. 에 탑재된 장치로 등장했습니다 /media/data_raid
. 대부분의 파일을 거기에 복사했는데 제대로 작동했습니다.
시스템을 재부팅했는데 갑자기 주변 장치에 디스크 3개가 추가로 표시되는 것은 말도 안되는 현상입니다. 또한 더 이상 마운트할 수 없습니다. /media/data_raid
Gnome에서 이를 클릭하면 다음과 같은 오류 메시지가 나타납니다.
"One or more block devices are holding /dev/dm-0"
디스크 유틸리티에서는 다음과 같이 표시됩니다.
/dev/mapper
어떤 이유로 든 3개의 추가 항목이 있습니다 .
~$ ls -l /dev/mapper
total 0
crw------- 1 root root 10, 236 2012-05-01 20:01 control
lrwxrwxrwx 1 root root 7 2012-05-01 20:15 isw_bjcjaghhjj_DATA -> ../dm-0
lrwxrwxrwx 1 root root 7 2012-05-01 20:01 isw_bjcjaghhjj_DATA1 -> ../dm-1
lrwxrwxrwx 1 root root 7 2012-05-01 20:01 isw_bjcjaghhjj_DATA2 -> ../dm-2
lrwxrwxrwx 1 root root 7 2012-05-01 20:01 isw_bjcjaghhjj_DATA3 -> ../dm-3
이 문제를 해결하고 내 RAID 어레이에 다시 액세스할 수 있도록 도와주실 수 있나요?
감사합니다.
편집하다:
mdadm.conf
에는 없습니다 /etc/
.
안에 /etc/fstab/
:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=8e466cac-6543-48dc-aedf-ce378375053b / ext4 errors=remount-ro 0 1
# swap was on /dev/sda3 during installation
UUID=f80e449c-4212-45e6-939c-f16a55ae8ad5 none swap sw 0 0