[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 904
  • Last Modified:

Can't mount a folder from a remote server

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
Jason Yu
Asked:
Jason Yu
  • 4
1 Solution
 
Jason YuAuthor Commented:
[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
 
Jason YuAuthor Commented:
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
 
Jason YuAuthor Commented:
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
 
Jason YuAuthor Commented:
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
 
Duncan RoeSoftware DeveloperCommented:
On elysium, please post the output from:
 - mount
 - df /u2/oracle/backup/rman/cronus
 - cat /etc/exports
0

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now