mdadm: no arrays found in config file or automatically

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Thank you Markess and vialcollet for the responses.

      That very well could be the root of the problem. I have a feeling when installing off a USB drive it some times changes any onboard drives to something other than SDA which obviously seems to mess the installation up once the USB is removed.

      Does anyone know how to reassign the disk we want as the OS drive to SDA during the installation of OMV 4 off of a USB drive? I did not see an option come up to change that.
    • new to OMV...fresh install, on fresh ssd drive, with 4 fresh 4TB drives..

      First boot fails and I'm into initramfs ...
      complaints that /dev/sda1 doesn't exist..
      mdadm keeps looking for arrays, but installer did not ask what to do with the 4 drives..

      Maybe I should go back to a classic Ubuntu server ?

      I really wanted to try OMV
    • gian wrote:

      mdadm keeps looking for arrays, but installer did not ask what to do with the 4 drives..
      The installer doesn't do anything with data drives. It isn't OMV's fault that the array isn't assembling on boot. I would fix the array with a rescue disk like systemrescuecd and then see if things work.

      gian wrote:

      Maybe I should go back to a classic Ubuntu server ?
      You are asking that on the OMV forum....
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • @ryecoaaron

      Any ideas about the issues the other of us are having. Install omv4 with the datadrives(5x3tb in software raid 5) removed install fresh to ssd system boots until shutdown and data drives installed.

      Install OMv 3 same method above install and boots fine same once shutdown and data drives reattached.
      OMV 3.0.58 - 64 bit - Nut, SABnzbd, Sonarr, Couchpotato
      HP N40L Microserver, 8gb Ram, 5 x 3TB HDD Raid5, 1 x 120GB 2.5" SSD (OS)
    • chclark wrote:

      Any ideas about the issues the other of us are having. Install omv4 with the datadrives(5x3tb in software raid 5) removed install fresh to ssd system boots until shutdown and data drives installed.

      Install OMv 3 same method above install and boots fine same once shutdown and data drives reattached.
      Nope. The kernel is not assembling the array on boot for some reason. I guess I could try it in a VM.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • chclark wrote:

      Any ideas about the issues the other of us are having. Install omv4 with the datadrives(5x3tb in software raid 5) removed install fresh to ssd system boots until shutdown and data drives installed.
      Just tried to replicate on a VM and it worked fine when installing fresh 4.x with and without the data drives attached. No idea what is wrong.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • ryecoaaron,

      of course going back to Ubuntu was a provocative statement, but a Debian based distro is expected to "just work".

      The four 4TB disk are fresh, not even partitioned.
      The installer did not prompt for the creation of an array, so why mdadm pops up?
      Also, I read /dev/sda1 not found: why?

      Anyway, the install failed. This is the bottom line.
    • gian wrote:

      but a Debian based distro is expected to "just work".
      It does for me with the hundreds if not thousands of times I have installed it.

      gian wrote:

      The four 4TB disk are fresh, not even partitioned.
      The installer did not prompt for the creation of an array, so why mdadm pops up?
      OMV doesn't have its own kernel or do any magic with the boot. There is no config file that is causing it to fail to boot with four blank HDs. mdadm is enabled in the kernel but that is because it checks for arrays on every boot like it should.

      gian wrote:

      Also, I read /dev/sda1 not found: why?
      No idea. I don't know what the sda drive is. Is it the OS drive? Sounds like a setting on your system is wrong.

      gian wrote:

      Anyway, the install failed. This is the bottom line.
      Understood. Hard to help when I can't recreate it.

      schlupp wrote:

      Well as i've mentioned, for me the problem was solved installing omv with all HDD's present.
      This makes more sense to me since update-initramfs is run at the end of the installation and it probably put the proper features in initramfs because the array is present.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • ryecoaaron, thanks for jumping in and giving us your thoughts on this. Any help is appreciated.

      I know that the installation guide suggests removing all data drives when installing OMV 3 or 4 and it seems most of us tried to follow that.

      Would you recommend trying the install OMV 4 with the entire array of drives (including the will be OS drive of course) present during the installation? Is there any reason the guide recommends removing the drives in that case other than accidently choosing a data drive as the installation location?

      We could obviously try that within a VM pretty quickly if we wanted to as well.
    • New

      ZeroGravitas23 wrote:

      Would you recommend trying the install OMV 4 with the entire array of drives (including the will be OS drive of course) present during the installation?
      I have installed with and without the drives. It didn't make a difference on my VM. Maybe in this case it would help??

      ZeroGravitas23 wrote:

      Is there any reason the guide recommends removing the drives in that case other than accidently choosing a data drive as the installation location?
      The installer used to not ask if it found more than one drive. It think it is just to prevent the installer from doing anything bad.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      ZeroGravitas23 wrote:

      I am going to try and install a VM on my OMV3 box to see what happens if OMV4 is installed with the data array existing. Hopefully I will get time to test this in the next week or two and it could give us some insight as to what is going on.
      I did test this in a VM and it worked fine. It would be very interesting to see what steps you took if you get it to fail.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      I may just be guessing, but it appears to me that the issue only comes up when OMV gets installed to a device other than Sda, and then the device connected as Sda changes between installation and first boot. For most folks, this is either because the installer was Sda during installation and it now that disk/drive is removed, and/or because the disks for the array are subsequently attached and the first disk became Sda.

      In the case of @ebreetteville in a previous post, OMV was installed to a flash drive. I had the same errors when installing to a flash drive (USB DOM), but only in instances where the installer came up as Sda and the flash drive as Sdb. Installation worked, but after removing the installation media and rebooting, I got the mdadm error and boot failed to complete. But, if I rearranged the drives until the installation media was Sdb, then I had no issues.

      Perhaps in the cases where OMV fails to boot after data drives are first attached, its because the first data drive became Sda, but wasn't the installer? Others reported here previously that in cases where the data disks were attached during install, installation was successful. It could be in those cases, Sda is still the same disk as during install, even if not the boot disk, so everything works.

      What got me thinking on this was the mention in one post previously that if the installer was left in, the new system disk booted, plus mentions of "Missing sda1" warnings. Seems that something about the identity of sda is an issue in these cases, even if sda isn't the boot disk.
      Working with computers since the days when unboxing and set-up required 3 weeks with a soldering iron!
    • New

      I would think that might be a reason why OMV doesn't boot but it shouldn't be the reason the kernel can't re-assemble an array. Each drive has a signature on it and the arrays are re-assembled by their signatures. It *shouldn't* care about the drive letters.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      ryecoaaron wrote:

      I would think that might be a reason why OMV doesn't boot but it shouldn't be the reason the kernel can't re-assemble an array. Each drive has a signature on it and the arrays are re-assembled by their signatures. It *shouldn't* care about the drive letters.
      Definitely need to defer to you on these things, as its way above my expertise. In any case, I now think my issue is slightly different from the others here. I'm failing to boot due to the mdadm message others are getting, followed by busybox prompt, But in my case, I was starting with a fresh install and no disks connected. I wanted to pull some baseline power numbers with no disks attached, and couldn't get it to boot due to that message. I never got to the point where I connected the disks, so different situation than failure to re-assemble an array.
      Working with computers since the days when unboxing and set-up required 3 weeks with a soldering iron!
    • New

      I would be curious if pressing 'e' in the grub menu to edit parameters and adding raid=noautodetect would help? This is a one time edit and wouldn't be there for the next boot.
      omv 4.1.6 arrakis | 64 bit | 4.16 backports kernel | omvextrasorg 4.1.7
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please read this before posting a question.
      Please don't PM for support... Too many PMs!
    • New

      Markess wrote:

      Definitely need to defer to you on these things, as its way above my expertise. In any case, I now think my issue is slightly different from the others here. I'm failing to boot due to the mdadm message others are getting, followed by busybox prompt, But in my case, I was starting with a fresh install and no disks connected. I wanted to pull some baseline power numbers with no disks attached, and couldn't get it to boot due to that message. I never got to the point where I connected the disks, so different situation than failure to re-assemble an array.
      Check the last reply on my thread Unable to boot after installation (Dropping to a shell!) I think you may have the same problem which I did.
    • New

      Hmm wonder why it’s only happening to us. I only pull the data drives due to it been recommended I’ve used omv and the software raid was made with omv way back in the early days of omv which ever version was around in 2012.
      OMV 3.0.58 - 64 bit - Nut, SABnzbd, Sonarr, Couchpotato
      HP N40L Microserver, 8gb Ram, 5 x 3TB HDD Raid5, 1 x 120GB 2.5" SSD (OS)