linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* CIFS share becomes inaccessible but can be reached by smbclient
@ 2021-08-08  6:13 Gene Poole
  0 siblings, 0 replies; only message in thread
From: Gene Poole @ 2021-08-08  6:13 UTC (permalink / raw)
  To: linux-cifs

Hello. I need to state right away that I am not an IT person and only 
began learning Linux so I could create a small home music-and-backup server.

The little server in question is a Wandboard running Arch Linux ARM. It 
comprises two HDDS which mirror each other. it serves a Windows PC and a 
Logitech Squeezebox music appliance. It has no HIDs and I administrate 
it from the Windows (Ultimate 7) PC using PuTTY.

The shares on the Wandboard have no problem being read from and written 
to by the Windows PC and the Squeezebox. But shares on the Windows PC 
mounted on the Wandbord at boot become inaccessible after a certain 
period of time (sometimes as short as 20 minutes). An ls command to list 
the mount directory of the share shows "Host is down. " Chmod shows the 
mount directory (/mnt/Work)  with ??? ??? ??. An attempt to remount 
after unmounting shows "No such file or directory." Network traces show 
no SMB2 calls being mde to the Windows PC.

Setting up the Windows share to automount with systemd and auto-unmount 
after 1 minute without activity has helped in that the share remains 
accessible (so far for up to 12 hours and counting). *But if* I cd into 
the actual mount directory (which seems to cause the auto-unmount to 
stop functioning), the same symptoms appear. There is only one slight 
difference: Instead of "Host is down" the error is "cannot access 
'/mnt/Work': No such device."

I have been to several different forums (including Arch Linux Questions 
and Server Fault, etc.) with this question and no one has been able to 
or found the time to help. I can't find a specific cifs forum. I am in 
the process of reading the LinuxCIFS utils documentation, but it is slow 
going for me. I would appreciate any tips anyone can give and/or the 
name of an appropriate forum or mailing list. I can supply any 
information, but may need help with gathering it.

Thanks for reading.

      - Arch Linux ARM version 5.7.2-1-ARCH
        - samba v 4.12.3
        - cifs-utils v 2.26
        - mount.cifs v 6.10
      - host: Windows 7 Ultimate with SMB1 disabled and SMB2 enabled, 
all permissions and policies verfied


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-08  6:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-08  6:13 CIFS share becomes inaccessible but can be reached by smbclient Gene Poole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).