Jump to content

upgraded from 4.7 to 5.0.2 windows cannot access share


Recommended Posts

I just upgrade to 5.0.2 from 4.7 and notice that when trying to access a few shares i would get a Windows cannot access \\tower\share  message.  I notice also that the three share i'm having this problem with is also stored on disk4.  Parts of the share is also on other disk but it seem like the only share that are stored on disk4 is having this issue.  After upgrading I ran the new permissions already.  I search around and saw that other people are having this same issue but nothing I tried is working.

Link to comment

I hope you take this post the proper way.  The time required for the 'new permissions' script  to finish depends in good measure on the number of files and directories in your unRAID system.  It is not unusual for it to require a couple of hours for it to finish.  ( I know that a single backup of one  of my Windows machines contains some 8000 files and directories and every one of them has to be updated with the new permissions.)  Did you wait for it to finish completely?  It does come with a message that it has finished! 

 

I ran this utility as soon as it was required in the beta development program and it was not as polished as it probably is now after a lot of people had issues with not waiting for it to finish.

Link to comment

I tried and ran the newperms to the 3 shares having the problem but windows still cannot access the share.

 

When running the ls -la should all the folders be root/root?  I'm getting some that are nobody/users

nobody/users is the correct permissions for all data files/folders.    This is what the newperms script sets them to.

 

Have you tried clearing the credentials at the Windows end yet?  If you have cached credentials in Windows this might be what is causing the problems.

Link to comment

I tried and ran the newperms to the 3 shares having the problem but windows still cannot access the share.

 

When running the ls -la should all the folders be root/root?  I'm getting some that are nobody/users

 

Show the ls output. None of the data should be owned by root/root. This would prevent access.

Link to comment

tower login: root

Linux 3.9.11p-unRAID.

root@tower:~# ls -la /mnt/disk4

total 1

drwxr-xr-x  7 root root  152 2013-11-03 08:47 ./

drwxr-xr-x 17 root root    0 2013-12-12 17:04 ../

drwx--x--x 26 root root 1088 2013-10-28 00:17 DVD/

drwx--x--x 13 root root  368 2013-03-29 04:19 Movi/

drwx------  3 root root  72 2013-03-27 06:48 Storage/

 

here is the ls from disk4 showing the 3 shares that are having the issue.  I not sure if clearing the credentials would fix it because I tried to access the shares from a few other computers and they also have the same issue.

Link to comment

tower login: root

Linux 3.9.11p-unRAID.

root@tower:~# ls -la /mnt/disk4

total 1

drwxr-xr-x  7 root root  152 2013-11-03 08:47 ./

drwxr-xr-x 17 root root    0 2013-12-12 17:04 ../

drwx--x--x 26 root root 1088 2013-10-28 00:17 DVD/

drwx--x--x 13 root root  368 2013-03-29 04:19 Movi/

drwx------  3 root root  72 2013-03-27 06:48 Storage/

 

here is the ls from disk4 showing the 3 shares that are having the issue.  I not sure if clearing the credentials would fix it because I tried to access the shares from a few other computers and they also have the same issue.

These are incorrect permissions - the files and folders on the array disks should be nobody/users instead of root/root.  With the files belonging to root, they will not be accessible on the network via shares.    The recommended fix is to run the newperms utility.  This can be done either via the GUI or by using the newperms command in a telnet/console session.  If running from a console/telnet session you can add a parameter to specify the path (without it all files on all disks are done) such as

newperms /mnt/disk4

Link to comment

That log suggests there is a reiserfs file system error on disk 4 so the disk is mounted in read-only mode.  You probably want to stop the array, start it in maintenance mode and then run

reiserfsck /dev/md4

That will check the file system and advise you whether you need to run reiserfsck again with additional parameters to fix any problems found.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...