Solved

Can't mount a folder from a remote server

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now