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

    • OMV 2.x

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

    • 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
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • subzero79 wrote:

      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: pastebin.com/V1A830N8

      In particular, this seems highly relevant:

      [ 112.928361] ata4.00: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

      [ 112.928371] ata4.01: SATA link up 1.5 Gbps (SStatus 113 SControl 310)

      [ 112.928380] ata4.01: link online but device misclassified

      [ 112.928383] ata4.00: link online but 1 devices misclassified, device detection might fail


      Any suggestions on my next step?
    • subzero79 wrote:

      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?
    • subzero79 wrote:

      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:
      --2015-10-20 22:08:26-- omv-extras.org/openmediavault-omvextrasorg_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:
      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:

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

      The post was edited 1 time, last by creamsicle ().

    • subzero79 wrote:

      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:

      dpkg -i openmediavault-omvextrasorg_latest_all.deb
      Selecting previously unselected package openmediavault-omvextrasorg.
      (Reading database ... 28843 files and directories currently installed.)
      Unpacking openmediavault-omvextrasorg (from openmediavault-omvextrasorg_latest_all.deb) ...
      dpkg: dependency problems prevent configuration of openmediavault-omvextrasorg:
      openmediavault-omvextrasorg depends on apt-transport-https; however:
      Package apt-transport-https is not installed.

      dpkg: error processing openmediavault-omvextrasorg (--install):
      dependency problems - leaving unconfigured
      Processing triggers for openmediavault ...
      Restarting engine daemon ...
      Errors were encountered while processing:
      openmediavault-omvextrasorg


      So then I:

      apt-get -f install
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Correcting dependencies... Done
      The following extra packages will be installed:
      apt-transport-https libcurl3-gnutls librtmp0 libssh2-1
      The following NEW packages will be installed:
      apt-transport-https libcurl3-gnutls librtmp0 libssh2-1
      0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
      1 not fully installed or removed.
      Need to get 627 kB of archives.
      After this operation, 1,179 kB of additional disk space will be used.
      Do you want to continue [Y/n]? y
      0% [Waiting for headers]


      And it just hangs there.

      But this works:

      ping google.com
      PING 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?
    • subzero79 wrote:

      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?

      subzero79 wrote:

      Check also the OS disk is not full.

      df -h

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


      Source Code

      1. df -h
      2. Filesystem Size Used Avail Use% Mounted on
      3. rootfs 3.5G 930M 2.5G 28% /
      4. udev 10M 0 10M 0% /dev
      5. tmpfs 199M 400K 198M 1% /run
      6. /dev/disk/by-uuid/0e8e079a-c4e6-4193-a077-39a3e33f6c6c 3.5G 930M 2.5G 28% /
      7. tmpfs 5.0M 0 5.0M 0% /run/lock
      8. tmpfs 438M 0 438M 0% /run/shm
      9. /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):

      Source Code

      1. apt-get update
      2. Ign file: Release.gpg
      3. Ign file: Release
      4. Ign file: Translation-en_US
      5. Ign file: Translation-en
      6. Hit http://packages.openmediavault.org stoneburner Release.gpg
      7. Hit http://packages.openmediavault.org stoneburner Release
      8. Hit http://packages.openmediavault.org stoneburner/main amd64 Packages
      9. Ign http://packages.openmediavault.org stoneburner/main Translation-en_US
      10. Ign http://packages.openmediavault.org stoneburner/main Translation-en
      11. Err http://security.debian.org wheezy/updates Release.gpg
      12. Connection failed [IP: 128.31.0.63 80]
      13. Err http://ftp.us.debian.org wheezy Release.gpg
      14. Connection failed [IP: 64.50.233.100 80]
      15. Ign http://security.debian.org wheezy/updates Release
      16. Ign http://security.debian.org wheezy/updates/main Sources/DiffIndex
      17. Err http://ftp.us.debian.org wheezy-updates Release.gpg
      18. Connection failed [IP: 128.61.240.89 80]
      19. Ign http://security.debian.org wheezy/updates/contrib Sources/DiffIndex
      20. Ign http://security.debian.org wheezy/updates/non-free Sources/DiffIndex
      21. Hit http://ftp.us.debian.org wheezy Release
      22. Ign http://security.debian.org wheezy/updates/main amd64 Packages/DiffIndex
      23. Ign http://security.debian.org wheezy/updates/contrib amd64 Packages/DiffIndex
      24. Ign http://security.debian.org wheezy/updates/non-free amd64 Packages/DiffIndex
      25. Hit http://security.debian.org wheezy/updates/contrib Translation-en
      26. 100% [Waiting for headers] [Waiting for headers]
      Display All


      Source Code

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

      The post was edited 1 time, last by creamsicle ().

    • tekkb wrote:

      Give results of this:

      apt-cache policy apt-transport-https

      and this:

      arch

      Did you setup your DNS Server and Domain search???
      Edit your NIC and scroll down

      DNS Server: ip of your router
      Domain search: 8.8.8.8


      Source Code

      1. ​apt-cache policy apt-transport-https
      2. apt-transport-https:
      3. Installed: (none)
      4. Candidate: 0.9.7.9+deb7u7
      5. Version table:
      6. 0.9.7.9+deb7u7 0
      7. 500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
      8. 0.9.7.9+deb7u6 0
      9. 500 http://security.debian.org/ wheezy/updates/main amd64 Packages
      10. arch
      11. x86_64
      Display All


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

      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
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • subzero79 wrote:

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

      Acquire::Languages "none";

      Let's see if the translations are the problem


      Source Code

      1. apt-get update
      2. Ign file: Release.gpg
      3. Ign file: Release
      4. Err file: Packages
      5. Err file: Packages
      6. Err file: Packages
      7. Hit http://packages.openmediavault.org stoneburner Release.gpg
      8. Hit http://packages.openmediavault.org stoneburner Release
      9. Hit http://packages.openmediavault.org stoneburner/main amd64 Packages
      10. Err http://ftp.us.debian.org wheezy Release.gpg
      11. Connection failed [IP: 64.50.236.52 80]
      12. Err http://security.debian.org wheezy/updates Release.gpg
      13. Connection failed [IP: 128.61.240.73 80]
      14. Ign http://security.debian.org wheezy/updates Release
      15. Err http://ftp.us.debian.org wheezy-updates Release.gpg
      16. Connection failed [IP: 128.61.240.89 80]
      17. Hit http://ftp.us.debian.org wheezy Release
      18. Ign http://security.debian.org wheezy/updates/main Sources/DiffIndex
      19. Ign http://security.debian.org wheezy/updates/contrib Sources/DiffIndex
      20. Ign http://security.debian.org wheezy/updates/non-free Sources/DiffIndex
      21. Ign http://security.debian.org wheezy/updates/main amd64 Packages/DiffIndex
      22. Ign http://security.debian.org wheezy/updates/contrib amd64 Packages/DiffIndex
      23. Ign http://security.debian.org wheezy/updates/non-free amd64 Packages/DiffIndex
      24. Ign http://ftp.us.debian.org wheezy-updates Release
      25. Ign http://ftp.us.debian.org wheezy/main Sources/DiffIndex
      26. Ign http://ftp.us.debian.org wheezy/main amd64 Packages/DiffIndex
      27. Ign http://ftp.us.debian.org wheezy-updates/main Sources/DiffIndex
      28. Ign http://ftp.us.debian.org wheezy-updates/contrib Sources/DiffIndex
      29. Ign http://ftp.us.debian.org wheezy-updates/non-free Sources/DiffIndex
      30. Hit http://security.debian.org wheezy/updates/contrib Sources
      31. Hit http://ftp.us.debian.org wheezy-updates/main amd64 Packages/DiffIndex
      32. Hit http://security.debian.org wheezy/updates/non-free Sources
      33. Ign http://ftp.us.debian.org wheezy-updates/contrib amd64 Packages/DiffIndex
      34. Ign http://ftp.us.debian.org wheezy-updates/non-free amd64 Packages/DiffIndex
      35. Hit http://ftp.us.debian.org wheezy/main Sources
      36. Hit http://ftp.us.debian.org wheezy/main amd64 Packages
      37. Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
      38. Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
      39. Hit http://ftp.us.debian.org wheezy-updates/contrib Sources
      40. Hit http://ftp.us.debian.org wheezy-updates/non-free Sources
      41. Hit http://ftp.us.debian.org wheezy-updates/contrib amd64 Packages
      42. Hit http://ftp.us.debian.org wheezy-updates/non-free amd64 Packages
      43. Err http://ftp.us.debian.org wheezy-updates/main Sources
      44. Err http://ftp.us.debian.org wheezy-updates/main Sources
      45. Err http://ftp.us.debian.org wheezy-updates/main Sources
      46. Err http://ftp.us.debian.org wheezy-updates/main Sources
      47. 404 Not Found [IP: 64.50.236.52 80]
      48. Err http://security.debian.org wheezy/updates/main Sources
      49. 404 Not Found [IP: 128.31.0.63 80]
      50. Err http://security.debian.org wheezy/updates/main amd64 Packages
      51. 404 Not Found [IP: 128.31.0.63 80]
      52. W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/Release.gpg Connection failed [IP: 64.50.236.52
      53. 80]
      54. W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release.gpg Connection failed [IP: 128.61.24
      55. 0.73 80]
      56. W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/Release.gpg Connection failed [IP: 128.
      57. 61.240.89 80]
      58. W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/source/Sources 404 Not Found [IP: 128.
      59. 31.0.63 80]
      60. W: Failed to fetch http://security.debian.org/dists/wheezy/updates/main/binary-amd64/Packages 404 Not Found [I
      61. P: 128.31.0.63 80]
      62. W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy-updates/main/source/Sources 404 Not Found [IP:
      63. 64.50.236.52 80]
      64. E: Some index files failed to download. They have been ignored, or old ones used instead.
      Display All
    • tekkb wrote:

      Show your sources.list:

      cat /etc/apt/sources.list


      Source Code

      1. ​cat /etc/apt/sources.list
      2. #
      3. # deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150629-08:52]/ whee
      4. zy contrib main non-free
      5. #deb cdrom:[Debian GNU/Linux 7.0.0 _Wheezy_ - Official Snapshot amd64 LIVE/INSTALL Binary 20150629-08:52]/ wheez
      6. y contrib main non-free
      7. deb http://ftp.us.debian.org/debian/ wheezy main
      8. deb-src http://ftp.us.debian.org/debian/ wheezy main
      9. deb http://security.debian.org/ wheezy/updates main contrib non-free
      10. deb-src http://security.debian.org/ wheezy/updates main contrib non-free
      11. # wheezy-updates, previously known as 'volatile'
      12. deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
      13. deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free
      Display All
    • tekkb wrote:

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

      Source Code

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


      Same problem still unfortunately:


      [ Wrote 17 lines ]

      Source Code

      1. apt-get update
      2. Ign file: Release.gpg
      3. Ign file: Release
      4. Ign file: Translation-en_US
      5. Ign file: Translation-en
      6. Hit http://packages.openmediavault.org stoneburner Release.gpg
      7. Hit http://packages.openmediavault.org stoneburner Release
      8. Hit http://packages.openmediavault.org stoneburner/main amd64 Packages
      9. Ign http://packages.openmediavault.org stoneburner/main Translation-en_US
      10. Ign http://packages.openmediavault.org stoneburner/main Translation-en
      11. Err http://security.debian.org wheezy/updates Release.gpg
      12. Connection failed [IP: 128.31.0.63 80]
      13. Err http://ftp.us.debian.org wheezy Release.gpg
      14. Connection failed [IP: 64.50.233.100 80]
      15. Err http://ftp.us.debian.org wheezy-updates Release.gpg
      16. Connection failed [IP: 128.61.240.89 80]
      17. Ign http://security.debian.org wheezy/updates Release
      18. Ign http://security.debian.org wheezy/updates/main Sources/DiffIndex
      19. Hit http://ftp.us.debian.org wheezy Release
      20. Ign http://security.debian.org wheezy/updates/contrib Sources/DiffIndex
      21. Ign http://security.debian.org wheezy/updates/non-free Sources/DiffIndex
      22. Ign http://security.debian.org wheezy/updates/main amd64 Packages/DiffIndex
      23. Ign http://security.debian.org wheezy/updates/contrib amd64 Packages/DiffIndex
      24. Ign http://security.debian.org wheezy/updates/non-free amd64 Packages/DiffIndex
      25. Hit http://security.debian.org wheezy/updates/contrib Translation-en
      26. 100% [Waiting for headers] [Waiting for headers]
      Display All