frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Get an error "mount.nfs: No such device" when trying to mount StorageVPS with NFS.

I'm trying to mount a Time4VPS storage VPS and a container VPS with NFS.
But when I run the mount command I get an error like "mount.nfs: No such device" and I don't know why.

And strangely, from another Ubuntu which is not Time4VPS I can mount fine.
Help me.

My environment is below.

Storage VPS

  • OS : Default(CentOS7?)

I referred to this page for the installation procedure of NFSServer.
https://community.time4vps.com/discussion/15/mount-storage-server-with-nfs/p1

The contents of "/etc/exports" are this.

/home [ContainerVPS Global IP](rw,sync,no_root_squash,no_subtree_check)
/home [ContainerVPS Local IP](rw,sync,no_root_squash,no_subtree_check)
/home [Server IP not time4vps](rw,sync,no_root_squash,no_subtree_check)

Container VPS

  • OS: Ubuntu20.04
  • Mem: 16GB

NFS client setup instructions:

sudo apt install -y nfs-common
sudo mkdir -p /mnt/nfs_share
sudo mount -t nfs  [ContainerVPS Global IP]:/home /mnt/nfs_share
 > mount.nfs: No such device
sudo mount -t nfs  [ContainerVPS Local IP]:/home /mnt/nfs_share
 > mount.nfs: No such device

Server(not time4vps)

  • OS: Ubuntu20.04
  • Mem: 16GB

NFS client setup instructions:

sudo apt install -y nfs-common
sudo mkdir -p /mnt/nfs_share
sudo mount -t nfs  [ContainerVPS Global IP]:/home /mnt/nfs_share
# It mounts correctly and I can read and write files from root user.

Comments

  • IevazIevaz Administrator

    Hello,

    NFS modules are not supported in our Container VPS. So I believe that it is the reason for your current issue.

Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch