linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Gene Poole <landrlatz@free.fr>
To: linux-cifs@vger.kernel.org
Subject: CIFS share becomes inaccessible but can be reached by smbclient
Date: Sun, 8 Aug 2021 08:13:56 +0200	[thread overview]
Message-ID: <b625b223-16d9-10ad-a9ea-3289ee4c478f@free.fr> (raw)

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


                 reply	other threads:[~2021-08-08  6:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b625b223-16d9-10ad-a9ea-3289ee4c478f@free.fr \
    --to=landrlatz@free.fr \
    --cc=linux-cifs@vger.kernel.org \
    --subject='Re: CIFS share becomes inaccessible but can be reached by smbclient' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).