Issue with creating an archive system and aplying

  • Hi everyone. I have installed OMV 6.5.4-1 (Shaitan) in my Raspberry Pi 4 and I'm trying to configure a NAS in my home. I do a fast format/erase in my disk and I receive this message (I have tried also the secure format and after is the same error):

    Warning: Partition table header claims that the size of partition table
    entries is 0 bytes, but this program supports only 128-byte entries.
    Adjusting accordingly, but partition table may be garbage.
    Caution: invalid backup GPT header, but valid main header; regenerating
    backup header from main header.

    Warning! One or more CRCs don't match. You should repair the disk!
    Main header: OK
    Backup header: ERROR
    Main partition table: OK
    Backup partition table: OK

    ****************************************************************************
    Caution: Found protective or hybrid MBR and corrupt GPT. Using GPT, but disk
    verification and recovery are STRONGLY recommended.
    ****************************************************************************
    GPT data structures destroyed! You may now partition the disk using fdisk or
    other utilities.
    1+0 records in
    1+0 records out
    4194304 bytes (4.2 MB, 4.0 MiB) copied, 0.015957 s, 263 MB/s
    8192+0 records in
    8192+0 records out
    4194304 bytes (4.2 MB, 4.0 MiB) copied, 14.634 s, 287 kB/s

    END OF LINE


    But the program permit to create after an archive system but then, when OMV ask por apply changes, OMV send me the next error:

    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': raspberrypi:

    ----------

    ID: create_filesystem_mountpoint_5c2d9e47-b30a-4d1c-b9f3-79f678eb062e

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_5c2d9e47-b30a-4d1c-b9f3-79f678eb062e for file /etc/fstab was charged by text

    Started: 17:46:20.850506

    Duration: 3.563 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_5c2d9e47-b30a-4d1c-b9f3-79f678eb062e

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a

    Result: False

    Comment: mount: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

    Started: 17:46:20.856419

    Duration: 388.043 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: Changes were made

    Started: 17:46:21.246485

    Duration: 17.357 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -4,5 +4,5 @@

    # a swapfile is not a swap partition, no line here

    # use dphys-swapfile swap[on|off] for that

    # >>> [openmediavault]

    -/dev/disk/by-uuid/b8c97a89-52f6-466d-b878-273729b154c7 /srv/dev-disk-by-uuid-b8c97a89-52f6-466d-b878-273729b154c7 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    +/dev/disk/by-uuid/1e6715a2-351b-43b0-b66c-de4ebd34af2a /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    # <<< [openmediavault]


    Summary for raspberrypi

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

    Succeeded: 2 (changed=1)

    Failed: 1

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

    Total states run: 3

    Total run time: 408.963 ms

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

    [ERROR ] stderr: mount: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

    [ERROR ] retcode: 32

    [ERROR ] mount: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.


    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': raspberrypi:

    ----------

    ID: create_filesystem_mountpoint_5c2d9e47-b30a-4d1c-b9f3-79f678eb062e

    Function: file.accumulated

    Result: True

    Comment: Accumulator create_filesystem_mountpoint_5c2d9e47-b30a-4d1c-b9f3-79f678eb062e for file /etc/fstab was charged by text

    Started: 17:46:20.850506

    Duration: 3.563 ms

    Changes:

    ----------

    ID: mount_filesystem_mountpoint_5c2d9e47-b30a-4d1c-b9f3-79f678eb062e

    Function: mount.mounted

    Name: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a

    Result: False

    Comment: mount: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

    Started: 17:46:20.856419

    Duration: 388.043 ms

    Changes:

    ----------

    ID: append_fstab_entries

    Function: file.blockreplace

    Name: /etc/fstab

    Result: True

    Comment: Changes were made

    Started: 17:46:21.246485

    Duration: 17.357 ms

    Changes:

    ----------

    diff:

    ---

    +++

    @@ -4,5 +4,5 @@

    # a swapfile is not a swap partition, no line here

    # use dphys-swapfile swap[on|off] for that

    # >>> [openmediavault]

    -/dev/disk/by-uuid/b8c97a89-52f6-466d-b878-273729b154c7 /srv/dev-disk-by-uuid-b8c97a89-52f6-466d-b878-273729b154c7 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    +/dev/disk/by-uuid/1e6715a2-351b-43b0-b66c-de4ebd34af2a /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2

    # <<< [openmediavault]


    Summary for raspberrypi

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

    Succeeded: 2 (changed=1)

    Failed: 1

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

    Total states run: 3

    Total run time: 408.963 ms

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

    [ERROR ] stderr: mount: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.

    [ERROR ] retcode: 32

    [ERROR ] mount: /srv/dev-disk-by-uuid-1e6715a2-351b-43b0-b66c-de4ebd34af2a: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error. in /usr/share/php/openmediavault/system/process.inc:220

    Stack trace:

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

    #1 /usr/share/openmediavault/engined/rpc/config.inc(174): 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(619): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusSq...', '/tmp/bgoutputUs...')

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

    #7 /usr/share/openmediavault/engined/rpc/config.inc(195): 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}



    Thanks, I apreciate if you send me other similar threads, thank you very much.

Participate now!

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