Hi@all,
The UCS 5.0.4 provides all shares via Samba. Except /home because on the Linux clients the desktop does not work well if the /home is mounted via SMB. The shares are on the same partition on the UCS. RAID5 hardware RAID with SSD’s
UUID=84ed7072-b664-4c74-b0fc-9f932bacbf9a /data01 xfs defaults 0 0
# /home was on /dev/sda3 during installation
UUID=b0470c13-04d8-4dcb-a11d-a79270986628 /home xfs defaults 0 0
The SMB shares are all located below /data01. As an example, the share “Accounting”:
[Buchhaltung]
path = /data01/Buchhaltung
msdfs root = no
writeable = yes
browseable = yes
public = no
dos filemode = yes
hide unreadable = no
create mode = 0660
directory mode = 0770
force create mode = 00
force directory mode = 00
locking = 1
strict locking = Auto
oplocks = 1
level2 oplocks = 1
fake oplocks = 0
csc policy = manual
force user = Administrator
force group = Domain Users
nt acl support = 1
inherit acls = 1
vfs objects = acl_xattr acl_xattr
inherit owner = no
inherit permissions = no
map acl inherit = yes
The corresponding mount on the client (output ‘mount’) looks like this:
//srv01.lan.example.de/Buchhaltung on /data01/Buchhaltung type cifs (rw,relatime,vers=3.1.1,cache=loose,username=s.gehr,uid=1381401120,noforceuid,gid=1381400513,noforcegid,addr=192.168.83.5,file_mode=0755,dir_mode=0755,iocharset=utf8,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,bsize=1048576,echo_interval=60,actimeo=1,closetimeo=1)
This gives me a fairly constant rate (in both directions) of ~120MB/sec. I rate that as good.
The export of /home
#
"/home" -rw,root_squash,async,subtree_check,sec=krb5i * # LDAP:cn=home,cn=shares,dc=lan,dc=example,dc=de
And the output of 'mount
srv01.lan.example.de:/home/s.gehr on /home/s.gehr type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,soft,proto=tcp,timeo=600,retrans=2,sec=krb5i,clientaddr=192.168.83.140,fsc,local_lock=none,addr=192.168.83.5)
On /home I have a constant bandwidth of ~60MB/sec (in both directions). So just half of SMB.
Can the NFSv4 still be optimized?
with best
sven