HELP PLEASE - After Upgrade from 3.099 to 4x system crashed. RAID gone.

    • HELP PLEASE - After Upgrade from 3.099 to 4x system crashed. RAID gone.

      Hi Guys. I am desperate. I need help and thank you upfront to anyone who can point me towards a solution.

      I was running on 3.0.99 and had a RAID6 running. Then I upgraded to Version 4 today (yes I checked that all my plugins from 3 were available in 4) and after the upgrade, I can access the GUI but I get the following error message right away. After clicking it away a couple of times I can click around the GUI but its mostly empty. Most shockingly my RAID seems to be gone as well! PLEASE help. Anyone. Can anyone kindly point me towards a solution or how to re-install my system without losing my RAID data?

      Error Code:

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).

      Fehler #0:

      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; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w'

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

      I will post the rest of the error log in the next message due to the 10.000 character limitation.
      Images
      • OMV-Error.jpg

        253.33 kB, 1,276×1,035, viewed 24 times
    • Error Code - Part 2:

      Usage:

      free [options]


      Options:


      -b, --bytes show output in bytes


      -k, --kilo show output in kilobytes


      -m, --mega show output in megabytes


      -g, --giga show output in gigabytes


      --tera show output in terabytes


      -h, --human show human-readable output


      --si use powers of 1000 not 1024


      -l, --lohi show detailed low and high memory statistics


      -o, --old use old format (without -/+buffers/cache line)


      -t, --total show total for RAM + swap


      -s N, --seconds N repeat printing every N seconds


      -c N, --count N repeat printing N times, then exit



      --help display this help and exit


      -V, --version output version information and exit


      For more details see free(1). in /usr/share/php/openmediavault/system/process.inc:182


      Stack trace:


      #0 /usr/share/php/openmediavault/system/system.inc(225): OMV\System\Process->execute(Array)


      #1 /usr/share/openmediavault/engined/rpc/system.inc(370): OMV\System\System::getMemoryStats()


      #2 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)


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


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


      #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)


      #6 {main}


      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).

      Fehler #0:

      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; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w'


      Usage:

      free [options]

      Options:


      -b, --bytes show output in bytes


      -k, --kilo show output in kilobytes


      -m, --mega show output in megabytes


      -g, --giga show output in gigabytes


      --tera show output in terabytes


      -h, --human show human-readable output


      --si use powers of 1000 not 1024


      -l, --lohi show detailed low and high memory statistics


      -o, --old use old format (without -/+buffers/cache line)


      -t, --total show total for RAM + swap


      -s N, --seconds N repeat printing every N seconds


      -c N, --count N repeat printing N times, then exit




      --help display this help and exit


      -V, --version output version information and exit
    • Error Code - Part 3:

      For more details see free(1). in /usr/share/php/openmediavault/system/process.inc:182

      Stack trace:

      #0 /usr/share/php/openmediavault/system/system.inc(225): OMV\System\Process->execute(Array)


      #1 /usr/share/openmediavault/engined/rpc/system.inc(370): OMV\System\System::getMemoryStats()


      #2 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)


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


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


      #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)


      #6 {main}

      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w' Usage: free [options] Options: -b, --bytes show output in bytes -k, --kilo show output in kilobytes -m, --mega show output in megabytes -g, --giga show output in gigabytes --tera show output in terabytes -h, --human show human-readable output --si use powers of 1000 not 1024 -l, --lohi show detailed low and high memory statistics -o, --old use old format (without -/+buffers/cache line) -t, --total show total for RAM + swap -s N, --seconds N repeat printing every N seconds -c N, --count N repeat printing N times, then exit --help display this help and exit -V, --version output version information and exit For more details see free(1).


      Fehler #0:


      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; free -b -t -w 2>&1' with exit code '1': free: invalid option -- 'w'

      Usage:

      free [options]

      Options:


      -b, --bytes show output in bytes


      -k, --kilo show output in kilobytes


      -m, --mega show output in megabytes


      -g, --giga show output in gigabytes


      --tera show output in terabytes


      -h, --human show human-readable output


      --si use powers of 1000 not 1024


      -l, --lohi show detailed low and high memory statistics


      -o, --old use old format (without -/+buffers/cache line)


      -t, --total show total for RAM + swap


      -s N, --seconds N repeat printing every N seconds


      -c N, --count N repeat printing N times, then exit


      --help display this help and exit

      -V, --version output version information and exit


      For more details see free(1). in /usr/share/php/openmediavault/system/process.inc:182

      Stack trace:


      #0 /usr/share/php/openmediavault/system/system.inc(225): OMV\System\Process->execute(Array)


      #1 /usr/share/openmediavault/engined/rpc/system.inc(370): OMV\System\System::getMemoryStats()


      #2 [internal function]: OMVRpcServiceSystem->getInformation(Array, Array)


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


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


      #5 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('System', 'getInformation', Array, Array, 1)


      #6 {main}

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

      I am happy to provide any further details / logs you might need. PLEASE HELP. I am lost and desperate.
    • Source Code

      1. /dev/sdb: UUID="72af4504-e88a-d548-0b2c-a8dfe31b5108" UUID_SUB="45b403c6-db61-11f1-ab06-625f05d55ef2" LABEL="dittmar-server-ffm:RAID6Storage" TYPE="linux
      2. _raid_member"
      3. /dev/sda1: UUID="d572e02d-870f-49ee-a6e4-ac98e64eb34f" TYPE="ext4" PARTUUID="40093ee9-01"
      4. /dev/sda5: UUID="9bf945fd-ad05-4057-a0eb-d68ffc5a200d" TYPE="swap" PARTUUID="40093ee9-05"
      5. /dev/sdc: UUID="72af4504-e88a-d548-0b2c-a8dfe31b5108" UUID_SUB="98e64e81-6f58-f303-6237-c7005de4522f" LABEL="dittmar-server-ffm:RAID6Storage" TYPE="linux
      6. _raid_member"
      7. /dev/sdd: UUID="72af4504-e88a-d548-0b2c-a8dfe31b5108" UUID_SUB="a2c344ef-f06a-15d7-c1a0-58fcf761ddf6" LABEL="dittmar-server-ffm:RAID6Storage" TYPE="linux
      8. _raid_member"
      9. /dev/sde: UUID="72af4504-e88a-d548-0b2c-a8dfe31b5108" UUID_SUB="12bab22f-c3ef-b34b-32c3-c7da8a8d8fbd" LABEL="dittmar-server-ffm:RAID6Storage" TYPE="linux
      10. _raid_member"
    • Source Code

      1. Disk /dev/sdb: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
      2. Disk /dev/sda: 111,8 GiB, 120034123776 bytes, 234441648 sectors
      3. Disk identifier: 0x40093ee9
      4. Disk /dev/sdc: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
      5. Disk /dev/sdd: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
      6. Disk /dev/sde: 3,7 TiB, 4000787030016 bytes, 7814037168 sectors
    • # mdadm.conf
      #
      # Please refer to mdadm.conf(5) for information about this file.
      #

      # by default, scan all partitions (/proc/partitions) for MD superblocks.
      # alternatively, specify devices to scan, using wildcards if desired.
      # Note, if no DEVICE line is present, then "DEVICE partitions" is assumed.
      # To avoid the auto-assembly of RAID devices a pattern that CAN'T match is
      # used if no RAID devices are configured.
      DEVICE partitions

      # auto-create devices with Debian standard permissions
      CREATE owner=root group=disk mode=0660 auto=yes

      # automatically tag new arrays as belonging to the local system
      HOMEHOST <system>

      # definitions of existing MD arrays
      ARRAY /dev/md0 metadata=1.2 name=dittmar-server-ffm:RAID6Storage UUID=72af4504:e88ad548:0b2ca8df:e31b5108
      MAILADDR root
    • Yes, correct. I updated / upgraded with the RAID connected.

      I am reading in some other posts that when upgrades failed, that people physically disconnect the RAID drives and then re-install OMV on the OS drive. Afterwards they re-connect the RAID drives and re-initiate it. Do you think its advisable to do in this situation?

      What do you make of the error code I posted initially at the beginning? Is there any hint in there what could be causing my problems?

      Once again - THANK YOU!
    • Source Code

      1. mdadm: looking for devices for /dev/md0
      2. mdadm: /dev/sdb is identified as a member of /dev/md0, slot 0.
      3. mdadm: /dev/sdc is identified as a member of /dev/md0, slot 1.
      4. mdadm: /dev/sdd is identified as a member of /dev/md0, slot 2.
      5. mdadm: /dev/sde is identified as a member of /dev/md0, slot 3.
      6. mdadm: added /dev/sdc to /dev/md0 as 1
      7. mdadm: added /dev/sdd to /dev/md0 as 2
      8. mdadm: added /dev/sde to /dev/md0 as 3
      9. mdadm: no uptodate device for slot 4 of /dev/md0
      10. mdadm: added /dev/sdb to /dev/md0 as 0
      11. mdadm: /dev/md0 has been started with 4 drives (out of 6).
      Display All
    • snipedog wrote:

      I am SUPER afraid of losing my data.
      With raid6 you can have 2 drives fail any more and you've lost the lot!! I suppose you don't have a backup :)

      snipedog wrote:

      mdadm: /dev/md0 has been started with 4 drives (out of 6).
      This is the problem and the reason that this devices=/dev/sdb,/dev/sdc,/dev/sdd,/dev/sde didn't make sense, the outputs from fdisk and blkid do not show any other drives, what's in Storage -> Disks
      Raid is not a backup! Would you go skydiving without a parachute?
    • Users Online 1

      1 Guest