I know there is an OMV 3.0 thread about this, if it's applicable please close this and I can post there even though it is OMV 2.0.
I'm changing my raid setup from 3x 3TB in Raid5 to 2x 3TB in Raid1 + Rsnapshot to spare 3TB drive. After dismantling my Raid5 and wiping the discs I created a Raid1 mirror of the two 3TB drives. Reloaded my data, restarted and my Raid was gone. I'm gone ahead and re-creatred the Mirror Raid, rebooted, gone. I've tried to assemble the raid as many posts instructed but no luck. The mirror raid drives are sdb and sdc. I can't figure this one out, any help would be greatly appreciated!
mdadm --assemble --force --verbose /dev/md0 /dev/sd[bc]
Code
mdadm: looking for devices for /dev/md0
mdadm: Cannot assemble mbr metadata on /dev/sdb
mdadm: /dev/sdb has no superblock - assembly aborted
cat /proc/mdstat
blkid
Code
/dev/sdd1: UUID="275e2463-bb97-472c-a0e8-6962e0538355" TYPE="ext4" LABEL="OS"
/dev/sdd5: UUID="e45fde5b-7be1-45cf-a124-02e16fda8d82" TYPE="swap"
/dev/sde1: LABEL="DataB" UUID="7593ba61-3aca-4f16-b04a-0ed2ce37a51a" TYPE="ext4"
/dev/sda1: LABEL="MediaA" UUID="4c940230-d646-4d63-93ae-c5b0a71bcc6e" TYPE="ext4"
/dev/sdf1: LABEL="temp" UUID="5b2e9bfa-e671-4976-824c-68dbf0c0b86b" TYPE="ext4"
fdisk -l
Code
WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 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/sdd: 20.0 GB, 20014718976 bytes
255 heads, 63 sectors/track, 2433 cylinders, total 39091248 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: 0x12a8e921
Device Boot Start End Blocks Id System
/dev/sdd1 * 2048 29364223 14681088 83 Linux
/dev/sdd2 29364224 39090175 4862976 5 Extended
/dev/sdd5 29366272 39090175 4861952 82 Linux swap / Solaris
WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 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/sdc1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sde: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 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/sde1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 3000.6 GB, 3000592982016 bytes
256 heads, 63 sectors/track, 363376 cylinders, total 5860533168 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/sda1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
WARNING: GPT (GUID Partition Table) detected on '/dev/sdf'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sdf: 120.0 GB, 120034123776 bytes
256 heads, 63 sectors/track, 14536 cylinders, total 234441648 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
Device Boot Start End Blocks Id System
/dev/sdf1 1 234441647 117220823+ ee GPT
Alles anzeigen
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=nas:DataA UUID=2b9f2ad4:73d43eeb:fe93f168:f33e43de
Alles anzeigen