Adam Nielsen
2007-Jan-22 07:35 UTC
[Samba] Mode 0x1b4 errors in logs, unable to save Word documents
Hi all, Our users have started to complain that some of the time they're unable to save Word documents to our Samba drive - Word tells them the disk is full. I had a look at the logs, and there are a lot of weird "Function not implemented" errors. These have been there for a while, but the "Operation not permitted" ones seem new. Nothing on the server has changed. What's this "mode 0x1b4"? This is with Samba 3.0.21rc2 - does anyone know if these issues have been changed in a newer release? I wonder whether it's possible to silently fail here to stop Word from giving a "disk full" error message. Any ideas? Many thanks, Adam. Jan 22 16:54:53 aquila smbd_audit[12156]: open Human Ethics/Document Generation/Source.doc (fd 36) Jan 22 16:54:53 aquila smbd_audit[12156]: open Human Ethics/Document Generation/~WRD2200.tmp (fd 37) Jan 22 16:54:53 aquila smbd_audit[12156]: close fd 37 Jan 22 16:54:53 aquila smbd_audit[12156]: open Human Ethics/Document Generation/~WRD2200.tmp (fd 37) for writing Jan 22 16:54:53 aquila smbd_audit[12156]: chmod_acl Human Ethics/Document Generation/~WRD2200.tmp mode 0x1b4 failed: Function not implemented Jan 22 16:54:53 aquila smbd_audit[12156]: chmod Human Ethics/Document Generation/~WRD2200.tmp mode 0x1b4 failed: Operation not permitted
Adam Nielsen
2007-Jan-23 00:56 UTC
[Samba] Mode 0x1b4 errors in logs, unable to save Word documents
> Since you are running an rc version of an older release... maybe you > should update first?I would, but upgrading a production machine can be a bit of a hassle especially when you don't know if it will fix the problem (since it works perfectly otherwise.) There seems to be a bit of recent discussion about this but no definite response, so I'm not so sure it has been fixed. Cheers, Adam.
Rune Tønnesen
2007-Jan-24 15:27 UTC
[Samba] Mode 0x1b4 errors in logs, unable to save Word documents
Hi Adam A possible solution is to use max disk size, but to be honest it is long shoot. max disk size This global option specifies an illusory limit, in megabytes, for each share that Samba is offering. It only affects how much disk space Samba reports the share as having and does not prevent more disk space from actually being available for use. You would typically set this option to prevent clients with older operating systems?or running buggy applications?from being confused by large disk spaces. For example, some older Windows applications become confused when they encounter a share larger than 1 gigabyte. To work around this problem, max disk size can be set as follows: [global] max disk size = 1000 It seems that there is some problem related to acl, what kind of filesystem do you use? Is your samba version compiled with acl support? You might have to take a look at smb.conf about acl. e.g. try to disable acl for the a directory and see what happens Best Regards Rune T?nnesen Adam Nielsen skrev:> Hi all, > > Our users have started to complain that some of the time they're unable > to save Word documents to our Samba drive - Word tells them the disk > is full. I had a look at the logs, and there are a lot of weird > "Function not implemented" errors. These have been there for a while, > but the "Operation not permitted" ones seem new. Nothing on the server > has changed. > > What's this "mode 0x1b4"? This is with Samba 3.0.21rc2 - does anyone > know if these issues have been changed in a newer release? I wonder > whether it's possible to silently fail here to stop Word from giving a > "disk full" error message. > > Any ideas? > > Many thanks, > Adam. > > > Jan 22 16:54:53 aquila smbd_audit[12156]: open Human Ethics/Document Generation/Source.doc (fd 36) > Jan 22 16:54:53 aquila smbd_audit[12156]: open Human Ethics/Document Generation/~WRD2200.tmp (fd 37) > Jan 22 16:54:53 aquila smbd_audit[12156]: close fd 37 > Jan 22 16:54:53 aquila smbd_audit[12156]: open Human Ethics/Document Generation/~WRD2200.tmp (fd 37) for writing > Jan 22 16:54:53 aquila smbd_audit[12156]: chmod_acl Human Ethics/Document Generation/~WRD2200.tmp mode 0x1b4 failed: Function not implemented > Jan 22 16:54:53 aquila smbd_audit[12156]: chmod Human Ethics/Document Generation/~WRD2200.tmp mode 0x1b4 failed: Operation not permitted >