I have an Odroid XU4 NAS with 3 HDs. Two of them where in a RAID1 to be used as a backup for my pictures and the third one was mounted to be used for bittorrent and plex. Forgot to mention that all HD are in EXT4.
After the installation of the new OMV3, the RAID had to be rebuilt. The webgui detected the two hardisk part of the RAID and started the procedure to rebuild it. It took all the night and today I had the RAID OK, but I can't see the RAID to write data on it.
Here the details of the RAID:
cat /proc/mdstat
Code
root@odroid-jessie:~# cat /proc/mdstat
Personalities : [raid1]
md127 : active raid1 sdd[3] sdc[2](F) sda[0]
976631360 blocks super 1.2 [2/2] [UU]
unused devices: <none>
blkid
Code
root@odroid-jessie:/# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="96C3-9298" TYPE="vfat" PARTUUID="000f1766-01"
/dev/mmcblk0p2: LABEL="GameStationTurbo" UUID="e139ce78-9841-40fe-8823-96a304a09859" TYPE="ext4" PARTUUID="000f1766-02"
/dev/sda: UUID="0301e8e5-1ba3-7a22-e101-1fdf80d54c17" UUID_SUB="cfdc0805-38eb-2d0f-a785-4417563503d8" LABEL="odroid:BACKUP" TYPE="linux_raid_member"
/dev/md127: UUID="ff389cf2-0cf3-47db-bdd0-d0000a9a6494" TYPE="ext4"
/dev/sdb1: LABEL="HD3" UUID="db75e0b1-b05a-4038-acf5-8b570602b0c1" TYPE="ext4" PARTUUID="ff63fa79-7d41-4d12-b0cf-528aa71876ef"
/dev/sdd: UUID="0301e8e5-1ba3-7a22-e101-1fdf80d54c17" UUID_SUB="1eaa485c-7a57-7258-bb51-111e74124dab" LABEL="odroid:BACKUP" TYPE="linux_raid_member"
/dev/mmcblk0: PTUUID="000f1766" PTTYPE="dos"
fdisk -l
Code
root@odroid-jessie:/# fdisk -l
Disk /dev/mmcblk0: 7.3 GiB, 7818182656 bytes, 15269888 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
Disklabel type: dos
Disk identifier: 0x000f1766
Device Boot Start End Sectors Size Id Type
/dev/mmcblk0p1 2048 147455 145408 71M c W95 FAT32 (LBA)
/dev/mmcblk0p2 147456 15269887 15122432 7.2G 83 Linux
Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 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/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 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/sda: 931.5 GiB, 1000204877824 bytes, 1953525152 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/md127: 931.4 GiB, 1000070512640 bytes, 1953262720 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: 465.8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: gpt
Disk identifier: 6EB81A86-ABF1-4506-ACEC-5A95D4334431
Device Start End Sectors Size Type
/dev/sdb1 2048 976773134 976771087 465.8G Linux filesystem
Disk /dev/sdd: 931.5 GiB, 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
Alles anzeigen
cat /etc/mdadm/mdadm.conf
Code
root@odroid-jessie:/# cat /etc/mdadm/mdadm.conf
# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#
# by default, scan all partitions (/proc/partitions) for MD superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
# Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
# used if no RAID devices are configured.
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>
# definitions of existing MD arrays
ARRAY /dev/md/odroid:BACKUP metadata=1.2 name=odroid:BACKUP UUID=0301e8e5:1ba37a22:e1011fdf:80d54c17
Alles anzeigen
mdadm --detail --scan --verbose
Code
root@odroid-jessie:/# mdadm --detail --scan --verbose
ARRAY /dev/md/odroid:BACKUP level=raid1 num-devices=2 metadata=1.2 name=odroid:BACKUP UUID=0301e8e5:1ba37a22:e1011fdf:80d54c17
devices=/dev/sda,/dev/sdd
Any suggestion of how to fully recover the RAID???