January 16, 201016 yr I have a newbie question for you. I recentley purchased a professional copy of UnRAID 4.5. I plan to use it as a backup for my THECUS N7700 8 BAY NAS The THECUS has an ability to automatically transfer its contents to another share. (a application called NSYNC) The problem is, when i create a share on the RAID... the share is all in capitals. See notes from THECUS manual: Setting Up an Nsync Target on Another Device If you selected “Other Device” when setting up your Nsync task, the N7700 will use the FTP protocol to back up the share folder. On the external storage device, make sure there is a folder named “nsync”, and the Auth ID has writable permission in that folder. So what i need to do, is change the share on my unRAID box from //tower/NSYNC to //tower/nsync I know it looks like it should work (in the windows world it would) but in the LINUX world, they are different folders. and i am scratching my head as to how i can go into the unRAID config file and "FORCE" lower case for a share Does anybody know how i can go into a conf file and hard code lower case for the share?
January 16, 201016 yr Log in via telnet, type ls -l /mnt/user If the directory is upper case, you can change its name by typing mv /mnt/user/NSYNC /mnt/yser/nsync You will also need to rename the user-share config file. mv /boot/config/shares/NSYNC.cfg /boot/config/shares/nsync.cfg You will then need to stop and re-start your server for it to see and advertise the shares with the lower case names. Joe L.
January 16, 201016 yr Author I think i may have a new issue with the same problem. (thanks for all your assistance for a newbie) When i FTP into the unRAID i need to either 1) rename the "user" folder to "nsync" or 2) create a new root folder called "nsync" The reason is the N7700 needs to have this exact folder in the root of the FTP. Currentley when i FTP in, it has disk1 disk2 disk3 disk4 disk5 user Does anybody know if there a way to rename or add to the "root" the the FTP directory tree? Tank you for al your help!
January 17, 201016 yr I think we need a professional opinion on this (and I hope we can get Joe or Rob to stop by soon) but /mnt/user is normally the unified filesystem in an UnRaid installation. Renaming it might be a hell of a problem. A "Share" is not the same thing you see when you FTP into the UnRaid server. A share is a networking thing that is published by UnRaid or other samba or windows systems. When you connect to a server using the \\tower\share syntax, the samba system map "share" somewhere into the server's filesystem. By default in unraid it would be /mnt/user/share ftp actually connects you to the real filesystem directly - the trouble with this is that the real filesystem is more complex and integrated that what is presented to a user of "shares". Given what you said about the N7700, it seems like all you need to do is create a share in unraid named nsync and give the user read/write access from the N7700. I think it's CRITICALLY important to find out if it's a "share" or an FTP user that needs to be set up to perform this backup service. Got a link to the docs for us?
January 17, 201016 yr Author It is actually an FTP connection that the N7700 connects to. Nsync You can backup a share folder to another N7700 (Nsync Target) or any FTP server for safe keeping as long as you have appropriate access right on that target. When using Nsync between two N7700s, you have the option to transmit files securely between two N7700s. If the files on your N7700 are lost for any reason, you can restore those files from the target N7700. To backup files regularly, you can set up a scheduled task to run only once, daily, weekly, or monthly. You can also limit the bandwidth of your Nsync tasks, so other users on the network can share the bandwidth equally. I guess to simplify this question, "is it possible to add a root folder under the FTP section of the unRAID?" Currentley you have to FTP into "user" to save files. i would need to ftp directley to "nsync" I think that will solve my problem Thank you for all your help
January 17, 201016 yr (This is incomplete, someone else will have to help in making this a permanent change) Ok, some quick playing around shows that users created in the unraid menu have ftp access. So, in the unraid menus, create a backup user and set a password. Create share named nsync and ensure that your "backup" user can write to it. By default the /etc/vsftpd.conf file has the following line in it: local_root=/mnt if you were to change that to: local_root=/mnt/user and restart the ftp process ... when the backup user logs in through ftp (and with this change EVERY user that logs in) they would be placed in /mnt/user and have access to a directory named nsync (and all other configured shares) that would be stored in your array on whatever disk is configured for that share. I didn't find any quick docs on how to do it on a user by user basis but I'll bet you could, nor do I know how to make this a permanent change on reboot. There might be some other info on these forums that you can mix with what I gave you to make this work. Sorry for the weak instructions but I didn't want to see you try to rename user and end up with a dead array.
February 19, 201016 yr Akira2010, any success here? Did it work? Establishing a safe local root seems like an important consideration for any FTP setup, per-user would be better of course. If these instructions can be confirmed, I think it would be useful to link to them from the FAQ and/or Topical Index.
Archived
This topic is now archived and is closed to further replies.