Then saving configuration error Failed to execute command 'export PATH...

  • Hello,

    I've added to the existing NAS 512 MB ext4 hard drive. OMV admin

    1. System -> Disks show the new drive
    2. Storage -> File systems - the new drive is shown unmounted. Action - Select new drive and click on Button Mount.
    3. On top yellow bar appears to Apply configuration changes
    4. Click on Apply results on 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; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': koduNAS.lan: ---------- ID: create_filesystem_mountpoint_8ce53ff2-ff45-4430-b08d-29ad844c5f79 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_8ce53ff2-ff45-4430-b08d-29ad844c5f79 for file /etc/fstab was charged by text Started: 12:46:54.243146 Duration: 1.362 ms Changes: ---------- ID: mount_filesystem_mountpoint_8ce53ff2-ff45-4430-b08d-29ad844c5f79 Function: mount.mounted Name: /srv/dev-disk-by-label-WDTVLiveHub Result: True Comment: Target was already mounted Started: 12:46:54.245484 Duration: 431.766 ms Changes: ---------- ID: create_filesystem_mountpoint_9f28d9e9-66ec-48b0-b80f-b7250accf6f9 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_9f28d9e9-66ec-48b0-b80f-b7250accf6f9 for file /etc/fstab was charged by text Started: 12:46:54.678354 Duration: 4.162 ms Changes: ---------- ID: mount_filesystem_mountpoint_9f28d9e9-66ec-48b0-b80f-b7250accf6f9 Function: mount.mounted Name: /srv/dev-disk-by-label-WDTVPriv Result: True Comment: Target was already mounted Started: 12:46:54.682949 Duration: 63.881 ms Changes: ---------- ID: create_filesystem_mountpoint_89a53099-4a8d-4724-8fb5-3fb6e3ca03c5 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_89a53099-4a8d-4724-8fb5-3fb6e3ca03c5 for file /etc/fstab was charged by text Started: 12:46:54.747687 Duration: 3.826 ms Changes: ---------- ID: mount_filesystem_mountpoint_89a53099-4a8d-4724-8fb5-3fb6e3ca03c5 Function: mount.mounted Name: /srv/dev-disk-by-label-Seagate Backup Plus Drive Result: False Comment: mount: bad usage Try 'mount --help' for more information. Started: 12:46:54.751890 Duration: 117.113 ms Changes: ---------- ID: create_filesystem_mountpoint_5663ec2f-bb42-4d7d-88d1-5207e9b10f35 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_5663ec2f-bb42-4d7d-88d1-5207e9b10f35 for file /etc/fstab was charged by text Started: 12:46:54.869835 Duration: 2.92 ms Changes: ---------- ID: mount_filesystem_mountpoint_5663ec2f-bb42-4d7d-88d1-5207e9b10f35 Function: mount.mounted Name: /srv/dev-disk-by-label-vanaketas Result: True Comment: Target was already mounted Started: 12:46:54.873042 Duration: 148.785 ms Changes: ---------- umount: Forced remount because options (user_xattr) changed ---------- ID: create_filesystem_mountpoint_a69837cd-8770-4b7f-a9ae-5c564793318d Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_a69837cd-8770-4b7f-a9ae-5c564793318d for file /etc/fstab was charged by text Started: 12:46:55.022619 Duration: 2.86 ms Changes: ---------- ID: mount_filesystem_mountpoint_a69837cd-8770-4b7f-a9ae-5c564793318d Function: mount.mounted Name: /srv/dev-disk-by-uuid-18002561-6b84-47be-9c61-b65ad0082bde Result: True Comment: Target was successfully mounted Started: 12:46:55.025750 Duration: 115.34 ms Changes: ---------- mount: True ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 12:46:55.144861 Duration: 9.731 ms Changes: Summary for koduNAS.lan ------------- Succeeded: 10 (changed=2) Failed: 1 ------------- Total states run: 11 Total run time: 901.746 ms
  • Found the solution or workaround.


    In CLI cheking omv-confdbadm read --prettify conf.system.filesystem.mountpoint reveals, that something is preventing new disk to be added to config.xml file.

    Added it manully and the error message disapperas

Participate now!

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