Added new HD and system crashed.

  • I have a raid setup (/dev/md0) and decided I wanted to add another SATA drive to my system. I attached the same size drive and booted up. When trying to load, it crashes on loading /dev/md0 and drops to a busybox shell with initramfs. Disconnect the new drive, boots just fine. I have my raid setup on SATA 2-4. The new drive was being attached to SATA 1. Any ideas why I cannot add a new drive? And by new I mean brand spanking new, just bought it two days ago.

    • Offizieller Beitrag

    That is a very strange problem...


    Check your sata cable.
    Try putting the array on sata 1-3.
    Check the settings in your bios.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    raid uses the uuid of the drives. So, it doesn't matter what port it is on. I have moved raid arrays to different motherboards without issue before.

    • Offizieller Beitrag

    I don't remember what kind of system this is? What is the boot drive and how is it connected? Are there only four total sata ports on the board? Are you using the backports kernel?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Install the backports kernel from omv-extras button in Kernel tab, shut the system down, install the 4th drive, turn it back on. See if that works.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I would only add that if the drive you are adding is not brand new (as in it have been used before) I would try and do a full drive wipe on other compouter.
    something like dd -if=?dev/null? for whole drive before adding to the system.
    sometimes if drive have an MBR on it the system gets confused and try to boot from wrong drive

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

    • Offizieller Beitrag

    I recommend a newer kernel because it has newer and/or better drivers that may eliminate the problem.


    Wiping the drive is a good idea if you can put it in a different system to do that.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hmmm...never thought of wiping it. I guess from the error, now that you mention it, the OS can't determine which one has the MBR on it. Not sure why that would be the case with a brand new drive, but it is possible.

    • Offizieller Beitrag

    A new drive probably has an MBR but it wouldn't be marked as bootable. While wiping doesn't hurt, I don't think it will fix this issue.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • actually it depends on where you get the drive from.
    some companies pre-format their drives before shipping.
    also some bios, reset the boot order of the devices if proper HDD is detected on SATA-1.
    I have a gigabyte MB that does just that. if I move my drives around and move the boot drive from SATA-1
    I have to go into BIOS and specifically change my boot device to proper hard drive.
    any other drives are fine, and if I leave SATA-1 empty it finds the boot drive ok too.
    but if I connect anything to SATA-1 it assumes it is a preferred boot device regardless if there is no MBR or anything on it until I do a boot order change in BIOS.
    exception to the rules is CD/DVD drive. if I have that connected to SATA-1 it will find the hard drive to boot from ok. but I always have my boot order like:
    CD/DVD
    USB
    HDD


    so it works ok.

    omv 3.0.56 erasmus | 64 bit | 4.7 backport kernel
    SM-SC846(24 bay)| H8DME-2 |2x AMD Opteron Hex Core 2431 @ 2.4Ghz |49GB RAM
    PSU: Silencer 760 Watt ATX Power Supply
    IPMI |3xSAT2-MV8 PCI-X |4 NIC : 2x Realteck + 1 Intel Pro Dual port PCI-e card
    OS on 2×120 SSD in RAID-1 |
    DATA: 3x3T| 4x2T | 2x1T

    • Offizieller Beitrag

    What were the errors?

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • You might want to run 'apt-get -f install' to correct these:
    The following packages have unmet dependencies:
    firmware-linux : Depends: firmware-linux-nonfree (= 0.43~bpo70+1) but 0.36+wheezy.1 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    • Offizieller Beitrag

    The backports repo didn't get added or apt-get update didn't work. What is the output of


    cat /etc/apt/sources.list.d/backports.list
    apt-get update

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • deb http://ftp.debian.org/debian wheezy-backports main contrib non-free
    deb http://packages.omv-extras.org/debian/ stoneburner-backports main


    I ran apt-get -f install and retried. here is the output:


    Updating...
    Install backports 3.16 kernel and headers
    Reading package lists...
    Building dependency tree...
    Reading state information...
    linux-base is already the newest version.
    initramfs-tools is already the newest version.
    initramfs-tools set to manually installed.
    The following packages were automatically installed and are no longer required:
    libappconfig-perl libcxxtools8 libelf1 libextractor3 liblcms1 liblua5.1-0
    libnspr4 libnss3 libopenjpeg2 libpcrecpp0 libpoppler19 librpm3 librpmio3
    libtemplate-perl libtemplate-plugin-javascript-perl libtiff4 libtntnet10
    sendemail vdradmin-am w-scan
    Use 'apt-get autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.
    Reading package lists...
    Building dependency tree...
    Reading state information...
    firmware-linux-free is already the newest version.
    linux-headers-3.16.0-0.bpo.4-amd64 is already the newest version.
    linux-image-3.16.0-0.bpo.4-amd64 is already the newest version.
    The following packages were automatically installed and are no longer required:
    libappconfig-perl libcxxtools8 libelf1 libextractor3 liblcms1 liblua5.1-0
    libnspr4 libnss3 libopenjpeg2 libpcrecpp0 libpoppler19 librpm3 librpmio3
    libtemplate-perl libtemplate-plugin-javascript-perl libtiff4 libtntnet10
    sendemail vdradmin-am w-scan
    Use 'apt-get autoremove' to remove them.
    The following extra packages will be installed:
    firmware-linux-nonfree
    The following NEW packages will be installed:
    firmware-linux
    The following packages will be upgraded:
    firmware-linux-nonfree
    1 upgraded, 1 newly installed, 0 to remove and 63 not upgraded.
    Need to get 0 B/2594 kB of archives.
    After this operation, 3608 kB of additional disk space will be used.
    (Reading database ... 54750 files and directories currently installed.)
    Preparing to replace firmware-linux-nonfree 0.36+wheezy.1 (using .../firmware-linux-nonfree_0.43~bpo70+1_all.deb) ...
    Unpacking replacement firmware-linux-nonfree ...
    dpkg: error processing /var/cache/apt/archives/firmware-linux-nonfree_0.43~bpo70+1_all.deb (--unpack):
    trying to overwrite '/lib/firmware/v4l-cx25840.fw', which is also in package dvb-firmware-osmc 1.0.1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Selecting previously unselected package firmware-linux.
    Unpacking firmware-linux (from .../firmware-linux_0.43~bpo70+1_all.deb) ...
    Errors were encountered while processing:
    /var/cache/apt/archives/firmware-linux-nonfree_0.43~bpo70+1_all.deb
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!