DizzyWeb Posted April 27, 2021 Posted April 27, 2021 I'm currently running Unraid in a Proxmox VM and it works flawlessly. Was a bit of a hassle to get working and not having a PCI SATA card to pass through, just individual drives will prove an absolute nightmare if a drive fails, but... that's not my issue. I have a share setup on Unraid where Proxmox saves it's backups. So, Unraid runs in a VM in Proxmox and Proxmox has a CIFS share on Unraid for backups. Works fine, except for one thing. Whenever I shutdown or reboot the machine, it takes forever. Turns out... it's waiting for the share to unmount. Which obviously takes forever: the Unraid VM has already shutdown! All in all, this makes a shutdown of my Proxmox machine take around 10 minutes, if not more. Does anyone perhaps have an elegant solution? Quote
DizzyWeb Posted June 9, 2021 Author Posted June 9, 2021 Right, for anyone who has a similar issue... the solution (for me) where snippets. I made a snippet that unmounts and disables the share in the "pre-stop" phase (and because it'll only enter that phase if you shut the VM down from within Proxmox, not from within the VM itself, I do it again in "post-stop" just to be sure), and it enables and mounts the share again in the post-start phase. Solved the massive delays, but it's not perfect. It doesn't always see the mount, so sometimes I'm left with a share in Proxmox that it can't use. Simply disabling and re-enabling fixes that. Not entirely sure how to fix that yet, I'm guessing it happens because the snippet runs because the VM has started, but Unraid hasn't completely booted yet, so the share isn't available yet. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.