C
C
c00l3r852020-06-18 13:01:09
NFS
c00l3r85, 2020-06-18 13:01:09

Sharing TMPFS over NFS?

Good day comrades.

Actually I'm trying to expand the Ram disk (tmfs) via NFS.
On the client, it fails with an error:
mount.nfs: access denied by server while mounting 10.10.243.14:/exports/ramdisk

On the server (centos),
the export file looks like this
/data/ott * (crossmnt,rw,no_root_squash,async,no_subtree_check)
/ exports/ramdisk * (fsid=25,crossmnt,rw,no_root_squash,async,no_subtree_check)
mount point itself is
tmpfs on /exports/ramdisk type tmpfs (rw,relatime,seclabel,size=3145728k)
exportfs permissions: /exports/ramdisk - set ( 777 )

when rereading the espore file, it constantly bugs on
exportfs: /exports/ramdisk requires fsid= for NFS export
in the log:
Cannot export /exports/ramdisk, possibly unsupported filesystem or fsid= required

while other balls are mounted without problems,

does anyone use such a script at all?
can you have any ideas?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
c00l3r85, 2020-07-09
@c00l3r85

here are the mount options on the tmpfs partition server under which, after that, it can be expanded over the network
mount -t tmpfs tmpfs /mnt/tmpfs/ -o size=10G,uid=nfsnobody,gid=nfsnobody,mode=0777

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question