Solved

Can't mount a folder from a remote server

Posted on 2013-06-26
5
857 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 34

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
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…
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…

830 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