It is currently Fri Nov 27, 2020 8:09 pm
All times are UTC + 8 hours

Random access problems to shares

Random access problems to shares

Postby maxxer » Thu Aug 06, 2020 3:56 pm

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

Re: Random access problems to shares

Postby Nazar78 » Thu Aug 06, 2020 4:23 pm

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 - [40TB N300 RAID10 + 5 Bay USB: 8TB RAID5 & 480GB SSD for Apps]
User avatar
Nazar78
 
Posts: 197
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Random access problems to shares

Postby maxxer » Thu Aug 06, 2020 4:32 pm

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

Re: Random access problems to shares

Postby orion » Thu Aug 06, 2020 5:18 pm

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

Re: Random access problems to shares

Postby Nazar78 » Thu Aug 06, 2020 5:26 pm

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 - [40TB N300 RAID10 + 5 Bay USB: 8TB RAID5 & 480GB SSD for Apps]
User avatar
Nazar78
 
Posts: 197
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Random access problems to shares

Postby maxxer » Sat Sep 05, 2020 3:28 pm

I upgraded and rebooted the storage, operations seems to have restored to normality
maxxer
 
Posts: 8
Joined: Thu Aug 06, 2020 3:51 pm

Return to [Official] For AS61XX/62XX Series

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron