How to add a network drive

Hello, how can i add a network drive.

The drive is available on IP 111.222.333.444:5000 and have a public Folder pictures.

Regards lorglas

If you NAS or whatever serves using nfs, you should be able to mount with:

mkdir -p /MyNAS
mount -t nfs4 -p "111.222.333.444:diskname" /MyNAS

That’s at least how I mount my Synology DiskStation. The “diskname” is, I think, the name of the disk or it’s mountpoint on the NAS. Not terribly sure…
I suppose using “diskname/YourPublicPictureFolder” should mount that specific folder.

1 Like

Humdinger’s method doesn’t work for me. If it doesn’t work for you, try:
mount_nfs 111.222.333.444:sharename /mountpoint 1000 100

If you’re trying to mount using SMB/Samba/CIFS then it’s a whole other kettle of fish.

Note that mount_nfs is for nfs2.