{"id":2485,"date":"2016-07-21T11:37:46","date_gmt":"2016-07-20T23:37:46","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=2485"},"modified":"2016-07-21T11:37:46","modified_gmt":"2016-07-20T23:37:46","slug":"omv-data-store-implicitmodel-ext-1057-7-error-adding-a-raid-disk","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=2485","title":{"rendered":"OMV.data.Store.ImplicitModel-ext-1057-7 error adding a RAID disk"},"content":{"rendered":"<p>I have been trying to add a single mirrored disk to Open Media Vault and been getting:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2486\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2016\/07\/OMVErrorAddingDisk.gif\" alt=\"Error adding RAID disk\" width=\"1021\" height=\"141\" \/><\/p>\n<p>In my case the new disk was created using a Debian live USB disk. I think this was the problem. So I booted to OMV and looked at the mdadm config file in Debian:<\/p>\n<pre class=\"lang:default decode:true \"># mdadm.conf\r\n#\r\n# Please refer to mdadm.conf(5) for information about this file.\r\n#\r\n\r\n# by default, scan all partitions (\/proc\/partitions) for MD superblocks.\r\n# alternatively, specify devices to scan, using wildcards if desired.\r\n# Note, if no DEVICE line is present, then \"DEVICE partitions\" is assumed.\r\n# To avoid the auto-assembly of RAID devices a pattern that CAN'T match is\r\n# used if no RAID devices are configured.\r\nDEVICE partitions\r\n\r\n# auto-create devices with Debian standard permissions\r\nCREATE owner=root group=disk mode=0660 auto=yes\r\n\r\n# automatically tag new arrays as belonging to the local system\r\nHOMEHOST &amp;lt;system&amp;gt;\r\n\r\n# definitions of existing MD arrays\r\nARRAY \/dev\/md0 metadata=1.2 name=nas2:RAID1Mirror UUID=a77b4c17:6ddd1afc:58bf7cdd:a51275ef\r\n\r\n# instruct the monitoring daemon where to send mail alerts\r\nMAILADDR tony@cantabrian.co.nz\r\nMAILFROM root<\/pre>\n<p>The config file can be found at:<\/p>\n<p style=\"padding-left: 30px;\">\/etc\/mdadm\/mdadm.conf<\/p>\n<p>The problem I suspect was that the new disk was also &#8220;\/dev\/md0&#8221;, so I commented the line out:<\/p>\n<pre class=\"crayon:false;\">ARRAY \/dev\/md0 metadata=1.2 name=nas2:RAID1Mirror UUID=a77b4c17:6ddd1afc:58bf7cdd:a51275ef<\/pre>\n<p>Then I restarted and the new disk showed up.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been trying to add a single mirrored disk to Open Media Vault and been getting: In my case the new disk was created using a Debian live USB disk. I think this was the problem. So I booted to OMV and looked at the mdadm config file in Debian: # mdadm.conf # # [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[313],"tags":[339,319,320,326],"class_list":["post-2485","post","type-post","status-publish","format-standard","hentry","category-open-media-vault","tag-add-array","tag-omv","tag-open-media-vault","tag-raid"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/2485","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2485"}],"version-history":[{"count":4,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/2485\/revisions"}],"predecessor-version":[{"id":2490,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/2485\/revisions\/2490"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2485"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}