Hi.
I've some Windows (Samba) shares on my NAS, they all work but sometimes users complain they cannot write to shares they used to. Then they retry after some hours and access is restored.
I don't know how to debug the issue, I couldn't find Samba logs or anything like that.
Any hint on how to proceed? thanks
AS6204R, bios 2.23, ADM 3.2.1.RKU4
Random access problems to shares
Moderator: Lillian.W@AST
-
- Posts: 15
- youtube meble na wymiar Warszawa
- Joined: Thu Aug 06, 2020 3:51 pm
- Nazar78
- Posts: 2066
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Random access problems to shares
Could be the shares were opened and locked elsewhere?
SSH into the NAS as root then you can view the log:
SSH into the NAS as root then you can view the log:
Code: Select all
less /var/log/samba/samba.log
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 15
- Joined: Thu Aug 06, 2020 3:51 pm
Re: Random access problems to shares
Unfortunately there's nothing relevant in that log file.
I did misexplain myself: the user can access the share but doesn't have write permission. I.e. I cannot create a folder at the 3rd level, while I can at 1st. As said this usually works, occasionally doesn't. No NAS reboot in between
I did misexplain myself: the user can access the share but doesn't have write permission. I.e. I cannot create a folder at the 3rd level, while I can at 1st. As said this usually works, occasionally doesn't. No NAS reboot in between
- orion
- Posts: 3485
- Joined: Wed May 29, 2013 11:09 am
Re: Random access problems to shares
How do you access "the share"? Map a network drive?
On the other hand, you should check ADM web page -> System Information -> Online users when failed. I wonder the accessing user is not the one you expected.
On the other hand, you should check ADM web page -> System Information -> Online users when failed. I wonder the accessing user is not the one you expected.
- Nazar78
- Posts: 2066
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Random access problems to shares
How about running "dmesg" from the SSH? Anything unusual? I assumed you didn't changed anything for the CIFS service other than turning it on and leave everything default. The next time it happened, toggle the CIFS service off then back to on, then check theses logs.maxxer wrote:Unfortunately there's nothing relevant in that log file.
I did misexplain myself: the user can access the share but doesn't have write permission. I.e. I cannot create a folder at the 3rd level, while I can at 1st. As said this usually works, occasionally doesn't. No NAS reboot in between
Code: Select all
dmesg|grep -E 'CIFS|SMB'
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 15
- Joined: Thu Aug 06, 2020 3:51 pm
Re: Random access problems to shares
I upgraded and rebooted the storage, operations seems to have restored to normality