Random access problems to shares

Moderator: Lillian.W@AST

Post Reply
maxxer
Posts: 15
youtube meble na wymiar Warszawa
Joined: Thu Aug 06, 2020 3:51 pm

Random access problems to shares

Post by maxxer »

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
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Random access problems to shares

Post by Nazar78 »

Could be the shares were opened and locked elsewhere?

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
maxxer
Posts: 15
Joined: Thu Aug 06, 2020 3:51 pm

Re: Random access problems to shares

Post by maxxer »

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
User avatar
orion
Posts: 3482
Joined: Wed May 29, 2013 11:09 am

Re: Random access problems to shares

Post by orion »

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.
User avatar
Nazar78
Posts: 2002
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Random access problems to shares

Post by Nazar78 »

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

Code: Select all

dmesg|grep -E 'CIFS|SMB'
You should also probably run the bad block scan and smart from the storage manager's disk doctor to eliminate hardware issue.
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
maxxer
Posts: 15
Joined: Thu Aug 06, 2020 3:51 pm

Re: Random access problems to shares

Post by maxxer »

I upgraded and rebooted the storage, operations seems to have restored to normality
Post Reply

Return to “[Official] For AS61XX/62XX Series”