mount filesystem linux

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

mount filesystem linux

Roshan
CentOS Linux release 7.8.2003 (Core)

Hello Erman,

can you please advise how to mount the nfs below?

[root@RB-BIGD-STRIIM1 striim]# mount /bkdw
mount.nfs: mounting os5500.mtg.local:/NFS/DWARE failed, reason given by server: No such file or directory

os5500.mtg.local:/NFS/DWARE /bkdw nfs rw,bg,hard,nointr,rsize=1048576,wsize=1048576,proto=tcp,vers=4

Thanks,

Roshan

Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

ErmanArslansOracleBlog
Administrator
Do you have /NFS/DWARE directory in your remote server os5500.mtg.local?
Did you exported that directory on remote server? What does showmount -e returns?
Is the exported directory name correct? Is it really /NFS/DWARE?
Can you reach the remote server with its name or with its ip address?
Are the permissions okay for the /NFS/DWARE?
Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

Roshan
Do you have /NFS/DWARE directory in your remote server os5500.mtg.local?

Yes I have

Did you exported that directory on remote server? What does showmount -e returns?
showmount -e shows the IP for linux server was not mapped to that directory. I add to /etc/export and the issue was fixed.

[root@RB-BIGD-S1 striim]# showmount -e os5500.mtg.local Export list for os5500.mtg.local:
/MEDIAAGENT                    10.10./24
/INFINITE                      10.10.4824,10.210.228.14/32
/NFS/DBATEAM                   10.105.0/24,10.215.227.0/24
/MEDIAAGENT2                   10.10.0/24
/MEDIAAGENT3                   10.10.0/24
/MEDIAAGENT4                   10.10.48
/MEDIAAGENT5                   10.10.X.0/24
/NFS/DBBACKUP                  10.10.X8.0/24,10.2XXX128.117
/FTP_FILESYSTEM/FTP.TELECOM.MU 10.10.48.1XXX
/NFS/DWARE                     10.215.XXX28,10.2XXX227.29,10.10.XXX5.103 <--- IP was missing here

Can you please advise if the permissions are ok?
os5500.mtg.local:/NFS/DWARE /bkdw nfs rw,bg,hard,nointr,rsize=1048576,wsize=1048576,proto=tcp,vers=4


Thanks
Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

ErmanArslansOracleBlog
Administrator
It seems you already understood what I would say and fixed the issue ! Good..

Check the permissions and ensure you configured them right. Check the directory permissions using ls, and check if you can write or read from the directory using touch, ls, cd and cat commands.. Your mount command seems okay.. You have rw there, so you should be able to read and write..
Reply | Threaded
Open this post in threaded view
|

Re: mount filesystem linux

Roshan
Thanks.