Problem with VMs on network share
Posted: 16 Aug 2015 09:29
Hi *,
the files of a few virtual machines are stored on my NAS - 10.2.0.2 Revision 1778. I connect to the NAS from an iMac using Parallels Desktop for my VMs. When I connect over AFP there is no problem. When using SMB/CIFS the following happens: the VM starts up. Memory usage of the smbd process goes up to 300MB and CPU usage to 100%. Then the connection drops. The smbd process stays at 100% CPU usage and hast to be terminated with 'kill -9'
Any ideas?
Stefan
Here my smb4.conf:
[global]
server role = standalone
encrypt passwords = yes
netbios name = infinity
workgroup = MATRIX
server string = Storage Array
security = user
max protocol = SMB3
dns proxy = no
# Settings to enhance performance:
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
getwd cache = yes
socket options = TCP_NODELAY SO_SNDBUF=1048576 SO_RCVBUF=1048576
# End of performance section
unix charset = UTF-8
local master = yes
domain master = yes
preferred master = yes
os level = 35
time server = no
guest account = ftp
map to guest = Never
max log size = 100
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log level = 1
dos charset = CP437
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam
idmap config * : backend = tdb
idmap config * : range = 10000-39999
[Archiv]
comment = Archiv Videocam, Software, Bilder
path = /mnt/pool1/archiv/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = no
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/
the files of a few virtual machines are stored on my NAS - 10.2.0.2 Revision 1778. I connect to the NAS from an iMac using Parallels Desktop for my VMs. When I connect over AFP there is no problem. When using SMB/CIFS the following happens: the VM starts up. Memory usage of the smbd process goes up to 300MB and CPU usage to 100%. Then the connection drops. The smbd process stays at 100% CPU usage and hast to be terminated with 'kill -9'
Any ideas?
Stefan
Here my smb4.conf:
[global]
server role = standalone
encrypt passwords = yes
netbios name = infinity
workgroup = MATRIX
server string = Storage Array
security = user
max protocol = SMB3
dns proxy = no
# Settings to enhance performance:
strict locking = no
read raw = yes
write raw = yes
oplocks = yes
max xmit = 65535
deadtime = 15
getwd cache = yes
socket options = TCP_NODELAY SO_SNDBUF=1048576 SO_RCVBUF=1048576
# End of performance section
unix charset = UTF-8
local master = yes
domain master = yes
preferred master = yes
os level = 35
time server = no
guest account = ftp
map to guest = Never
max log size = 100
syslog only = yes
syslog = 1
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
log level = 1
dos charset = CP437
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
passdb backend = tdbsam
idmap config * : backend = tdb
idmap config * : range = 10000-39999
[Archiv]
comment = Archiv Videocam, Software, Bilder
path = /mnt/pool1/archiv/
writeable = yes
printable = no
veto files = /.snap/.sujournal/
hide dot files = yes
guest ok = no
inherit permissions = yes
vfs objects = shadow_copy2 zfsacl aio_pthread
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
shadow:format = auto-%Y%m%d-%H%M%S
shadow:snapdir = .zfs/snapshot
shadow:sort = desc
shadow:localtime = yes
veto files = /.zfs/