In my environment I have 3 OI_148's integrated into two different ADs,
with the majority of users being Windows users. They don't see any
issues like this. They are heavy users of cad, design tools like
photoshop/sketchup etc, as well as MS office/libreoffice, ~12TB of data
all up (and 30+snapshots per filesystem).
Are you sharing via NFS, or are the Windows users accessing via the ZFS
sharesmb=thsfs?
In my situation, I don't have both NFS and sharesmb turned on
simultaneously, nor do I have compression enabled, not sure if these
make a difference.
My nbmand is off, though, as I'm not using both NFS and CIFS. Maybe
this is your problem, since it specifically deals with locking
(http://docs.oracle.com/cd/E19082-01/820-2429/configurecrossprotocollockingtask/index.html),
specifically "When the nbmand mount option is not set, the Solaris CIFS
service will enforce mandatory share reservations and byte-range locking
internally for all CIFS clients. However, without nbmand set, there is
only limited coordination with NFS and local processes."?
On 29/06/2012 05:08, Martin Frost wrote:
I'm running oi_148 as a fileserver, exporting via NFS and the
kernel CIFS service for ZFS.
But Windows users (XP and probably all Windows versions) are unable to
write files from any MS Office applications into the shares from ZFS.
They always get: "Access denied. Contact your administrator." Same
result whether they're trying to overwrite a file or write a new file.
Any ideas what's causing that? This is driving me crazy. I've
seen the same problem under Linux with Samba, where disabling
locking seemed to help.
After that error, the users save the file to the local disk and copy
it over the CIFS connection into the ZFS system successfully. So they
clearly have write access into ZFS from Windows, and the filesystem
has lots of free space, but Office can't write any files to ZFS. I
assume this is some sort of locking problem. I have nbmand=on, which
is what I've read it should be set to for CIFS sharing.
The directories and files they're trying to edit are owned by the
actual user (defined by matching passwd and smbpasswd entries on the
OI machine) and have 700 permissions and full_set ACLS:
owner@:rwxpdDaARWcCos:fd-----:allow
everyone@:rwxpdDaARWcCos:fd-----:deny
Some relevant services:
online Feb_11 svc:/network/shares/group:smb
online Mar_01 svc:/network/smb/server:default
online Feb_27 svc:/network/nfs/status:default
online Feb_27 svc:/network/nfs/rquota:default
online Feb_27 svc:/network/nfs/nlockmgr:default
online May_08 svc:/network/nfs/mapid:default
online May_09 svc:/network/nfs/server:default
online May_09 svc:/network/nfs/cbd:default
Here are most properties of the filesystem:
NAME PROPERTY VALUE SOURCE
gname/thefs mounted yes -
gname/thefs reservation none default
gname/thefs mountpoint /gname/thefs default
gname/thefs sharenfs sec=sys,rw=gname local
gname/thefs checksum on default
gname/thefs compression gzip inherited from gname
gname/thefs atime off inherited from gname
gname/thefs devices on default
gname/thefs exec on default
gname/thefs readonly off default
gname/thefs zoned off default
gname/thefs aclinherit passthrough local
gname/thefs canmount on default
gname/thefs xattr on default
gname/thefs version 5 -
gname/thefs utf8only off -
gname/thefs normalization none -
gname/thefs casesensitivity mixed -
gname/thefs vscan off default
gname/thefs nbmand on local
gname/thefs sharesmb name=thefs local
gname/thefs refquota none default
gname/thefs refreservation none default
gname/thefs logbias latency default
gname/thefs dedup off default
gname/thefs mlslabel none default
gname/thefs sync standard default
Thanks for any suggestions!
Martin
_______________________________________________
OpenIndiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss