Permission error trying to grow file system

  • Hey guys, I recently grow my software raid, and it is completed, it shows clean. Now I proceed to file system to grow but it have an 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=; resize2fs '/dev/md0' 2>&1' with exit code '1': resize2fs 1.46.6 (1-Feb-2023)

    resize2fs: Permission denied to resize filesystem

    Filesystem at /dev/md0 is mounted on /srv/dev-disk-by-uuid-f60c597a-b56e-4d50-8d2e-7580fd6e2498; on-line resizing required

    old_desc_blocks = 1398, new_desc_blocks = 1863


    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=; resize2fs '/dev/md0' 2>&1' with exit code '1': resize2fs 1.46.6 (1-Feb-2023)

    resize2fs: Permission denied to resize filesystem

    Filesystem at /dev/md0 is mounted on /srv/dev-disk-by-uuid-f60c597a-b56e-4d50-8d2e-7580fd6e2498; on-line resizing required

    old_desc_blocks = 1398, new_desc_blocks = 1863 in /usr/share/php/openmediavault/system/process.inc:242

    Stack trace:

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

    #1 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(808): OMV\System\Filesystem\Ext->grow()

    #2 [internal function]: Engined\Rpc\OMVRpcServiceFileSystemMgmt->grow(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('grow', Array, Array)

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

    #6 {main}

Participate now!

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