I've installed the OMV 2.1 at a USB-Stick. After I set up the Mirror Raid (Raid 1) everything was o.k. till reboot.
No Raid was shown in the Raid Tab. After rebuilding the raid was back with all data but this takes 6 hours!
I've installed the OMV a second but it's still the same.
this is the config of /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=fileserver:3TB UUID=13bd2b70:244acace:f3ab951c:0f2515c1
Alles anzeigen
at the /etc/mdadm/mdadm.conf
I can find this
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=fileserver:3TB UUID=13bd2b70:244acace:f3ab951c:0f2515c1
Alles anzeigen
the is the output of the
cat /proc/mdstat
blkid
Code
/dev/sdc1: UUID="ba68bcde-625c-44fc-b084-d9c3afcb7743" TYPE="ext4"
/dev/sdc5: UUID="baaf2aa6-e86c-4b09-97d1-6f83a1cbe1ff" TYPE="swap"
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.
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: 0x66c91a00
Device Boot Start End Blocks Id System
/dev/sda1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdc: 15.4 GB, 15376000000 bytes
255 heads, 63 sectors/track, 1869 cylinders, total 30031250 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: 0x0005ffff
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 28706815 14352384 83 Linux
/dev/sdc2 28708862 30029823 660481 5 Extended
/dev/sdc5 28708864 30029823 660480 82 Linux swap / Solaris
Alles anzeigen
and this is the output before restarting the system:
cat /proc/mdstat
Code
Personalities : [raid1]
md0 : active raid1 sdb[1] sda[0]
2930135360 blocks super 1.2 [2/2] [UU]
unused devices: <none>
blkid
Code
/dev/sdc1: UUID="ba68bcde-625c-44fc-b084-d9c3afcb7743" TYPE="ext4"
/dev/sdc5: UUID="baaf2aa6-e86c-4b09-97d1-6f83a1cbe1ff" TYPE="swap"
/dev/sdb: UUID="13bd2b70-244a-cace-f3ab-951c0f2515c1" UUID_SUB="f9e39445-0d87-70c3-ee97-e8570c694ee9" LABEL="fileserver:3TB" TYPE="linux_raid_member"
/dev/sda: UUID="13bd2b70-244a-cace-f3ab-951c0f2515c1" UUID_SUB="7fb0cf6e-c814-2301-52e7-f2fc869198db" LABEL="fileserver:3TB" TYPE="linux_raid_member"
/dev/md0: LABEL="3TB" UUID="c5c515ba-6ebb-45a4-b716-3440c44e6f70" 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.
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: 0x66c91a00
Device Boot Start End Blocks Id System
/dev/sda1 1 4294967295 2147483647+ ee GPT
Partition 1 does not start on physical sector boundary.
Disk /dev/sdc: 15.4 GB, 15376000000 bytes
255 heads, 63 sectors/track, 1869 cylinders, total 30031250 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: 0x0005ffff
Device Boot Start End Blocks Id System
/dev/sdc1 * 2048 28706815 14352384 83 Linux
/dev/sdc2 28708862 30029823 660481 5 Extended
/dev/sdc5 28708864 30029823 660480 82 Linux swap / Solaris
Disk /dev/md0: 3000.5 GB, 3000458608640 bytes
2 heads, 4 sectors/track, 732533840 cylinders, total 5860270720 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/md0 doesn't contain a valid partition table
Alles anzeigen