Creating a bug report/issue
Required Information
-
DietPi version | G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=18
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’` -
Distro version | bullseye 1
-
Kernel version | Linux PiHole 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
-
Architecture | armhf
-
SBC model | RPi 4 Model B (aarch64)
-
Power supply used | 802.3at PoE+ switch with RPi PoE HAT
-
SD card used | Kingston M.2 SSD (booted through USB 3.0 port)
Additional Information (if applicable)
- Software title | dietpi drive manager
- Was the software title installed freshly or updated/migrated? Updated
- Can this issue be replicated on a fresh installation of DietPi? Haven’t tried
Steps to reproduce
- Mount CIFS drive with dietpi drive manager
- Confirm drive is mounted, /etc/fstab entry looks ok
- Wait an hour or two for mounted network drive to disconnect spontaneously (but the samba share is otherwise available to other clients on network)
- Re-mount cifs share with Webmin, drive can’t be mounted with dietpi drive manager now
- Process repeats
Expected behaviour
CIFS share should stay connected
Actual behaviour
CIFS share disconnects after an hour or two, dietpi drive manager gives error that “host is down,” but as mentioned above, the shared folder remains active on network and other (Windows) clients can access it… Once remounted by another route like Webmin, the share stays connected temporarily again but the cycle repeats itself.
Extra details
Here is the etc/fstab entry created by dietpi drive manager:
//nucserver.xxxx/xxxshare /mnt/xxxxshare-SMB cifs uid=0,iocharset=utf8,cred=/var/lib/dietpi/dietpi-drive_manager/mnt-xxxxshare-SMB.cred,dir_mode=0770,file_mode=0770,vers=3.1.1,nofail,gid=0,x-systemd.automount,noauto 0 0