Repairing installation

  • Hi there, this is my first post here and it looks I need your help.

    I installed OMV more than a year ago. It was working until recently - power supply failure., I replaced power supply, started the computer (it has no monitor or keyboard) and tried to log in from another computer. The login page looks OK but when I put login details it immediately shows that red-black failure screen. Then I tried to use putty to log in but the connection was refused.. Then I downloaded last stable iso of OMV.

    Now questions:

    - if I start the installation from iso will I have option to upgrade instead of overwriting the existing installation?

    - if I overwrite existing installation will me data on raid survive and raid settings will be recognised by the new installation?

    I guess, answers for both questions will be "no", so what is the best way to sort out this situation?


    Thank you in advance.


    Michael

  • KM0201

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    1. No, it's an installer.. that's it.


    2. The RAID will be fine as long as you take some precautions.

    Shut down the server, disconnect your RAID drives.


    Boot the OMV ISO and reinstall to your OS drive.


    Once reinstalled, shutdown and reconnect your RAID drives.


    Boot up, and Mount the RAID.


    Now start setting up your shares, plugins, users, etc. again

  • Thank you for your reply. Unfortunately I wasn't able to recover the data - didn't try to be honest, nothing important was on the NAS recently..

    So - new installation. everything was working fine until I tried to create filesystem on /dev/md0 (4x4TB drives in raid 5, total capacity 10.9 TB)

    When I try to create filesystem if fails with this message:


    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:

    ----------

    ID: create_filesystem_mountpoint_7db7c354-131f-4b9c-912f-e27a8a1d9d09

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_7db7c354-131f-4b9c-912f-e27a8a1d9d09 for file /etc/fstab was charged by text

    Started: 19:35:34.312316

    Duration: 0.908 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_7db7c354-131f-4b9c-912f-e27a8a1d9d09

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1

    Result: False

    Comment: mount: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1: mount(2) system call failed: Structure needs cleaning.

    Started: 19:35:34.313909

    Duration: 375.176 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: No changes needed to be made

    Started: 19:35:34.690471

    Duration: 7.828 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 2

    Failed: 1

    ------------

    Total states run: 3

    Total run time: 383.912 ms

    [ERROR ] Command 'mount' failed with return code: 32

    [ERROR ] stderr: mount: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1: mount(2) system call failed: Structure needs cleaning.

    [ERROR ] retcode: 32

    [ERROR ] mount: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1: mount(2) system call failed: Structure needs cleaning.


    OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': debian:

    ----------

    ID: create_filesystem_mountpoint_7db7c354-131f-4b9c-912f-e27a8a1d9d09

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_7db7c354-131f-4b9c-912f-e27a8a1d9d09 for file /etc/fstab was charged by text

    Started: 19:35:34.312316

    Duration: 0.908 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_7db7c354-131f-4b9c-912f-e27a8a1d9d09

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1

    Result: False

    Comment: mount: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1: mount(2) system call failed: Structure needs cleaning.

    Started: 19:35:34.313909

    Duration: 375.176 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: No changes needed to be made

    Started: 19:35:34.690471

    Duration: 7.828 ms

    Changes:


    Summary for debian

    ------------

    Succeeded: 2

    Failed: 1

    ------------

    Total states run: 3

    Total run time: 383.912 ms

    [ERROR ] Command 'mount' failed with return code: 32

    [ERROR ] stderr: mount: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1: mount(2) system call failed: Structure needs cleaning.

    [ERROR ] retcode: 32

    [ERROR ] mount: /srv/dev-disk-by-uuid-6b439e41-0bfd-458c-92a7-e71da6fb72c1: mount(2) system call failed: Structure needs cleaning. in /usr/share/php/openmediavault/system/process.inc:242

    Stack trace:

    #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()

    #1 /usr/share/openmediavault/engined/rpc/config.inc(178): OMV\Engine\Module\ServiceAbstract->deploy()

    #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)

    #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)

    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(620): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusDD...', '/tmp/bgoutputa0...')

    #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))

    #7 /usr/share/openmediavault/engined/rpc/config.inc(199): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)

    #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)

    #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)

    #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)

    #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)

    #12 {main}


    I tried to run


    e2fsck -y /dev/md0


    from root console, but the computer has been restarted. in logs I've found information that there was no enough memory (8GB is installed).. Really strange because it was working fine on the same hardware before for over a year. ATM i do not have more memory modules so upgrade has to wait. Is there something I could do without the extended memory?


    Thank you in advance.


    P.S hardware spec: i3, 3,3GHz, 8GB ram, system on 32GB ssd.


    Michael

Jetzt mitmachen!

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