After having removed and mounted a disk (sdc) on a different computer, my raid 1 array now does not appear in the web GUI under raid management when returned to my server.
cat /proc/mdstat
Code
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md0 : inactive sdb[0](S)
2930135512 blocks super 1.2
unused devices: <none>
blkid
Code
/dev/sda1: UUID="b40a2842-935f-424f-be3c-8eff091e7a4b" TYPE="ext4" PARTUUID="326a2e34-01"
/dev/sda5: UUID="31ed5f71-3b23-4db7-8d75-a7aefa980882" TYPE="swap" PARTUUID="326a2e34-05"
/dev/sdb: UUID="9481f885-48b8-5b55-b930-b86b3e152e6c" UUID_SUB="1350e551-f6bc-41e3-f2c4-39f54de07cf5" LABEL="openmediavault:Raid1" TYPE="l inux_raid_member"
/dev/sdd1: LABEL="1TBDrive" UUID="0163461d-12a9-47eb-91ea-f7e3f245aaeb" TYPE="ext4" PARTUUID="8e15da09-0f0e-4dda-8fe9-323cb7a9272a"
fdisk -l | grep "Disk "
Code
Disk /dev/sda: 29.5 GiB, 31675383808 bytes, 61865984 sectors
Disk identifier: 0x326a2e34
Disk /dev/sdb: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
Disk /dev/sdd: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: A2B116B8-5357-45A5-9483-9C88D1D51CFD
Disk /dev/sdc: 2.7 TiB, 3000592982016 bytes, 5860533168 sectors
cat /etc/mdadm/mdadm.conf
Code
# 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=openmediavault:Raid1 UUID=9481f885:48b85b55:b930b86b:3e152e6c
Alles anzeigen
mdadm --detail --scan --verbose
Code
INACTIVE-ARRAY /dev/md0 num-devices=1 metadata=1.2 name=openmediavault:Raid1 UUID=9481f885:48b85b55:b930b86b:3e152e6c
devices=/dev/sdb
As far as i can tell the device sdb still is listed as a raid member. However, in trying to rebuild the array (by adding sdc) gives the following error:
Code
root@openmediavault:~# mdadm --assemble /dev/md0 /dev/sdb /dev/sdc/
mdadm: /dev/sdb is busy - skipping
mdadm: cannot open device /dev/sdc/: Not a directory
mdadm: /dev/sdc/ has no superblock - assembly aborted
Keep in mind that im new to OMV and mdadm, just in case the above command is not how you are supposed to do it . Tried following tips found here, however to no avail. Any help is appreciated!