For NFS, you want to export either the IP address, like 55.7, or the whole subnet, which would be 55.0/24, which is not the equivalent of 55.1/24. It might work, but I advise you use the proper subnetting.
On the truenas vm, I’m pretty sure the screenshot you sent has the 4tb pool shared, you just need to edit its export and you should be set.
I had no idea I needed to use 0 instead of 1. Thanks for the tip.
I think I spoke to soon though. I thought I had my synology nfs share mounted, but now my local filesystem is full of syncthing files. It is mounted now but I have no permissions unless I am root. Root cannot change the permissions.
I have an option to map all users as admin on the nas, but is that the right way to do this? I saw a post about mapping the uuid of users on the nas and the server. Do I need to do something like that? Thanks again.
The ideal way is to make a folder inside the top level mounted folder and to give that folder permission / ownership to your user. Something like:
server:/export/path /mnt/nfs
mkdir /mnt/nfs/syncthing
chown user:user -R /mnt/nfs/syncthing
chmod 770 -R /mnt/nfs/syncthing
chmod 775 /mnt/nfs
Something like that. It can be done via the GUI, just make sure that after you do this, you change the permissions on the top level mount to 775, so other users will have read and execute (to be able to open the folder). The syncthing folder would be the one that needs the write permission and ownership for your user.
Reminder to change the syncthing folder over the new path.
Thanks for giving me the terminal commands. I think I essentially had that but through the gui. I hope to graduate to a real server OS at some point so your response will be something I reference in the future. thanks.
What options do I have for copying and pasting to my proxmox VMs? I mostly have debian esque stuff setup.
I think the issue I was having with the nfs share on synology was the setting on the synology on the NFS rule has to be squash: map all users to admin.
My top priorities now are to get nfs shares figures out in truenas and come up with a good backup plan and learn to use it, including nfs snapshots. Do something with my dns.
Assuming you mean copy-paste inside the webVNC, if your browser doesn’t automatically allow you to paste, then you can install an add-on to type the contents of your clipboard inside the VM. But it doesn’t work from inside the VM to your host.
I just use SSH and copy-paste things inside that way, but if you’re not comfortable without a GUI, I suppose you could install something like Guacamole straight on Proxmox and RDP / VNC to your VMs from a web browser and it should have better copy-paste abilities than the normal webVNC / noVNC used by proxmox.
I have had some more success with NFS shares. I have both synology and truenas working. I need to get a few more reps in though.
I finally got the docker container, Tubearchivist to work. I am confused about where it is saving files though. I have so far, just used the .yml on the github repo.
I suspected I have screwed up the volumes each time. I have never used docker compose before. I found another example and I made this change:
volumes:
- ./media:/youtube
- ./cache:/cache
and I created several folders in the same directory like this:
cache docker-compose.yml media youtube
Now it does work, but I have no idea where the files are being saved to. I tried to search the VM for a .mp4 file but nothing turned up. What am I missing?
1st one is local VM, 2nd is the path inside the container. That means, wherever you launch the docker container from when you execute docker run or docker build or whatever, that’s where it’ll save. I suggest you replace the “./” with a full path, like “/mnt/data/media/youtube:/youtube” and /mnt/data/media/cache:/cache."