Hi,
I am struggling to connect to some files and folders on my OMV NAS build on a Pi3
root@raspberrypi:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sdb[0]
976631488 blocks super 1.2 [2/1] [U_]
bitmap: 4/8 pages [16KB], 65536KB chunk
unused devices: <none>
root@raspberrypi:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="boot" UUID="7D5C-A285" TYPE="vfat" PARTUUID="000b5098-01"
/dev/mmcblk0p2: LABEL="omv" UUID="5d18be51-3217-4679-9c72-a54e0fc53d6b" TYPE="ext4" PARTUUID="000b5098-02"
/dev/mmcblk0p3: UUID="fa36508a-b3c4-4499-b30a-711dd5994225" TYPE="ext4" PARTUUID="000b5098-03"
/dev/sda: UUID="c291ee84-e025-76a2-2e58-f8283dae819b" UUID_SUB="3392a0f3-71cc-a715-6caf-2f20feb57cae" LABEL="raspberrypi:Mirror" TYPE="linux_raid_member"
/dev/sdc: UUID="c291ee84-e025-76a2-2e58-f8283dae819b" UUID_SUB="42b828c7-f2ed-9b30-8799-262364fcd8f4" LABEL="raspberrypi:Mirror" TYPE="linux_raid_member"
/dev/mmcblk0: PTUUID="000b5098" PTTYPE="dos"
root@raspberrypi:~# fdisk -l | grep "Disk "
Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/mmcblk0: 15.1 GiB, 16172187648 bytes, 31586304 sectors
Disk identifier: 0x000b5098
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk /dev/sdc: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
root@raspberrypi:~# 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/md0 metadata=1.2 name=raspberrypi:Mirror UUID=c291ee84:e02576a2:2e58f 828:3dae819b
# instruct the monitoring daemon where to send mail alerts
MAILADDR carsten.ackermann@gmail.com
MAILFROM rootroot@raspberrypi:~#
root@raspberrypi:~# mdadm --detail --scan --verbose
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=1.2
I got 2 Trancend 1TB hard drives in there
I got a powered USB hub to power the 2 hard drives, and I think the faliure happened when when this hub died
when this happened I could no longer see the share in the web portal but after some googeling I ran a command that i cant remember or find (please let me know if its important) now I can see the share, but as i said im missing some files and folders.
there is some important info on there, so any help would be great