ginnokami

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by ginnokami

  1. Can you explain why the container needs to be privileged? Is it just so that it can access the /var/log directory and if so would it be possible to map this somewhere else so that the container can be run without privileged mode?
  2. Setting "vfs objects = catia extd_audit recycle" for each of the shares in smb-extra.conf results in the shares no longer been seen from Windows (This could be because you are essentially defining the specific shares settings twice). Reverting the change and restarting samba results in the share being visible again (though catia isn't applied so the "illegal filenames" are still present) Even if this was to have worked I think it is still far from the desired behavior. At any time I could install a new plugin (or remove the SMB Recycle Bin plugin) and thus the values "extd_audit recycle" may no longer get "automatically added" when the smb-shares.conf file is generated. If there was a mechanism that would allow my "User Share" settings defined in smb-extra.conf to be appended instead when the smb-shared.conf file is generated that would be a great solution to this issue.
  3. I have files on SMB User Shares that have "illegal characters" from a Windows perspective. I mainly use Linux, so this generally isn't a problem for me. What I would like to do is enable catia, which allows for character remapping when files are served, for each of the shares with the offending "illegal characters". In trying to do this, I added the following lines to my SMB Extras: [global] #Mapping illegal characters, where enabled with "vfs objects = catia" mangled names = no vfs objects = catia catia:mappings = 0x22:0xa8,0x2a:0xa4,0x2f:0xf8,0x3a:0xf7,0x3c:0xab,0x3e:0xbb,0x3f:0xbf,0x5c:0xff,0x7c:0xa6 This works for the "rootshare" that I created in my SMB Extras, which does not override the vfs objects setting, and the filenames are properly remapped. However, all of my User Shares still don't properly remap. In debugging this, I went and looked at /etc/samba/smb.conf which includes smb-extra.conf and then smb-shares.conf. Looking into smb-shares.conf (while my array was started), reveals that each share has the following lines (which will override the global setting) [sharename] vfs objects = extd_audit recycle I editted the line in each of the offending shares to include catia, then ran samba restart , and the character remapping was working as expected. The issue with this is that the smb-shares.conf file is generated at array startup, as the file is empty when the array is stopped. It does not appear that there is a way to add this in /boot/config/shares/sharename.cfg. I cannot find out what is generating the smb-shares.conf, so I do not know how to get the catia option added. Ultimately, I would like to know how to edit the config which generates the smb-shares.conf so that I can include the "catia" value into the vfs objects value. This way I won't have to remember to make the change and then restart samba just for this change to be included. Thanks for the help.
  4. So I hate to answer my own question, but I took the plunge with my 6TB drive and added it to the array. It immediately showed up in the drive list as unmountable. Going down to Array Operation, I had a new option to select format drive. Once accepting the warning and clicking yes, the format took a couple of seconds and then the drive was online in the array. The disk was not cleared again. It might be worthwhile to change the text, as "start Clearing new data disk(s)" is wrong. The disk was not cleared again.
  5. Hello Everyone, I am trying to add 3 new drives to my existing array on Unraid v6.8.3 and my Preclear Disks plugin was updated on 2020.10.22. I have run preclear on the new drives, which completed successfully, and the drives show the precleared status in Unassigned Devices. The drives were precleared in my server chassis (i.e. not in some external enclosure). This is shown below. I am having the issue that when I go to add the precleared drive to the array, Unraid is stating that it wants to clear the drive again. Here are the steps I am taking. I add the first drive (sdg ending in XZ) to disk slot 6 Then looking at the Array Operation area it shows that when I start the array it is going to clear the drive. This is the part that I don't understand. It was my understanding that if I were to preclear the drive in advance, then when I add it to the array Unraid wouldn't need to clear it again. Am I doing something wrong in the order in which I am adding new drives to my array? Any advice/suggestions would be much appreciated. Thanks.
  6. I do not believe you are able to create a user from the HPX front end. You can set it through the cmd interface. After opening the console from the Unraid UI, ./happypandax/happypandax user create -t 'admin' -u 'username' -p 'password' Flag -h will give you all the options. You can also see more options here Command Line Arguments