• OpenMediaVault NAS on a Pi; Setting up NFS.

    From paul lee@1:105/420 to All on Wed Dec 23 23:53:38 2020
    Ok, so I'm gonna give old Fidonet a go for a support need I have concerning my Raspberry Pi 3+. (I am going to put a Pi 4 on it soon, as its better 10G ethernet would bump my transfer rates automagically. Furthermore, if I can get through my issues I'll slap all SSD HDs on it to try and get the best NAS experience a Pi can provide...)

    My question:

    I've setup a NFS file share on the OMV server. It is active and recognized... running. How do I access this NFS from other Linux boxes on my network? It doesn't JUST show up in either Network, or the other network shared areas. (Where SMBs and WORKGROUPs are...)

    I assume I need some packages and prerequisites on the Linux machine that I'm trying to point to the NFS? Or... what am I missing??

    Thanks in advance, Fidonet... I'm very happy to see an active Raspberry Pi area - I have MANY Pi projects and some Arduino/ESP-32/ESP-8266 wizardry happening all around my home & offices.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (1:105/420)
  • From The Natural Philosopher@3:770/3 to paul lee on Thu Dec 24 09:26:35 2020
    On 23/12/2020 10:53, paul lee wrote:
    Ok, so I'm gonna give old Fidonet a go for a support need I have concerning
    my
    Raspberry Pi 3+. (I am going to put a Pi 4 on it soon, as its better 10G ethernet would bump my transfer rates automagically. Furthermore, if I can
    get
    through my issues I'll slap all SSD HDs on it to try and get the best NAS experience a Pi can provide...)

    My question:

    I've setup a NFS file share on the OMV server. It is active and
    recognized...
    running. How do I access this NFS from other Linux boxes on my network? It doesn't JUST show up in either Network, or the other network shared areas. (Where SMBs and WORKGROUPs are...)

    No. I use entries in /etc/fstab. I dont think any file managers actually recognise NFS.
    If you don't wanna hard wire mounts, make up little scripts to invoke
    'mount' that run as root.

    NOT so trivial

    Reemeber NFS was created to make users home directories common across
    machines along with centralised user/uid/gid services of yellow pages.
    It is a client server implementation.

    SMB on WinPcs was developed as a peere to peer network accessible by users



    I assume I need some packages and prerequisites on the Linux machine that
    I'm
    trying to point to the NFS? Or... what am I missing??
    Only the client nfs-common package.

    Thanks in advance, Fidonet... I'm very happy to see an active Raspberry Pi
    area
    - I have MANY Pi projects and some Arduino/ESP-32/ESP-8266 wizardry
    happening
    all around my home & offices.



    |07p|15AULIE|1142|07o
    |08.........



    --
    Outside of a dog, a book is a man's best friend. Inside of a dog it's
    too dark to read.

    Groucho Marx

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Lew Pitcher@3:770/3 to paul lee on Thu Dec 24 16:41:37 2020
    On Wed, 23 Dec 2020 23:53:38 +1300, paul lee wrote:

    Ok, so I'm gonna give old Fidonet a go for a support need I have
    concerning my Raspberry Pi 3+. (I am going to put a Pi 4 on it soon, as
    its better 10G ethernet would bump my transfer rates automagically. Furthermore, if I can get through my issues I'll slap all SSD HDs on it
    to try and get the best NAS experience a Pi can provide...)

    My question:

    I've setup a NFS file share on the OMV server. It is active and
    recognized... running. How do I access this NFS from other Linux boxes
    on my network? It doesn't JUST show up in either Network, or the other network shared areas. (Where SMBs and WORKGROUPs are...)

    I assume I need some packages and prerequisites on the Linux machine
    that I'm trying to point to the NFS? Or... what am I missing??

    On the client machine,
    1) start the portmap and statd services
    2) mount the server-exported directory as an nfs filesystem
    ( "mount -t nfs \
    server.address:/path/to/exported/filesystem \
    /path/to/local/mountpoint" )


    Thanks in advance, Fidonet... I'm very happy to see an active Raspberry
    Pi area - I have MANY Pi projects and some Arduino/ESP-32/ESP-8266
    wizardry happening all around my home & offices.



    |07p|15AULIE|1142|07o |08.........




    --
    Lew Pitcher
    "In Skills, We Trust"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Jim Jackson@3:770/3 to paul lee on Thu Dec 24 17:48:55 2020
    On 2020-12-23, paul lee <nospam.paul.lee@f420.n105.z1.binkp.net> wrote:
    ...
    concerning my Raspberry Pi 3+. (I am going to put a Pi 4 on it soon,
    as its better 10G ethernet would bump my transfer rates automagically.
    ^^^^^^^^^^^^

    Errr.... You Wish! 1Gb ethernet

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Kurt Weiske@1:218/700 to paul lee on Thu Dec 24 08:02:00 2020
    paul lee wrote to All <=-

    Thanks in advance, Fidonet... I'm very happy to see an active Raspberry
    Pi area - I have MANY Pi projects and some Arduino/ESP-32/ESP-8266 wizardry happening all around my home & offices.

    I put a Pi Zero W on my wish list this year, I feel it'll be a
    decent beginning to a slippery slope of little black boxes.

    I'd like to use it as a pi-hole to begin with.




    ... Go to an extreme, move back to a more comfortable place
    --- MultiMail/XT v0.52
    * Origin: http://realitycheckbbs.org | tomorrow's retro tech (1:218/700)
  • From paul lee@1:105/420 to The Natural Philosopher on Thu Dec 24 12:48:07 2020
    No. I use entries in /etc/fstab. I dont think any file managers actually recognise NFS.
    If you don't wanna hard wire mounts, make up little scripts to invoke 'mount' that run as root.

    Reemeber NFS was created to make users home directories common across machines along with centralised user/uid/gid services of yellow pages.
    It is a client server implementation.

    Thanks for the reply; all great info. So I was able to learn more about NFS but still have a problem.

    First, on my BBS Raspberry Pi machine I added a line for the NFS in /etc/fstab and mounted the NFS, lickety split. Now on new reboots the NFS mounts automatically. Perfect.

    However, on a Manjaro machine I'm having issues...
    First, when I mount the NDS without using fstab, it works perfectly. I can mount the share and access it like normal. I use another .sh script to umount it and that works too. However...

    When I add the NFS line in fstab and try to mount the NFS, I get 'mount.nfs failed to prepare: Mount operation not permitted.'. It won't mound the dang NFS share. I'm on OMV 5 and the nfs-utils is the newest version. I did see some info on google about nfs-utils needing to be an older version, but I haven't went down that rabbit hole yet, thinking that doesn't sound right.

    Any ideas??? Hmph. Again, I know I'm doing everything correctly - like syntax and all - because on my BBS Pi machine the NFS mounts thru fstab just fine.

    Hmmmm.



    |07p|15AULIE|1142|07o
    |08.........

    --- Mystic BBS v1.12 A47 2020/11/23 (Raspberry Pi/32)
    * Origin: 2o fOr beeRS bbS>>20ForBeers.com:1337 (1:105/420)
  • From The Natural Philosopher@3:770/3 to paul lee on Fri Dec 25 09:50:15 2020
    On 23/12/2020 23:48, paul lee wrote:
    When I add the NFS line in fstab and try to mount the NFS, I get 'mount.nfs failed to prepare: Mount operation not permitted.'. It won't mound the dang
    NFS
    share. I'm on OMV 5 and the nfs-utils is the newest version. I did see some info on google about nfs-utils needing to be an older version, but I haven't went down that rabbit hole yet, thinking that doesn't sound right.

    Any ideas??? Hmph. Again, I know I'm doing everything correctly - like
    syntax
    and all - because on my BBS Pi machine the NFS mounts thru fstab just fine.

    Two issues I have come across.

    One is that all actions need root permissions.

    The second is that you need top pay attention to the exports file

    This is a sample that works for me on my local network
    /etc/exports
    /var/www *(rw,sync,no_root_squash,no_subtree_check)

    remember to ruin as root exportfs after changes.


    On a wide area network where I am accessing a virtual private server via
    NAT, I needed to modify things a little as the router used an
    'insecure' - high number port to access the server.

    /var/xxx.co.uk *(rw,sync,no_root_squash,no_subtree_check,insecure)

    I am not sure that either of those is your problem, however.

    Another problem may be incompatible versions. You can force a given
    version of nfs using extra fields in fstab or mount. Check to see if
    nfsvers=3 works for example or nfsvers=2 or nfsvers=4. If using mount use
    -o nfsvers=4
    etc.


    I know that my older nfs clinet here doesn't default to version 4, but
    my newer server does!

    Finally, is there anything wrong permissions wise with where you are
    trying to mount?

    You can check what is being exported on the server from the client using showmount --exports <[server] [IP address]>

    This may not work on incompatible versions


    That's all I can think of right now.










    --
    "It is an established fact to 97% confidence limits that left wing
    conspirators see right wing conspiracies everywhere"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)