etsjessey

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by etsjessey

  1. I am not exactly sure if I am on the right track or not but none of my dockers can access my zpool even with correctly set paths. Works fine on all other paths to unassigned devices, shares, etc. just not my zpool...I see it but, I will get some error saying it couldn't load. I feel like this has to be because of permissions. I can assign permissions to access it via an smb share with no issues but, what would I need to do to make it available for a docker to read/write to it?

  2. Anyone able to successfully add a ZFS path in Krusader? My pool is good and works great with an smb share. I need transfer some stuff locally though. Not sure if it’s permissions getting in the way or what but, I can’t get it to work even though the folder path is discoverable when I go to add the path to the docker.

     

    Any help would be appreciated! Thanks in advance.

  3. My Zpool is up, and shows in the folder drop downs and works in UnRaid, works great as a share but, I can’t seem to figure out how to add it as a path in the Krusader Docker. I can see everything else fine accept that. Based on what I am seeing, the paths and everything should be correct but, maybe the is something in the permissions I need to change?

    I also can’t seem to be able to use root mode in krusader either. It thinks my password is wrong. Not sure why. 🤷🏻‍♂️
     

    Any advice would be greatly appreciated!

    Thank you!

  4. 38 minutes ago, hackersarchangel said:

    Do you have eXecute permissions? That's what allows you to traverse it.

    That is a new to me so I am gonna say that is probably a no I had to guess. What would I need to check or do for that?

  5. *Sigh* I have another weird share question that doesn't make logic sense to me...lol

     

    The same share I mentioned before will let me copy a file to and from the share but, will not let me open a folder to view it's contents within...
    I checked permissions and it says the same user that has the read/write access has permissions on that share has read/write access to the folders so it was marked recursive. I must be missing a line of xml or something that will allow that...any ideas?

     

    Thanks in advance!

  6. 25 minutes ago, etsjessey said:

    Also, Does anyone know what I would need to add to SMB Extras to have time-machine support on a share? I couldn't really find much on that either. Everything I found had to do with shares through the shares tab. =(

    Nevermind, was able to find an awesome video by Spaceinvader One on doing this. Please see video below.

    [name_of_share_here]
          ea support = Yes path = /mnt/disks/yourdiskname/foldername 
          vfs objects = catia fruit streams_xattr 
          valid users = users_who_have_access_here
          write list = users_who_have_access_write_here 
          fruit:time machine max size = 500 G <!--You can put whatever size you want here-->
          fruit:encoding = native 
          fruit:locking = netatalk 
          fruit:metadata = netatalk 
          fruit:resource = file 
          fruit:time machine = yes 
          fruit:advertise_fullsync = true 
          durable handles = yes 
          kernel oplocks = no 
          kernel share modes = no 
          posix locking = no 
          inherit acls = yes 
    <!--leave one space before unassigned devices stuff-->

     

     

     

     

  7. Also, Does anyone know what I would need to add to SMB Extras to have time-machine support on a share? I couldn't really find much on that either. Everything I found had to do with shares through the shares tab. =(

  8. On 7/15/2020 at 11:41 PM, hackersarchangel said:

    That's interesting, root should always have access for root = God. You can't login to the share as root, that's a big security no no. *wags finger*

    The changes I described are done to the folder via ssh, so I'm not sure I'm following what you did in that regard. As for the config on the share itself via SMB that looks fine.

    Also, it's late for me so I may not be grokking this well. I'll check again tomorrow and see if I read your post differently LOL

     I think I misunderstood. CHOWN doesn't actually take away access from root does it?

  9. 20 minutes ago, hackersarchangel said:

    Ok he other thing it can be are folder permissions on the server side, meaning you gave that user access in the config but the actual folder and files are still restricted. SSH into the server as a user that can gain root/sudo privileges, and run the following on the folders in question:

    
    ls -la

    This will tell you what permissions are on the folders. If they don't match the user OR a group the user is in then you would see what you are seeing without giving everyone permission to access.
     

    ** All commands below may need sudo or root access, proceed with caution! ***
    If you will be the only user accessing these (or that specific user credential will be the only one) do the following:

    
    chown -Rv username "/path/to/folder"

    If other users will be using the share with different credentials, do this instead:

    
    chmod -Rv 770 "/path/to/parentfolder"
    chown -Rv username:sharedgroup "/path/to/folder"

    Explanation of the commands (I'm not assuming you don't know what you are doing, this is for those that come after us and have all the questions!)

     

    ls -la will show the permissions and the allowed level of permissions. It will show who the owner and group attached to the folder, and it will show what level of access each "ring" has.   rwx means Read Write eXecute, and is necessary to change anything in the folders. The permissions are in 3 sets, first being user, second group, third is everyone else.

     

    chmod is CHange MODe and that allows you to change the access levels of each category explained above. 7 = RWX, 6 is RW. The eXecute bit (a numerical of 1) must be set on all directories or you will be unable to use those folders. Example: chmod 100 "/home/user" means you have set the execute bit on your home folder.

    chown is CHange OWNer, -R is recursive, v is verbose. Owner is in the first half of the : group is second.

     

    Hope this helps anyone else that comes along. If you have made it this far, welcome!

     

     

    That was exactly the problem! I was able to change everything to one user but, it takes away root access.
    If I only have one other user besides root what would I do to accomplish changing permissions back to root but, also giving that one user access? Thank you for the detailed explanation by the way. For someone like me who didn't particularly know what each part meant but actually wants to learn, it's nice to finally know!

  10. 1 hour ago, hackersarchangel said:

    Your config looks alright, what version of SMB are you using? macOS won't use anything that's too old like SMBv1. It needs to be at least. SMBv2.

    It looks like the version negotiated is 3.02 when I looked in MacOS

  11. I tried to look as much as I could but, hadn't seen anyone with my problem just yet. Let me know if best to post on another topic..

    I was able to create a pool, make a share using the SMB extras, and mount the share on another computer with the intended credentials....
    However, when I try to drag a file to drop it in it has a circle with a line through it. I am sure it's some kind of permissions things but my username shows reads and write when I right click and press get info. I attached the smb extras I made hoping I am just missing something small. Thanks in advance!

     

    Server: UnRaid Newest Stable 

    Client: MacOS High Sierra

     

    smb extras.png

    Mounted HD.png

  12. Hello all,

     

    I once again would like to request your collective brains for advice. First, I would like to thank everyone that has helped in the past. Lots of great people in the community and awesome content and developers.

     

    I am Migrating a CentOS7 install from a bare server to a Virtual Machine. I know this way out of my league but here is how far I got...

     

    Original Image is stored on a raid 5 at around 1.7GBs. 

    - Went to the original OS, Copied files shrunk the LVs and restored the files.

    - Then used lvmove to move the files so that the free space was at the end of the disk.

    - Booted in GParted, then shrunk the PV so the overall image would only be 100Gbs.

    - I then checked everything to make sure it still booted and everything worked.

    - I loaded up Clonezilla, made images of the two partitions.

     

    At this point I switched gears to load the VM...

     

    - Brought up Unraids CentOS VM template, made the vDisk 105Gbs

    - I loaded GParted and remade the partitions double checking flags and FS matches.

    - Loaded Clonezilla, and restored the partitions to the vDisk.

     

    I double check with GParted that the information made it on there however....No boot with seabios or OVMF

    SATA is selected for bus, and changed HDC to SDX in the XML.

     

    Any help would be greatly appreciated. I am not sure what I have missed here that would prevent booting.

     

  13. Double checked settings and it looks like it is working in HBA as I see disk name and serials... However, the ending numbers will randomly change sometimes. Not every time, just sometimes. I am wondering if it has to do with some boot order thing because when I first set the array up parity was (sdf), disk 1 was (sdc), disk 2 (sdd), and disk 3 was (sde)

     

    929665907_ScreenShot2018-11-06at10_21_02PM.thumb.png.255e918a32867b36c2948b5fec2b2d89.png

  14. Every time I restart the server some the drives ID numbers change and unraid report the disks as missing...

    I can restart the array by using the "new config" tool and telling unraid that the parity disk is already good but, I really hate having to do this. It's to iffy for me to trust important information like this. Also, it is not the same disks, its random as to which ones.

     

    Dell R410

       Boot USB Unraid 6.6.3 in internal USB port

       Cache Disk 120gb PNY using Sata port A

       Array Disks #1-3 Perc i6 raid passthrough slots 1-3

       Parity Disk #1 Perc i6 raid passthrough slot 4 (EDIT: I meant to put H200a, which is manufactured by LSI)

  15. I am curious about parity backups pertaining to the cache drives. I have a setup in mind but want to know from the pros on here wether this would work or not...

    I have 4 - 4tb WD RE Drives. What I thought I would do is make a raid 0 cache from two of the drives and use the other two as parity disks. Would this configuration actually work first of all? Second, how is unraid with 10GB fiber connections? This is the reason I am looking for the performance boost of a raid 0.