Solved

Can't mount a folder from a remote server

Posted on 2013-06-26
5
873 Views
Last Modified: 2013-07-24
Dear experts here:

I need mount a folder(locates on an Oracle Database server called "Elysium") which is being used for saving our oracle daily backup archives to a test server "Perseus". When I logged onto the Perseus machine and issued "
[root@perseus temp]# mount elysium:/u2/oracle/backup/rman/cronus jasonmountpoint
" command. It gives me error like below: "mount: mount to NFS server 'elysium' failed: RPC Error: Program not registered."  Do I need install NFS server on the Elysium server? Since this folder includes over 50G archives, I have to mount it to help my DBA recover a database.

This is kind of urgent because we need recover that database using RMAN ASAP in our production. Some bad guy dropped a table from database. Any help will be great appreciated.

Thank you.
0
Comment
Question by:Jason Yu
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 

Author Comment

by:Jason Yu
ID: 39279229
[root@perseus temp]# mount 10.10.4.28:/u2/oracle/backup/rman/cronus jasonmountpoint
mount: mount to NFS server '10.10.4.28' failed: RPC Error: Program not registered.
[root@perseus temp]# mount elysium:/u2/oracle/backup/rman/cronus jasonmountpoint
mount: mount to NFS server 'elysium' failed: RPC Error: Program not registered.
[root@perseus temp]# pwd
/u2/oracle/temp
[root@perseus temp]#
0
 

Author Comment

by:Jason Yu
ID: 39279284
Some commands for collecting backup information:

[root@perseus temp]# mount -t nfs elysium:/u2/oracle/backup/rman/cronus jasonmountpoint
mount: mount to NFS server 'elysium' failed: RPC Error: Program not registered.
[root@perseus temp]# ps -ef | grep portmap
rpc       2759     1  0 May05 ?        00:00:00 portmap
root     15186 20712  0 12:10 pts/7    00:00:00 grep portmap
[root@perseus temp]# ps -ef |grep rpc.statd
rpcuser   2799     1  0 May05 ?        00:00:00 rpc.statd
root     15255 20712  0 12:10 pts/7    00:00:00 grep rpc.statd
[root@perseus temp]# more /proc/filesystems
nodev   sysfs
nodev   rootfs
nodev   bdev
nodev   proc
nodev   cpuset
nodev   binfmt_misc
nodev   debugfs
nodev   securityfs
nodev   sockfs
nodev   usbfs
nodev   pipefs
nodev   anon_inodefs
nodev   futexfs
nodev   tmpfs
nodev   inotifyfs
nodev   eventpollfs
nodev   devpts
        ext2
nodev   ramfs
nodev   hugetlbfs
        iso9660
nodev   mqueue
        ext3
nodev   rpc_pipefs
nodev   nfs
nodev   nfs4
nodev   autofs
nodev   asmdisk
nodev   oracleasmfs
        acfs
[root@perseus temp]#
0
 

Author Comment

by:Jason Yu
ID: 39279355
I followed the procedure from this post:  http://www.unix.com/red-hat/180459-nfs-client-mount-rpc-error-program-not-registered.html

But I got the error:

[root@perseus /]# mount -t nfs 10.10.4.28:/u2/oracle/backup/rman/cronus /share
mount: 10.10.4.28:/u2/oracle/backup/rman/cronus failed, reason given by server: Permission denied
[root@perseus /]


------------------------------

Below is the commands I ran.


solution to nfs server
hello dude,

go to machine 1st (server)and run these command
1-mkdir /share
2-vi /etc/exports
3-/share *(rw,sync)
4-service nfs restart
5-service portmap restart
6-showmount -e 1.2.3.4(your ip address=1.2.3.4 change as per ur req)
you are done on server machine
now go to client machine
1-showmount -e 1.2.3.4
2-mkdir /share2
3-mount -t nfs 1.2.3.4:/share /share2
4-cd /share2

you are done ..(if still have a problem mail me at <removed email address>

note:this is only for the redhat, solaris has different command to mount and share.
0
 

Author Comment

by:Jason Yu
ID: 39279744
The error message from the log file.

Jun 26 14:05:43 elysium mountd[22442]: Cannot export /u2/oracle/backup/rman/cronus, possibly unsupported filesystem or fsid= required
Jun 26 14:05:45 elysium mountd[22442]: authenticated mount request from 10.10.4.40:612 for /u2/oracle/backup/rman/cronus (/u2/oracle/backup/rman/cronus)
Jun 26 14:05:45 elysium mountd[22442]: Cannot export /u2/oracle/backup/rman/cronus, possibly unsupported filesystem or fsid= required
Jun 26 14:06:51 elysium ntpd[4928]: synchronized to 10.10.4.36, stratum 3
Jun 26 14:19:29 elysium mountd[22442]: authenticated mount request from 10.10.4.40:617 for /u2/oracle/backup/rman/cronus (/u2/oracle/backup/rman/cronus)
Jun 26 14:19:29 elysium mountd[22442]: Cannot export /u2/oracle/backup/rman/cronus, possibly unsupported filesystem or fsid= required
Jun 26 14:27:17 elysium mountd[22442]: Caught signal 15, un-registering and exiting.
Jun 26 14:27:17 elysium kernel: nfsd: last server has exited
Jun 26 14:27:17 elysium kernel: nfsd: unexporting all filesystems
Jun 26 14:27:18 elysium kernel: NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
Jun 26 14:27:18 elysium kernel: NFSD: starting 90-second grace period
Jun 26 14:27:33 elysium mountd[3669]: authenticated mount request from 10.10.4.40:609 for /u2/oracle/backup/rman/cronus (/u2/oracle/backup/rman/cronus)
Jun 26 14:27:33 elysium mountd[3669]: Cannot export /u2/oracle/backup/rman/cronus, possibly unsupported filesystem or fsid= required
0
 
LVL 35

Accepted Solution

by:
Duncan Roe earned 500 total points
ID: 39287716
On elysium, please post the output from:
 - mount
 - df /u2/oracle/backup/rman/cronus
 - cat /etc/exports
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question