Installed OMV 4 (on top of Debian 9) today on my new rig and wanted to import my raid 1 array from my OMV 2 install. OMV is installed on an USB drive and I have the flash memory plugin running.
I can see the two disk (/dev/sda & /dev/sdb) and s.m.a.r.t. is OK. Also I can see the array (naserwin:data) as /dev/md127 state:clean level:mirror with both /dev/sda and /dev/sdb listed as devices.
However I can not see the file system when I open the file systems tab. Any ideas? I'm no linux pro and tried fixing this for 3 hours now
When I manually mount the array I get the following error:
Code
mount /dev/md127 /mnt
mount: /dev/md127: more filesystems detected. This should not happen,
use -t <type> to explicitly specify the filesystem type or
use wipefs(8) to clean up the device.
I've tried:
Code
root@vault:~# mdadm --readwrite /dev/md127
root@vault:~# omv-mkconf mdadm
update-initramfs: Generating /boot/initrd.img-4.9.0-6-amd64
fdisk-l
Code
Disk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 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 /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 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 /dev/md127: 3.7 TiB, 4000652656640 bytes, 7813774720 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 /dev/sdc: 14.9 GiB, 16004415488 bytes, 31258624 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: 0B6085E9-3C5D-4EA6-806D-77B8DC090390
Device Start End Sectors Size Type
/dev/sdc1 2048 1050623 1048576 512M EFI System
/dev/sdc2 1050624 15208447 14157824 6.8G Linux filesystem
/dev/sdc3 15208448 31256575 16048128 7.7G Linux swap
Alles anzeigen
blkid
Code
Disk /dev/sda: 3.7 TiB, 4000787030016 bytes, 7814037168 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 /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 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 /dev/md127: 3.7 TiB, 4000652656640 bytes, 7813774720 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 /dev/sdc: 14.9 GiB, 16004415488 bytes, 31258624 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: 0B6085E9-3C5D-4EA6-806D-77B8DC090390
Device Start End Sectors Size Type
/dev/sdc1 2048 1050623 1048576 512M EFI System
/dev/sdc2 1050624 15208447 14157824 6.8G Linux filesystem
/dev/sdc3 15208448 31256575 16048128 7.7G Linux swap
root@vault:~# blkid
-bash: blkidblkid: command not found
root@vault:~# blkid
/dev/sda: UUID="9213aed7-c464-cfd9-ed54-dc394e35e717" UUID_SUB="9b869989-36cf-bea2-1090-f83460b01d79" LA
BEL="naserwin:data" TYPE="linux_raid_member"
/dev/sdb: UUID="9213aed7-c464-cfd9-ed54-dc394e35e717" UUID_SUB="6842526b-0f3c-b42d-fe85-3e3e637e737c" LA
BEL="naserwin:data" TYPE="linux_raid_member"
/dev/sdc1: LABEL="MYLINUXLIVE" UUID="7A07-9138" TYPE="vfat" PARTUUID="9edba208-b524-4fc4-85f3-7d10bb62af
34"
/dev/sdc2: UUID="0d5571e3-a708-4941-9d0f-1bdb00bf2b58" TYPE="ext4" PARTUUID="769c70a4-243f-4b0a-a1a2-b5d
1f5ed9bf0"
/dev/sdc3: UUID="2d301b23-51dd-4df2-91ad-6dd77957866e" TYPE="swap" PARTUUID="db22d9c6-6907-4dcc-b300-457
561692284"
Alles anzeigen
cat /proc/mdstat
Code
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md127 : active (auto-read-only) raid1 sdb[1] sda[0]
3906887360 blocks super 1.2 [2/2] [UU]
cat /ect/fstab
Code
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb2 during installation
UUID=0d5571e3-a708-4941-9d0f-1bdb00bf2b58 / ext4 noatime,nodiratime,errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=7A07-9138 /boot/efi vfat umask=0077 0 1
# swap was on /dev/sdb3 during installation
#UUID=2d301b23-51dd-4df2-91ad-6dd77957866e none swap sw 0 0
tmpfs /tmp tmpfs defaults 0 0
# >>> [openmediavault]
# <<< [openmediavault]
Alles anzeigen