File copies fail to FreeNAS

Status
Not open for further replies.

gannet

Cadet
Joined
Oct 18, 2015
Messages
6
(FreeNAS-9.3-STABLE-201509282017)

I am trying to backup my PCs to a FreeNAS server. When I copy using Windows explorer I get the following
error message: "Error: 0x8007003B: An unexpected network error occurred"

When backing up with SyncBack I get many errors like this:
"Failed to copy from Source : Cannot copy file (59): An unexpected network error occurred"

The NAS server was off for a while but it used to work OK.
I have tried the following:
- Upgrade FreeNAS to the latest version.
- Swap patch cable.
- Use different port on switch.
- Reset switch.
- Reboot everything.
- Googling the error messages

I can backup fine to another NAS device (not running FreeNAS)

SMART data from the drives indicate no errors.
CPU load is between 0-80%, mostly below 50%

The only suspicious things I can see in the logs is lines like this in log.smbd:
[2015/10/18 08:21:46.537500, 1] ../source3/smbd/service.c:550(make_connection_s
num)
create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
STATUS=daemon 'smbd' finished starting up and ready to serve connections

These are repeated every 1-2 minutes during a backup.

Also the Web UI is very slow, particularly when logging in or saving changes. This may be unrelated
probably one for another thread.

Output from 'ifconfig':
Code:
bge0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
  options=c0099<RXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,VLAN_HWTSO,LINKSTATE>
  ether 3c:4a:92:77:c2:64
  inet 192.168.202.220 netmask 0xffffff00 broadcast 192.168.202.255
  nd6 options=9<PERFORMNUD,IFDISABLED>
  media: Ethernet autoselect (100baseTX <full-duplex>)
  status: active
ipfw0: flags=8801<UP,SIMPLEX,MULTICAST> metric 0 mtu 65536
  nd6 options=9<PERFORMNUD,IFDISABLED>
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
  options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
  inet6 ::1 prefixlen 128
  inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
  inet 127.0.0.1 netmask 0xff000000
  nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
  ether 02:75:36:13:ac:00
  nd6 options=1<PERFORMNUD>
  id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
  maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
  root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
  member: epair0a flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
  ifmaxaddr 0 port 11 priority 128 path cost 2000
  member: bge0 flags=143<LEARNING,DISCOVER,AUTOEDGE,AUTOPTP>
  ifmaxaddr 0 port 1 priority 128 path cost 200000
epair0a: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
  options=8<VLAN_MTU>
  ether 02:30:37:00:0b:0a
  nd6 options=1<PERFORMNUD>
  media: Ethernet 10Gbase-T (10Gbase-T <full-duplex>)
  status: active


The hardware is an HP Microserver -- HP - Compaq Proliant N36L MicroServer, 8GB ECC RAM
3 * 3TB WD HDDs. Booting off USB flash drive.
 

gannet

Cadet
Joined
Oct 18, 2015
Messages
6
smb4.conf:
Code:
[global]
  server max protocol = SMB2
  encrypt passwords = yes
  dns proxy = no
  strict locking = no
  oplocks = yes
  deadtime = 15
  max log size = 51200
  max open files = 231455
  load printers = no
  printing = bsd
  printcap name = /dev/null
  disable spoolss = yes
  getwd cache = yes
  guest account = nobody
  map to guest = Bad User
  obey pam restrictions = yes
  directory name cache size = 0
  kernel change notify = no
  panic action = /usr/local/libexec/samba/samba-backtrace
  nsupdate command = /usr/local/bin/samba-nsupdate -g
  server string = FreeNAS Server
  ea support = yes
  store dos attributes = yes
  lm announce = yes
  hostname lookups = yes
  time server = yes
  acl allow execute always = true
  acl check permissions = true
  dos filemode = yes
  multicast dns register = no
  domain logons = no
  local master = yes
  idmap config *: backend = tdb
  idmap config *: range = 90000001-100000000
  server role = standalone
  netbios name = SERVER
  workgroup = HOME
  security = user
  pid directory = /var/run/samba
  create mask = 0666
  directory mask = 0777
  client ntlmv2 auth = yes
  dos charset = CP437
  unix charset = UTF-8
  log level = 1

[Shared]
  path = /mnt/store/Shared
  comment = Music, Pictures etc...
  printable = no
  veto files = /.snapshot/.windows/.mac/.zfs/
  writeable = yes
  browseable = yes
  shadow:snapdir = .zfs/snapshot
  shadow:sort = desc
  shadow:localtime = yes
  shadow:format = auto-%Y%m%d.%H%M-4m
  shadow:snapdirseverywhere = yes
  vfs objects = shadow_copy2 zfs_space zfsacl aio_pthread streams_xattr
  hide dot files = yes
  guest ok = no
  nfs4:mode = special
  nfs4:acedup = merge
  nfs4:chown = true
  zfsacl:acesort = dontcare


I don't have any Jails except for a MiniDLNA server. I haven't yet tried switching it off.
 

gannet

Cadet
Joined
Oct 18, 2015
Messages
6
Code:
# file: /mnt/store/Shared
# owner: root
# group: wheel
  owner@:rwxpDdaARWcCos:fd----:allow
  group@:rwxpDdaARWcCos:fd----:allow
  everyone@:r-x---a-R-c---:fd----:allow
 

gannet

Cadet
Joined
Oct 18, 2015
Messages
6
I don't believe it's an authentication/permissions issue. Some files copy across OK.

Output from command:
Code:
NAME  PROPERTY  VALUE  SOURCE
store/Shared  aclmode  restricted  local
 
Last edited:

gannet

Cadet
Joined
Oct 18, 2015
Messages
6
OK. I have disabled the MiniDLNA jail -- made no differences
I have also tried resetting the password & clearing credentials -- again no difference
 
Status
Not open for further replies.
Top