Operating System - Linux
1753277 Members
5327 Online
108792 Solutions
New Discussion юеВ

Copying ocfs files over NFS

 
Vipulinux
Respected Contributor

Copying ocfs files over NFS

hi
I am trying to copy database files stiing on ocfs file system to another server using NFS.

when i give the copy command after mounting the ocfs over nfs it does not copy anything in the sub directories, also lot of errors like NFS Stale file etc etc.

Can someone point where I am going wrong.

Thanks
3 REPLIES 3
Bryan Eley
Trusted Contributor

Re: Copying ocfs files over NFS

Is the nfs share still being exported? Try running $ /usr/sbin/showmount -e to see if the nfs share is really there.

You could also try nfsstat -s on server and
nfsstat -c on client side to see NFS statistics.

If so, you might want to see if you can manually mount and remount the share. Failing that, you may need to reboot the server to eliminate the stale file error.

Best,
Bryan

George Liu_4
Trusted Contributor

Re: Copying ocfs files over NFS

NFS Stale normal means NFS has problems somewhere. Problems exists Not in the specific file types you want to copy
Siert Zijl
Advisor

Re: Copying ocfs files over NFS

OCFS is the Oracle Clustered FileSystem. You need file utilities which are capable of direct io (O_DIRECT) to copy a database from a ocfs filesystem.

The RPM's for direct io enabled standard Linux utilities like cp, tar, etc. can be downloaded from the Coreutils project. Please see http://oss.oracle.com/projects/ocfs/ and http://oss.oracle.com/projects/coreutils/files/

Linux system administrator