I always use VB plugin in OMV and never changed any default settings. VMS were stored in shared folder pointed in plugin.
PXE Plugin
-
- OMV 2.x
- motermouth15
-
-
VMS were stored in shared folder pointed in plugin.
So, I guess I don't understand how your VMs were in /var/lib/docker/openmediavault since it is in impossible to create a shared folder pointing to that folder?
-
Please look in fstab, here is mine
Zitat von fstab# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/OMV--vg-root / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=2f48b31b-03d2-4cde-a208-be515addb7a3 /boot ext2 defaults 0 2
/dev/mapper/OMV--vg-home /home ext4 defaults 0 2
/dev/mapper/OMV--vg-tmp /tmp ext4 defaults 0 2
/dev/mapper/OMV--vg-var /var ext4 defaults 0 2
/dev/mapper/OMV--vg-swap_1 none swap sw 0 0
# >>> [openmediavault]
UUID=454939b9-10ba-43e7-a456-a46eb5ea3053 /media/454939b9-10ba-43e7-a456-a46eb5ea3053 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
UUID=1ec22a24-b7f2-40af-a9d3-9d6ac837b71d /media/1ec22a24-b7f2-40af-a9d3-9d6ac837b71d ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
/media/454939b9-10ba-43e7-a456-a46eb5ea3053/PXE /export/PXE none bind,nofail 0 0 <- My NFS service is down, no resources added and it is still mounted
/media/454939b9-10ba-43e7-a456-a46eb5ea3053/DOCKER /var/lib/docker/openmediavault none bind,defaults 0 0 <- deleted Docker plugin, but this still is mounted
# <<< [openmediavault]
tmpfs /tmp tmpfs defaults 0 0As you can see there are 2 mounts in OMV section.
I think there should be some update of settings when deleting or turning off services, they shouldn't be mounted always.
Second one (I didn't checked it before) was pointing to my VMS folder (don't know why and how, I left field empty in Docker plugin)Zitat von ls -laroot@OMV 08:03:45 ~ → ll /export/
razem 12
drwxr-xr-x 3 root root 4096 mar 13 13:57 .
drwxr-xr-x 23 root root 4096 mar 13 14:54 ..
drwx------ 2 root root 4096 mar 13 13:57 PXEZitat von ls -laroot@OMV 07:59:09 ~ → ll /var/lib/docker/openmediavault/
razem 8
drwx------ 2 root root 4096 mar 13 13:57 .
drwxrwxrwx 3 root root 4096 mar 13 13:57 ..Shared folder named DOCKER was deleted, but it still try to mount it.
I was trying to remove entries manually but after reboot they are back
-
-
Ah. Docker bind mounted the directory to the shared folder. That is why it deleted the files. You store your virtualbox VMs in a your DOCKER shared folder?
Does omv-mkconf fstab change your /etc/fstab?
-
This entry where I deleted my VMs was some mistake/bug of Docker testing version (or mby my fu**up), no matter about this, I've already restored them.
More important for me and most users is the FSTAB.
After omv-mkconf fstab no changes were applied. It look the same. -
This entry where I deleted my VMs was some mistake/bug of Docker testing version (or mby my fu**up), no matter about this, I've already restored them.
More important for me and most users is the FSTAB.
After omv-mkconf fstab no changes were applied. It look the same.I will have to look at the docker plugin code to see why it didn't remove the bind mount. I don't really consider this a bug because you could do the same thing if you were actively using the docker plugin since it needs the bind mount. All I can think is this is a reason to not use the same location for two plugins.
-
-
For sure never use one location for 2 plugins!
Could you also look in NFS plugin? It doesn't unmount resources as well -
Could you also look in NFS plugin? It doesn't unmount resources as well
Volker owns that since it is core OMV.
-
Could you also look in NFS plugin? It doesn't unmount resources as well
Looks like that is fixed in 3.0.66 (not released yet).
-
-
Hello,
I'm installed the PXE 3.12 plugin on OVM 5.1.0-1, but when I try to run it, the following error appears:
CodeFailed 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 pxe 2>&1' with exit code '100': ERROR: The state 'pxe' does not exist
How to fix it?Code
Alles anzeigenОшибка #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; omv-salt deploy run pxe 2>&1' with exit code '100': ERROR: The state 'pxe' does not exist in /usr/share/php/openmediavault/system/process.inc:182 Stack trace: #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(60): OMV\System\Process->execute() #1 /usr/share/openmediavault/engined/rpc/config.inc(167): 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(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusOW...', '/tmp/bgoutputhf...') #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure)) #7 /usr/share/openmediavault/engined/rpc/config.inc(189): 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}
-
I'm installed the PXE 3.12 plugin on OVM 5.1.0-1
Why would you do that? There is a reason the plugin isn't in the OMV 5.x repo. It hasn't been ported to OMV 5.x and won't be ported - https://forum.openmediavault.o…?postID=186122#post186122
How to fix it?
Uninstall the package and use docker.
-
Hi,
Since there is no PXE or DNSMASQ in OMV5, I found an alternative solution for cloning solution.
https://hub.docker.com/r/linuxserver/netbootxyz
source: https://blog.linuxserver.io/20…-network-boot-server-pxe/
-
-
Use Docker for PXE? How? In need a hint what to look for.
Search for PXE on docker hub. I haven't used any images because I don't need PXE.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!