OpenMediaVault only recognizes drives in 2 out of 4 bays in my former Windows Home Server

  • I just converted an old Windows Home Server into an OpenMediaVault.


    It's a 4 hard drive bay server, however, two of the four slots won't detect any drives plugged into them.


    I've tried different drives in those slots, and the common point is that whatever is in those two slots don't get recognized by OpenMediaVault.


    I just put the original Windows boot drive back in and booted it back up to Windows, and confirmed that all drives in those slots are immediately recognized.


    Any ideas on what could be the cause or how to fix this problem?

  • My guess is you have to separate sata controllers, one of them not recognized. Give it a go with the bpo kernel.


    also check this guide here System check and harddisk/raid speed tests in a nutshell


    for or testing hw Sata links , check dmesg also just after boot for any errors or modules not loading for the controller

  • for or testing hw Sata links , check dmesg also just after boot for any errors or modules not loading for the controller


    Good idea, I checked this and I think I found an important clue, only I'm not sure how to proceed with it.


    Here is a pastebin of the dmesg: http://pastebin.com/V1A830N8


    In particular, this seems highly relevant:



    Any suggestions on my next step?

  • Go with the BPO kernel and reboot. See how it goes. You have backtrace at boot, some ATA module failing probably


    In order to install the BPO kernel, I have been trying to install the OMV Extras plugin by uploading it through the Plugins tab.


    However, I'm getting this error popup: "Error {success:false,message:"Blocked a frame with origin "http://192.168.168.2" from accessing a cross-origin frame."}


    That doesn't look at first impression like a configuration problem, what could be the cause of this?

  • do it in terminal, dpkg -i package.deb


    Then run apt-get -f install


    I tried to get the deb file by executing: wget [url]http://omv-extras.org/openmediavault-omvextrasorg_latest_all.deb[/url]


    However, it's just hanging forever on this step:

    Quote

    --2015-10-20 22:08:26-- http://omv-extras.org/openmedi…vextrasorg_latest_all.deb
    Resolving omv-extras.org (omv-extras.org)... 5.9.105.28
    Connecting to omv-extras.org (omv-extras.org)|5.9.105.28|:80... connected.
    HTTP request sent, awaiting response...


    My computer on the same network has no trouble downloading the deb file.


    So then I tried to create an SMB share by going to Shared Folders and creating a new share of one of the folders on my existing drives. I set it to Guests Allowed.


    I added a user account with credentials that matched my Windows username/password.


    I then went to the SMB/CIFS tab and enabled SMB and added the shared folder from there.


    From Windows I can browse to the folder, but when I try to start copying openmediavault-omvextrasorg_latest_all.deb over, from the Windows side it looks like the transfer hangs. However, from the OpenMediaVault side the file is apparently created, with the right file size and everything.


    However, when I try to execute: dpkg -i openmediavault-omvextrasorg_latest_all.deb
    I get:

    Quote

    dpkg-deb: error: `openmediavault-omvextrasorg_latest_all.deb' is not a debian format archive
    dpkg: error processing openmediavault-omvextrasorg_latest_all.deb (--install):
    subprocess dpkg-deb --control returned error exit status 2
    Errors were encountered while processing:
    openmediavault-omvextrasorg_latest_all.deb


    I then tried to connect via sftp using FileZilla client. I connected and can retrieve directly listings and everything. However, when I try to upload the transfer dies with:


    Quote

    Error: Network error: Software caused connection abort
    Error: File transfer failed

  • Are you using a proxy in your home network ?


    No, it's just a regular router with DHCP.


    I just popped out a drive and put it in an enclosure, and then used Windows to copy on the file.


    It gets farther now, but still no go due to dependencies:



    So then I:



    And it just hangs there.


    But this works:


    Quote

    ping http://www.google.com
    PING http://www.google.com (216.58.218.132) 56(84) bytes of data.
    64 bytes from dfw25s08-in-f132.1e100.net (216.58.218.132): icmp_req=1 ttl=51 time=14.1 ms
    64 bytes from dfw25s08-in-f132.1e100.net (216.58.218.132): icmp_req=2 ttl=51 time=21.7 ms


    I'm really pulling out my hair here. Any ideas?

  • If I recall omv is installed in a USB stick, is the stick new or was previously used?


    Yeah, it's on a previously used USB stick. Do you think these symptoms could indicate some sort of problem there?


    Check also the OS disk is not full.


    df -h


    can you run apt-get update and apt-get upgrade without problems ?


    Code
    df -h
    Filesystem Size Used Avail Use% Mounted on
    rootfs 3.5G 930M 2.5G 28% /
    udev 10M 0 10M 0% /dev
    tmpfs 199M 400K 198M 1% /run
    /dev/disk/by-uuid/0e8e079a-c4e6-4193-a077-39a3e33f6c6c 3.5G 930M 2.5G 28% /
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 438M 0 438M 0% /run/shm
    /dev/sdc2 2.8T 1.7T 1.1T 60% /media/E62CD4012CD3CAA7


    This one stalls a lot Waiting for Headers and then produces errors like this (it has no problem pinging those IP addresses though):


    Code
    apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    openmediavault-omvextrasorg : Depends: apt-transport-https but it is not installed
    E: Unmet dependencies. Try using -f.


  • Following your advice, I manually entered in DNS and Search Domains but apt-get update is still failing.

  • Yeah, it's on a previously used USB stick. Do you think these symptoms could indicate some sort of problem there?


    It could, but i guess it depends on the amount of usage. Something you never really know because there is no tracking value. But it causes problems for sure when they are wasted to have corrupted data and odd behaviour


    In /etc/apt/apt.conf.d/70debconf add this line


    Acquire::Languages "none";


    Let's see if the translations are the problem

  • In /etc/apt/apt.conf.d/70debconf add this line


    Acquire::Languages "none";


    Let's see if the translations are the problem


  • Show your sources.list:


    cat /etc/apt/sources.list


  • Change lines 10 and 11 to this and then try apt-get update:


    Code
    deb http://ftp.us.debian.org/debian/ wheezy main non-free contrib
    deb-src http://ftp.us.debian.org/debian/ wheezy main non-free contrib


    Same problem still unfortunately:



    [ Wrote 17 lines ]


Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!