mdadm은 /media/storage 아래에 raid0 디스크를 자동으로 마운트하지 않습니다.

mdadm은 /media/storage 아래에 raid0 디스크를 자동으로 마운트하지 않습니다.

밤새 이 문제로 머리를 쥐어뜯었지만 해결이 안 되는 것 같습니다.

저는 최근에 Windows 10 컴퓨터를 교체하기 위해 Linux Mint 17.3 Mate를 설치했고 약간의 수정 끝에 마침내 작동하게 되었습니다.

내가 가진 유일한 문제는 부팅 시 raid0 디스크가 자동으로 마운트되는 것입니다.

디스크를 마운트하려면 터미널을 열고 다음을 입력해야 합니다.

Nebuchadnezzar ~ # mdadm --assemble --scan
mdadm: Container /dev/md126 has been assembled with 2 drives

그런 다음 대부분의 경우 드라이브를 정상적으로 사용할 수 있었습니다. 그러나 여전히 /media/storage를 통해 액세스할 수 없는 것 같습니다. /media/storage 시작 중에 이 RAID 어레이를 자동으로 마운트하도록 mdadm을 설정하는 방법이 있습니까?

FDISK -L 출력:

Nebuchadnezzar ~ # fdisk -l

Disk /dev/sda: 480.1 GB, 480103981056 bytes
255 heads, 63 sectors/track, 58369 cylinders, total 937703088 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 identifier: 0x0003bd2e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048      499711      248832   83  Linux
/dev/sda2          501758   937701375   468599809    5  Extended
/dev/sda5          501760   937701375   468599808   8e  Linux LVM

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 242251 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  4294967295  2147483647+  ee  GPT
Partition 1 does not start on physical sector boundary.

Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes
255 heads, 63 sectors/track, 243201 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/mapper/mint--vg-root: 445.5 GB, 445481222144 bytes
255 heads, 63 sectors/track, 54160 cylinders, total 870080512 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 identifier: 0x00000000

Disk /dev/mapper/mint--vg-root doesn't contain a valid partition table

Disk /dev/mapper/mint--vg-swap_1: 34.3 GB, 34313601024 bytes
255 heads, 63 sectors/track, 4171 cylinders, total 67018752 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 identifier: 0x00000000

Disk /dev/mapper/mint--vg-swap_1 doesn't contain a valid partition table
/etc/fstab

Nebuchadnezzar ~ # cat /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>
/dev/mapper/mint--vg-root /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
#UUID=5c4853b8-7c35-421e-81d2-6c45ac712770 /boot           ext2    defaults        0       2
/dev/mapper/mint--vg-swap_1 none            swap    sw              0       0
UUID=5c4853b8-7c35-421e-81d2-6c45ac712770   /boot   ext2    defaults    02

#Raid Addon
/dev/md126 /media/storage ext4 defaults,nobootwait 0 0 

/etc/mdadm/mdadm.conf

Nebuchadnezzar ~ # cat /etc/mdadm/mdadm.conf 
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

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

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


ARRAY /dev/md126 UUID=d6942994:2c24623b:07cd5adc:651ba0ae

어떤 도움이라도 대단히 감사하겠습니다!

관련 정보