Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can't mount a folder from a remote server

Posted on 2013-06-26
5
Medium Priority
?
894 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
  • 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 1500 total points
ID: 39287716
On elysium, please post the output from:
 - mount
 - df /u2/oracle/backup/rman/cronus
 - cat /etc/exports
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month6 days, 4 hours left to enroll

772 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