ORA-27054 NFS problem solving AIX mounting NFS file
ASMCMD [+ back/backup] > cp EDCRAWDATA_201307.dmp / bk01
Copying + back/backup/EDCRAWDATA_201307.dmp-> / bk01/EDCRAWDATA_201307.dmp
ASMCMD-8016: copy source- >'+ back/backup/EDCRAWDATA_201307.dmp' and target- >'/ bk01/EDCRAWDATA_201307.dmp' failed
ORA-19505: failed to identify file "/ bk01/EDCRAWDATA_201307.dmp"
ORA-27054: NFS file system where the file is created or resides is not mounted with correct options
Additional information: 5
Additional information: 18
ORA-15120: ASM file name'/ bk01/EDCRAWDATA_201307.dmp' does not begin with the ASM prefix character
ORA-06512: at "SYS.X$DBMS_DISKGROUP", line 413
ORA-06512: at line 3 (DBD ERROR: OCIStmtExecute)
ASMCMD [+ back/backup] > exit
1 umount directory
Umount / bk01
2 mount directory with some parameters
Mount-o rw,hard,nointr,noac,vers=3,rsize=32768,wsize=32768 10.10.128.12:/s01/orabase/oradata / bk01
3. Problem solving:
ASMCMD [+ back/backup] > cp EDCRAWDATA_201307.dmp / bk01
Copying + back/backup/EDCRAWDATA_201307.dmp-> / bk01/EDCRAWDATA_201307.dmp
The specified parameters are as follows:
Rw mounts the file system read-write (must also be exported in the same way)
Ro mounts the file system as read-only
If the installation of bg fails (the server does not respond), keep trying in the background and continue to send other installation requests
Hard mounts the file system hard (this is the default). If the server crashes, the operation that tries to access it is blocked until the server recovers.
Soft mounts the file system in a soft manner. If the server crashes, the attempt to access it fails and an error message is returned. This feature is useful for preventing processes from "hanging" in unimportant installation operations.
Intr allows users to interrupt blocked operations (and let them return an error message)
Nointr does not allow users to interrupt
Retrans=n specifies the number of times the request is repeated on a soft-mounted file system before an error message is returned.
Timeo=n sets the timeout of the request (in 1/10 seconds)
Rsize=n sets the size of the read buffer to n bytes. It works for both TCP and UDP installations, but the optimal value is different (32K is better).
Wsize=n sets the size of the write buffer to n bytes. Suitable for both TCP and UDP installation.
Nfsvers=n sets version 2 or 3 of the NFS protocol (automatic under normal circumstances)
Tcp chooses to transmit through TCP. UDP is selected by default
Fg is the opposite of bg and is the default parameter.
Mountport sets the port of mount
The mount reports the following error:
# mount-o rw,hard,nointr,noac,vers=3,rsize=32768,wsize=32768 10.10.128.12:/s01/orabase/oradata / bk02
Mount: 1831-008giving up on:
10.10.128.12:/s01/orabase/oradata
Vmount: Operation not permitted.
Modification and solution
Nfso-o nfs_use_reserved_ports=1
If the client is also an AIX system, write the client's ip and hostname into the server's hosts file
And then
Exportfs-a
Exportfs-v
To be successful.
If the AIX system cannot uninstall a directory, execute the following command to solve the problem:
# fuser-kxuc / bk01
/ bk01: 35520728 (grid)