Send the Homelab to the Attic

I don’t have any windows machines. So I am going to work on learning how to setup nfs. This is where I am at right now.

image

I modified my share to 192.168.55.1/24

image

and now I think I got it. on the synology I had to put in my exact ip. trying to include the whole subnet 55.1/24 gave the error permission denied.

This works and I have my first machine syncing.

I still want to figure out the nfs share on the truenas vm. I will spend time on that later.

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.

1 Like

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.

image

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.