Hi,

On OES11 we have a shadow volume pair setup which works great through the Novell client or through CIFS on a windows machine. However, when accessing this volume through CIFS on a Mac or Linux machine we can't delete a file if it's stored on the shadow volume. If the file your trying to delete is on the primary everything works fine. I've also tried this on another OES11 server here and we had the same problem, and this issue is only affecting shadow volumes.

Has anyone else come across this?

Thanks.

Peter


Excerpt from cifs.log

Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: VERB: Absolute path: /media/nss/HOME/[sS][tT][aA][fF][fF]/[pP][gG][hH]/._[vV][lL][aA][dD][sS][tT][uU][dD][iI][oO]_[sS][qQ][uU][aA][rR][eE][sS]1_1600[xX]1200.[jJ][pP][gG], Share path: /media/nss/HOME, Volume path: /media/nss/HOME, TID: 6, Connection: 34
Jan 24 14:21:30 holmes CIFS[12679]: INFO : RPC: in FindShadowVolumeTableEntry volname/media/nss/HOME,shadowVolName /media/nss/SHADOW
Jan 24 14:21:30 holmes CIFS[12679]: INFO : VERBS: glob failed on the shadow volume, 3
Jan 24 14:21:30 holmes CIFS[12679]: INFO : VERB: Glob: No Match Found /media/nss/HOME/[sS][tT][aA][fF][fF]/[pP][gG][hH]/._[vV][lL][aA][dD][sS][tT][uU][dD][iI][oO]_[sS][qQ][uU][aA][rR][eE][sS]1_1600[xX]1200.[jJ][pP][gG]
Jan 24 14:21:30 holmes CIFS[12679]: INFO : VERB: cifsdelete : Absolute path of file to be deleted : /media/nss/HOME/Staff/PGH/shoppingcart8.png
Jan 24 14:21:30 holmes CIFS[12679]: INFO : VERB: /media/nss/HOME/Staff/PGH/shoppingcart8.png
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetEntryFromDirCache: Iteration 0, looking for Staff in /media/nss/HOME
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetEntryFromDirCache: Iteration 1, looking for PGH in /media/nss/HOME/Staff
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetEntryFromDirCache: Iteration 2, looking for shoppingcart8.png in /media/nss/HOME/Staff/PGH
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: getStatXattr: getxattr("/media/nss/HOME/Staff/PGH/shoppingcart8.png",...) rc=4294967287
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: Can't delete file, delete bit is set
Jan 24 14:21:30 holmes CIFS[12679]: INFO : VERB: Delete of file /media/nss/HOME/Staff/PGH/shoppingcart8.png failed ret:168
Jan 24 14:21:30 holmes CIFS[12679]: INFO : SMB: SMB_Delete exit, TID=6, error=1:5
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: SMB: TRANS2 sub verb is 1 , Trans2 MaxParameterCount(=0xa) MaxDataCount(=0xfc30) MaxSetupCount(=0x0)
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: VERB: Absolute path: /media/nss/HOME/[sS][tT][aA][fF][fF]/[pP][gG][hH]/[sS][hH][oO][pP][pP][iI][nN][gG][cC][aA][rR][tT]8.[pP][nN][gG], Share path: /media/nss/HOME, Volume path: /media/nss/HOME, TID: 6, Connection: 34
Jan 24 14:21:30 holmes CIFS[12679]: INFO : RPC: in FindShadowVolumeTableEntry volname/media/nss/HOME,shadowVolName /media/nss/SHADOW
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: VERB: Trans2FindFirst: Number of entries: 1
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: VERB: /Staff/PGH/shoppingcart8.png
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetEntryFromDirCache: Iteration 0, looking for Staff in /media/nss/HOME
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetEntryFromDirCache: Iteration 1, looking for PGH in /media/nss/HOME/Staff
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetEntryFromDirCache: Iteration 2, looking for shoppingcart8.png in /media/nss/HOME/Staff/PGH
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: Rights : DB
Jan 24 14:21:30 holmes CIFS[12679]: DEBUG: CODIR: GetStatFromPath: getxattr("/media/nss/SHADOW/Staff/PGH/shoppingcart8.png",...) rc=1073741824
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: VERBS: SMB_NtTransaction, Intermediate reply not required
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: VERBS: Trans2 MaxParameterCount(=0xfae0) MaxDataCount(=0x0) MaxSetupCount(=0x0)
Jan 24 14:21:34 holmes CIFS[12679]: INFO : VERBS: ProcessNtTransRequest, NT_TRANS, subfucntion: 4 unsupported.
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: VERBS: SMB_NtTransaction, NT_TRANS successfully completed
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: SMB: TRANS2 sub verb is 3 , Trans2 MaxParameterCount(=0x4) MaxDataCount(=0x18) MaxSetupCount(=0x0)
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: SMB: SMB_T2QueryFsInfo entry, TID=6, Type=0x103
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: UTILS: Volume mount point ="/media/nss/HOME" name="HOME"
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: SMB: SMB_T2QueryFsInfo exit, TID=6, retVal = 0, error=0:0
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: SMB: TRANS2 sub verb is 1 , Trans2 MaxParameterCount(=0xa) MaxDataCount(=0xfc30) MaxSetupCount(=0x0)
Jan 24 14:21:34 holmes CIFS[12679]: DEBUG: VERB: Absolute path: /media/nss/HOME/[sS][tT][aA][fF][fF]/[pP][gG][hH], Share path: /media/nss/HOME, Volume path: /media/nss/HOME, TID: 6, Connection: 34
Jan 24 14:21:34 holmes CIFS[12679]: INFO : RPC: in FindShadowVolumeTableEntry volname/media/nss/HOME,shadowVolName /media/nss/SHADOW