I'm trying to switch over to NFS's, tho.. as they're a bit faster since I'mfully on Linux here. When I add it, I need to set my client IP range.
inet 10.0.0.16 netmask 255.255.255.0 broadcast 10.0.0.255
inet 127.0.0.1 netmask 255.0.0.0
Do I set my range with the '127.0.0.1/24' or do I use my wifi '10.0.0.1/24'?
I know that I connect locally to all my Pi's and laptops using the 10.0.0.x... I'm not grasping what the NFS is asking me for and what I suppply it with. You know, I have like 10.0.0.178 - so 1/24, does that cover the 178???
While I'm not totally dumb on network stuff... I almost am. An ifconfig is here:
inet 10.0.0.16 netmask 255.255.255.0 broadcast 10.0.0.255
Do I set my range with the '127.0.0.1/24' or do I use my wifi '10.0.0.1/24'?
I know that I connect locally to all my Pi's and laptops using the 10.0.0.x... I'm not grasping what the NFS is asking me for and what I suppply
it with. You know, I have like 10.0.0.178 - so 1/24, does that cover the 178???
10.0.0.1/24 is one IP address, in a /24 subnet, that is 1 of 254
possible IPaddresses.
The actual network address would in this case be 10.0.0.0/24, and 10.0.0.1would likely be your router, although some are configured to use the lastusable IP so 10.0.0.254.
Based on the information you provided, your "clients" fit in
10.0.0.0/24. I'mnot sure what you are asking, but if you are wanting to limit your NFS accessto clients within your LAN, then 10.0.0.0/24 will cover it.
127.0.0.1 wouldnt be used for NFS - since packets do not leave a system thatare addressed to 127.0.0.1
I have SMBs, SSH and backups all working on my NAS. [Open Media Vault]
I'm trying to switch over to NFS's, tho.. as they're a bit faster since I'm fully on Linux here. When I add it, I need to set my client IP range.
inet 10.0.0.16 netmask 255.255.255.0 broadcast 10.0.0.255
Do I set my range with the '127.0.0.1/24' or do I use my wifi
'10.0.0.1/24'?
So, enter 10.0.0.0/24 in OMV for your NFS share :)
Another hint on NFS: It can be a bit tricky regarding the user/group access rights -- make sure your user(s) have the same user ID (UID) and the groups have the same group ID (GID) on all your machines.
That's because NFS (in the default configuration) relies on the UID+GID and not on the real username (unlike eg. SMB shares).
However... on a Manjaro install on a laptop, I can manually mount the NFS with sudo mount 10.0.0.16:/export/Backup8TB... but when I add the NFS info to /etc/fstab, when I try to mount /var/Backup8TB I get:
mount.nfs failed to prepare mount operation not permitted.
And I can only mount the NFS manually.. I want it to just mount at boot, like normal. Any thoughts??? I read somewhere that you had to rollback nfs-utils to an earlier release but... that didn't sound right.
This IS the reason I like to tinker with Raspberry Pi's - the let ou learn LOADS about linux, networks and more with minimal risk at all... love it; learning NAS software slowly. :P
Sysop: | Shaun Ewing |
---|---|
Location: | Blue Mountains, Australia |
Users: | 195 |
Nodes: | 16 (0 / 16) |
Uptime: | 218:26:02 |
Calls: | 152 |
Files: | 187,817 |
Messages: | 328,113 |