Pretty fresh install of OMV 3.0.91. It's running as a VM on Proxmox. I've passed through 4 disks and OMV sees them ok. They are a btrfs RAID10, so yea.
Going in to Storage > File Systems, I mounted one of the disks. Shows up ok.
root@nas:~# btrfs fi show /srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi4
Label: none uuid: b170f3a5-1122-4c65-be6f-f15338514846
Total devices 4 FS bytes used 2.93TiB
devid 1 size 5.46TiB used 1.47TiB path /dev/sdc
devid 2 size 5.46TiB used 1.47TiB path /dev/sde
devid 3 size 5.46TiB used 1.47TiB path /dev/sdb
devid 4 size 5.46TiB used 1.47TiB path /dev/sdd
Btrfs v3.17
Then I created a Shared Folder. Shows up in the WebUI ok.
When I go to create an NFS share with that new Shared Folder, I get the following error:
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb' 2>&1' with exit code '32': mount: /dev/sdb is already mounted or /srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 busy
Error #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb' 2>&1' with exit code '32': mount: /dev/sdb is already mounted or /srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 busy' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(715): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/module/fstab.inc(72): OMV\System\Filesystem\Filesystem->mount()
#2 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleFsTab->startService()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusPZ...', '/tmp/bgoutputuK...')
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#8 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#9 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#11 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#12 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#13 {main}
Alles anzeigen
However, there are entries in the exports file.
root@nas:~# cat /etc/exports
# This configuration file is auto-generated.
# WARNING: Do not edit this file, your changes will be lost.
#
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/export/Data 10.1.0.0/24(fsid=1,rw,subtree_check,secure)
# NFSv4 - pseudo filesystem root
/export 10.1.0.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
So at this point, the yellow bar is at the top still asking me to Apply the config. The NFS share is still listed there. If I deleted it, the /etc/exports file now shows basically empty. But the yellow bar asking to Apply the config is still there. So I hit Apply and get what looks like the same error as before, selecting Revert is the only way to clear the yellow bar.
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb' 2>&1' with exit code '32': mount: /dev/sdb is already mounted or /srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 busy
Error #0:
exception 'OMV\ExecException' with message 'Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; mount -v --source '/dev/sdb' 2>&1' with exit code '32': mount: /dev/sdb is already mounted or /srv/dev-disk-by-id-scsi-0QEMU_QEMU_HARDDISK_drive-scsi4 busy' in /usr/share/php/openmediavault/system/process.inc:175
Stack trace:
#0 /usr/share/php/openmediavault/system/filesystem/filesystem.inc(715): OMV\System\Process->execute()
#1 /usr/share/openmediavault/engined/module/fstab.inc(72): OMV\System\Filesystem\Filesystem->mount()
#2 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleFsTab->startService()
#3 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)
#4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(150): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(528): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusci...', '/tmp/bgoutput5y...')
#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(151): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
#8 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
#9 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)
#10 /usr/share/php/openmediavault/rpc/serviceabstract.inc(124): call_user_func_array(Array, Array)
#11 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
#12 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
#13 {main}
Alles anzeigen