Operating System - HP-UX
1753511 Members
4988 Online
108795 Solutions
New Discussion

Re: RMAN cannot write to samba share

 
Chetan_5
Frequent Advisor

RMAN cannot write to samba share

Trying to work with a DBA to get this working but its going nowhere. I have a HP-UX box which is a samba server which will have NT clients using shares from this HP box.

The NT server is able to do a "map network drive" and the user is able to copy files to the share. but when the DBA tries to run RMAN it runs into errors

Starting backup at 27-MAR-07
using channel ORA_DISK_1
channel ORA_DISK_1: starting compressed full datafile backupset
channel ORA_DISK_1: specifying datafile(s) in backupset
input datafile fno=00004 name=H:\RPTDEV01\DATA\USERS01.DBF
channel ORA_DISK_1: starting piece 1 at 27-MAR-07
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 03/27/2007 16:45:51
ORA-19504: failed to create file "\\SMB_SERVER\TMP\6UIDM6DU_1_1"
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file

What gives? I have setup the server in user security mode, the user running RMAN is present on UNIX and smbpasswd file.
1 REPLY 1
Rasheed Tamton
Honored Contributor

Re: RMAN cannot write to samba share

Looks like permission problem somewhere. If the users are already setup then may be there is no write permission.

What about Oracle listener. Does it need any kind of access permission on the NT side.

If it is a CIFS (samba) why do not you map to a drive instead of
\\SMB_SERVER\TMP\6UIDM6DU_1_1

Are you sure your rman script is fully correct - including the paths.


Rgds,
Rasheed Tamton.