Jump to content

dlandon

Community Developer
  • Posts

    10,395
  • Joined

  • Last visited

  • Days Won

    20

Everything posted by dlandon

  1. Re-assign the disks to the slots. You can figure out which disks go where by the last part of the serial numbers.
  2. I'll release an update to UD today with some debugging to help find where UD is getting hung.
  3. Try adding 'noacl' to your mount options.
  4. Correct, I don't see any UD warnings in the log. @Squid will have to look at the CA warnings.
  5. Once you upgrade, go to Tools->PHP Settings and "All Categories" for "Error Reporting Level". Then go to the UD page and let it sit for a bit. Then go back to the PHP Settings page and look at the log. Report the errors/warnings back here.
  6. I'm suspecting a php error/warning. Any chance you'd be comfortable updating to 6.12.rc? It has the php logging that might help here.
  7. So through out all your tests, UD is still showing the Unraid wave constantly? Do you have any remote shares set up or mounted in UD?
  8. The values on the right side are the current settings read from testparm. I'll set the min version to 6.9.0 on the next release. What level of debugging would you want?
  9. I've updated the plugin. You can update by entering this into the install plugin: https://raw.githubusercontent.com/dlandon/active.directory/master/active.directory.plg
  10. You have something going on your network: Apr 5 20:39:07 IBM3650 nmbd[10786]: [2023/04/05 20:39:07.299553, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: Samba name server IBM3650 is now a local master browser for workgroup WORKGROUP on subnet 192.168.122.1 Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: [2023/04/05 20:39:07.299654, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: Samba name server IBM3650 is now a local master browser for workgroup WORKGROUP on subnet 192.168.1.1 Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: [2023/04/05 20:39:07.299711, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: Samba name server IBM3650 is now a local master browser for workgroup WORKGROUP on subnet 172.31.200.1 Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: [2023/04/05 20:39:07.299763, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: Samba name server IBM3650 is now a local master browser for workgroup WORKGROUP on subnet 172.21.0.1 Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: [2023/04/05 20:39:07.299816, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: Samba name server IBM3650 is now a local master browser for workgroup WORKGROUP on subnet 172.20.0.1 Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: [2023/04/05 20:39:07.299872, 0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: Samba name server IBM3650 is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1 Apr 5 20:39:07 IBM3650 nmbd[10786]: Apr 5 20:39:07 IBM3650 nmbd[10786]: ***** I'm trying to come up with a debug mode so I can find out where UD is getting stuck.
  11. This is a plugin that adds a page to SMB Settings so we can experiment with some Active Directory settings. There are settings to adjust the backend database and some cache settings. The plugin adds a tab 'Active Directory Extras' to the SMB Settings to permit making several AD changes. The changes are saved and re-applied when the server is started so they don't have to be re-applied. What I am hoping to accomplish is to give users a tool where thay can make some Samba adjustments to try to get the AD feature more robust and reliable. I've done some research and have found several SMB settings that might help. In particular the 'idmap cache time' and 'winbind cache time'. I think these might address the issues with losing share access over time. I do not have a Windows Server, so I can't do any testing. I have to get all my information from the Unraid Forum. I have very limited expereience with AD, so I'll need some users to test and help troubleshoot. This plugin will be treated as Beta for the time being and will have to be manually installed. Being Beta, you understand that there are risks associated with the plugin. The final outcome of these efforts will determine if anything needs to be adjusted in Unraid. It may be that this turns into a plugin published on CA, or some of these settings may be part of the Active Directory Settings page. The Active Directory Extras plugin is available on CA. Manually install the plugin by going to the Plugins tab and enter the following line to install the plugin: https://raw.githubusercontent.com/dlandon/active.directory/master/active.directory.plg I would suggest you apply the default settings and let's start there. Be aware that if you change the backend database, you'll lose all your settings and will have to re-enter them. The plugin default for "idmap cache time" is 3.5 days. The Samba default is 7 days. The plugin default for "winbind cache time" is 15 seconds. The Samba default is 5 minutes.
  12. A couple suggestions: Remove all the UD disks if possible. Set the "Debug Log Level" to "Udev and Hotplug", navigate to the UD page for a minute or so, then post new diagnostics. Go back and set the "Debug Log Level" back to none, because the debug messages can be quite chatty.
  13. Use another file system. Exfat does not respect the file system attributes.
  14. It looks like you might have a disk or cable problem: Apr 4 18:53:27 Tower unassigned.devices: Format disk '/dev/sdd' with 'xfs' filesystem failed: Error accessing specified device /dev/sdd1: No such file or directory Usage: mkfs.xfs /* blocksize */#011#011[-b size=num] /* config file */#011[-c options=xxx] /* metadata */#011#011[-m crc=0|1,finobt=0|1,uuid=xxx,rmapbt=0|1,reflink=0|1, #011#011#011 inobtcount=0|1,bigtime=0|1] /* data subvol */#011[-d agcount=n,agsize=n,file,name=xxx,size=num, #011#011#011 (sunit=value,swidth=value|su=num,sw=num|noalign), #011#011#011 sectsize=num /* force overwrite */#011[-f] /* inode size */#011[-i perblock=n|size=num,maxpct=n,attr=0|1|2, #011#011#011 projid32bit=0|1,sparse=0|1] /* no discard */#011[-K] /* log subvol */#011[-l agnum=n,internal,size=num,logdev=xxx,version=n #011#011#011 sunit=value|su=num,sectsize=num,lazy-count=0|1] /* label */#011#011[-L label (maximum 12 characters)] /* naming */#011#011[-n size=num,version=2|ci,ftype=0|1] /* no-op info only */#011[-N] /* prototype file */#011[-p fname] /* quiet */#011#011[-q] /* realtime subvol */#011[-r extsize=num,size=num,rtdev=xxx] /* sectorsize */#011[-s size=num] /* version */#011#011[-V] #011#011#011devicename
  15. Using Jumbo frames requires you set up all your network devices properely - router, switches, and all devices. It's not that easy.
  16. Why are you deleting files on your dsk, cache, or pool device? You should only delete files in the user shares, no matter where they are residing. A delete of \\Servername\DiskorPoolName/UserShare\fileorfolder is not the same as \\Servername\UserShare\fileorfolder. For best management of the recycle bin, you should only delete from \\Servername\UserShare\. The deleted files and folders will go to the \\Servername\UserShare\.Recycle.Bin\ folder. If you delete from the disk, cache, or a pool device, the deleted files and folders will go to the \\Servername\DiskorPoolName\.Recycle.Bin\ folder. You need to turn off Disk sharing and just stick with the user shares shown when browsing the \\ServerName.
  17. Look at the SMART report and see if the disk is worth a reformat. Why are you using exfat formatting? It's not that robust. I'd suggest NTFS. It's more robust and can be mounted on a Windows PC or a Mac with an addon.
  18. The 'No' setting used to be share Public. Now 'No' is no sharing, and 'Public' is public sharing. This was changed for security.
  19. Install the Tips and Tweaks plugin and check the inotify watches. Be sure the 'Available User Watches' is a positive value. If not, then increase the 'Max User Watches' until it is a positive value.
  20. Post diagnostics. Also look at the output of this command: cat /tmp/file.activity/file.activity.disks and see if the share in queston is in that output.
  21. Go to Settings->Unassigned Devices and check that the "Enable SMB Security" setting is set to something other than "No".
×
×
  • Create New...