dlandon Posted November 25, 2013 Author Share Posted November 25, 2013 Can I share a drive with NFS or does it only work with SMB? SMB only. Quote Link to comment
lewcass Posted November 26, 2013 Share Posted November 26, 2013 Can a hotPlugAfterShareEvent be triggered for a SNAP share drive being hot-plugged into a regular SATA port (that supports hot-swapping) or must it be an eSATA port? Quote Link to comment
Kryspy Posted November 26, 2013 Share Posted November 26, 2013 Will this mount disks formatted as ext 4? Kryspy Quote Link to comment
dlandon Posted November 27, 2013 Author Share Posted November 27, 2013 Can a hotPlugAfterShareEvent be triggered for a SNAP share drive being hot-plugged into a regular SATA port (that supports hot-swapping) or must it be an eSATA port? I don't think UnRAID supports hot plugging sata devices. Quote Link to comment
dlandon Posted November 27, 2013 Author Share Posted November 27, 2013 Will this mount disks formatted as ext 4? Kryspy No. Quote Link to comment
jumperalex Posted November 27, 2013 Share Posted November 27, 2013 It wont? That is odd. I used the go script to mount my ssd which is formatted as ext4 so I know it is technically possible @Kryspy Here a link to directions for you http://lime-technology.com/forum/index.php?topic=14803.msg268317#msg268317 Quote Link to comment
dlandon Posted November 27, 2013 Author Share Posted November 27, 2013 It wont? That is odd. I used the go script to mount my ssd which is formatted as ext4 so I know it is technically possible @Kryspy Here a link to directions for you http://lime-technology.com/forum/index.php?topic=14803.msg268317#msg268317 It may be technically possible, but SNAP doesn't mount an ext4 partition at this time. Quote Link to comment
lewcass Posted November 27, 2013 Share Posted November 27, 2013 Can a hotPlugAfterShareEvent be triggered for a SNAP share drive being hot-plugged into a regular SATA port (that supports hot-swapping) or must it be an eSATA port? I don't think UnRAID supports hot plugging sata devices. Well it's interesting. Because it seems unRAID sort of does (though perhaps not totally). I forgot when I upgraded my motherboard that SNAP hot-plug events were specified for only USB and eSATA. I just assumed that because the BIOS in my new board supports hot-plugging that I could connect the dock in my case to a regular SATA port and it would work the same, with SNAP still triggering an event. What I've actually found is that the drives do hot plug OK. That is, I can mount and share them with your SNAP GUI just fine. But so far I'm unable to get SNAP to do it automatically with a hotPlugAfterShareEvent. What I'm wondering now, as the drives do work when hot-plugged to a regular (non-e) SATA port, is if it may be possible to modify SNAP to fully support them? Quote Link to comment
Kryspy Posted December 3, 2013 Share Posted December 3, 2013 jumperalex, Thanks worked just fine. Kryspy Quote Link to comment
shimon88 Posted December 5, 2013 Share Posted December 5, 2013 hi guys, is it possible to copy files from a snap share/drive to an unraid share periodically on the unraid box itself? like some sort of protected backup? i know i can use the midnight commander but i want something automated... i hope it's possible thanks for your help shimon Quote Link to comment
dlandon Posted December 5, 2013 Author Share Posted December 5, 2013 hi guys, is it possible to copy files from a snap share/drive to an unraid share periodically on the unraid box itself? like some sort of protected backup? i know i can use the midnight commander but i want something automated... i hope it's possible thanks for your help shimon Yes it is. I have a script that runs daily to backup some unRAID files to a backup drive. You can use the same idea to copy files to the unRAID array. This is what my script looks like. # # Perform daily backups. # LOGFILE=/var/log/DailyBackups MOUNTPOINT=/mnt/disk/DailyBackups PROG_NAME=DailyBackup logger Started -t$PROG_NAME echo "Started" > $LOGFILE if [ -d $MOUNTPOINT ] then logger Daily Backup Drive Mounted -t$PROG_NAME echo "Daily Backup Drive Mounted" > $LOGFILE else # Mount the DailyBackups drive /boot/config/plugins/snap/snap.sh -m DailyBackups fi if [ -d $MOUNTPOINT ] then logger Music share -t$PROG_NAME echo "Music share" >> $LOGFILE rsync -a -v --delete /mnt/user/Music $MOUNTPOINT/ 2>&1 >> $LOGFILE logger Log File - DailyBackups -t$PROG_NAME logger Completed -t$PROG_NAME echo "Completed" >> $LOGFILE /boot/config/plugins/snap/snap.sh -MW DailyBackups else logger Daily Backup Drive Not Mounted -t$PROG_NAME echo "Daily Backup Drive Not Mounted" > $LOGFILE fi I have the following line in my go file to copy the script to the daily cron directory. cp /boot/custom/DailyBackups /etc/cron.daily Quote Link to comment
Fuddster Posted December 5, 2013 Share Posted December 5, 2013 hello everyone. i installed the plugin today and everything went totally fine! I can accsess the shared folder and all but there is a problem im having with permissions and ownership of the new mounted drive. the drive is set to read only and the owner is root: I want to use the snap mounted HDD as Apps folder for SabNzbd and Sickbeard n such, but every chown or chmod command via telnet is not working. please can anyboy help me out? its driving me insane.... THX PS im using these ... chmod -R 777 /mnt/disk for rw perms and chown -R nobody:users /mnt/disk for owner Quote Link to comment
Fireball3 Posted December 5, 2013 Share Posted December 5, 2013 You have to install the ntfs-3g driver. The stock ntfs driver is read-only You can easily install the driver from the unMENU (if installed). Or search the forum for a standalone version. Quote Link to comment
Fuddster Posted December 5, 2013 Share Posted December 5, 2013 sorry: not working: I didnt mention my FileSystem of the disk. it is ext2. I installed the Ntfs-3g and tried to chmod and chown but no luck.... still the same ! i will format my drive to NTFS to test and check back here a little later! Thank u so much for the quick help! Quote Link to comment
shimon88 Posted December 7, 2013 Share Posted December 7, 2013 hi guys, is it possible to copy files from a snap share/drive to an unraid share periodically on the unraid box itself? like some sort of protected backup? i know i can use the midnight commander but i want something automated... i hope it's possible thanks for your help shimon Yes it is. I have a script that runs daily to backup some unRAID files to a backup drive. You can use the same idea to copy files to the unRAID array. This is what my script looks like. # # Perform daily backups. # LOGFILE=/var/log/DailyBackups MOUNTPOINT=/mnt/disk/DailyBackups PROG_NAME=DailyBackup logger Started -t$PROG_NAME echo "Started" > $LOGFILE if [ -d $MOUNTPOINT ] then logger Daily Backup Drive Mounted -t$PROG_NAME echo "Daily Backup Drive Mounted" > $LOGFILE else # Mount the DailyBackups drive /boot/config/plugins/snap/snap.sh -m DailyBackups fi if [ -d $MOUNTPOINT ] then logger Music share -t$PROG_NAME echo "Music share" >> $LOGFILE rsync -a -v --delete /mnt/user/Music $MOUNTPOINT/ 2>&1 >> $LOGFILE logger Log File - DailyBackups -t$PROG_NAME logger Completed -t$PROG_NAME echo "Completed" >> $LOGFILE /boot/config/plugins/snap/snap.sh -MW DailyBackups else logger Daily Backup Drive Not Mounted -t$PROG_NAME echo "Daily Backup Drive Not Mounted" > $LOGFILE fi I have the following line in my go file to copy the script to the daily cron directory. cp /boot/custom/DailyBackups /etc/cron.daily thanks for your reply! i hope it not too much to ask for more details, like where to insert the script? and what to configure for this script to work... hope for your support shimon Quote Link to comment
shimon88 Posted December 7, 2013 Share Posted December 7, 2013 hi guys, is it possible to copy files from a snap share/drive to an unraid share periodically on the unraid box itself? like some sort of protected backup? i know i can use the midnight commander but i want something automated... i hope it's possible thanks for your help shimon Yes it is. I have a script that runs daily to backup some unRAID files to a backup drive. You can use the same idea to copy files to the unRAID array. This is what my script looks like. # # Perform daily backups. # LOGFILE=/var/log/DailyBackups MOUNTPOINT=/mnt/disk/DailyBackups PROG_NAME=DailyBackup logger Started -t$PROG_NAME echo "Started" > $LOGFILE if [ -d $MOUNTPOINT ] then logger Daily Backup Drive Mounted -t$PROG_NAME echo "Daily Backup Drive Mounted" > $LOGFILE else # Mount the DailyBackups drive /boot/config/plugins/snap/snap.sh -m DailyBackups fi if [ -d $MOUNTPOINT ] then logger Music share -t$PROG_NAME echo "Music share" >> $LOGFILE rsync -a -v --delete /mnt/user/Music $MOUNTPOINT/ 2>&1 >> $LOGFILE logger Log File - DailyBackups -t$PROG_NAME logger Completed -t$PROG_NAME echo "Completed" >> $LOGFILE /boot/config/plugins/snap/snap.sh -MW DailyBackups else logger Daily Backup Drive Not Mounted -t$PROG_NAME echo "Daily Backup Drive Not Mounted" > $LOGFILE fi I have the following line in my go file to copy the script to the daily cron directory. cp /boot/custom/DailyBackups /etc/cron.daily thanks for your reply! i hope it not too much to ask for more details, like where to insert the script? and what to configure for this script to work... hope for your support shimon Quote Link to comment
breakline Posted December 8, 2013 Share Posted December 8, 2013 omg ! thank you sooo much for updating this one of the most important plugins to me, good work. Quote Link to comment
dlandon Posted December 8, 2013 Author Share Posted December 8, 2013 hi guys, is it possible to copy files from a snap share/drive to an unraid share periodically on the unraid box itself? like some sort of protected backup? i know i can use the midnight commander but i want something automated... i hope it's possible thanks for your help shimon Yes it is. I have a script that runs daily to backup some unRAID files to a backup drive. You can use the same idea to copy files to the unRAID array. This is what my script looks like. # # Perform daily backups. # LOGFILE=/var/log/DailyBackups MOUNTPOINT=/mnt/disk/DailyBackups PROG_NAME=DailyBackup logger Started -t$PROG_NAME echo "Started" > $LOGFILE if [ -d $MOUNTPOINT ] then logger Daily Backup Drive Mounted -t$PROG_NAME echo "Daily Backup Drive Mounted" > $LOGFILE else # Mount the DailyBackups drive /boot/config/plugins/snap/snap.sh -m DailyBackups fi if [ -d $MOUNTPOINT ] then logger Music share -t$PROG_NAME echo "Music share" >> $LOGFILE rsync -a -v --delete /mnt/user/Music $MOUNTPOINT/ 2>&1 >> $LOGFILE logger Log File - DailyBackups -t$PROG_NAME logger Completed -t$PROG_NAME echo "Completed" >> $LOGFILE /boot/config/plugins/snap/snap.sh -MW DailyBackups else logger Daily Backup Drive Not Mounted -t$PROG_NAME echo "Daily Backup Drive Not Mounted" > $LOGFILE fi I have the following line in my go file to copy the script to the daily cron directory. cp /boot/custom/DailyBackups /etc/cron.daily thanks for your reply! i hope it not too much to ask for more details, like where to insert the script? and what to configure for this script to work... hope for your support shimon There is really nothing to configure. Edit the script for your needs. The script should be on the flash drive. I put it in the /boot/custom/ directory and copy it to the /etc/cron.daily directory when unRAID is started with this line in the go script: cp /boot/custom/DailyBackups /etc/cron.daily unRAID executes the script once a day. Quote Link to comment
Kryspy Posted December 8, 2013 Share Posted December 8, 2013 I just setup bit torrent sync. Iy is perfect if you have another computer to backup to that you can install btsync onto. Kryspy Quote Link to comment
shimon88 Posted December 8, 2013 Share Posted December 8, 2013 hi guys, is it possible to copy files from a snap share/drive to an unraid share periodically on the unraid box itself? like some sort of protected backup? i know i can use the midnight commander but i want something automated... i hope it's possible thanks for your help shimon Yes it is. I have a script that runs daily to backup some unRAID files to a backup drive. You can use the same idea to copy files to the unRAID array. This is what my script looks like. # # Perform daily backups. # LOGFILE=/var/log/DailyBackups MOUNTPOINT=/mnt/disk/DailyBackups PROG_NAME=DailyBackup logger Started -t$PROG_NAME echo "Started" > $LOGFILE if [ -d $MOUNTPOINT ] then logger Daily Backup Drive Mounted -t$PROG_NAME echo "Daily Backup Drive Mounted" > $LOGFILE else # Mount the DailyBackups drive /boot/config/plugins/snap/snap.sh -m DailyBackups fi if [ -d $MOUNTPOINT ] then logger Music share -t$PROG_NAME echo "Music share" >> $LOGFILE rsync -a -v --delete /mnt/user/Music $MOUNTPOINT/ 2>&1 >> $LOGFILE logger Log File - DailyBackups -t$PROG_NAME logger Completed -t$PROG_NAME echo "Completed" >> $LOGFILE /boot/config/plugins/snap/snap.sh -MW DailyBackups else logger Daily Backup Drive Not Mounted -t$PROG_NAME echo "Daily Backup Drive Not Mounted" > $LOGFILE fi I have the following line in my go file to copy the script to the daily cron directory. cp /boot/custom/DailyBackups /etc/cron.daily thanks for your reply! i hope it not too much to ask for more details, like where to insert the script? and what to configure for this script to work... hope for your support shimon There is really nothing to configure. Edit the script for your needs. The script should be on the flash drive. I put it in the /boot/custom/ directory and copy it to the /etc/cron.daily directory when unRAID is started with this line in the go script: cp /boot/custom/DailyBackups /etc/cron.daily unRAID executes the script once a day. sorry, but i dont know what file to edit or put the script in... what is the go script you talk about? i'm noob in linux and unraid plugins... thanks for your patience Quote Link to comment
DaleWilliams Posted December 8, 2013 Share Posted December 8, 2013 what is the go script you talk about? Its on the FLASH drive, in the CONFIG folder, its called, 'go'. (not the go-safe file). From your PC, be sure to use one of the free editors that is compatible with Linux scripting. http://lime-technology.com/wiki/index.php/UnRAID_Topical_Index#Editors (On my Mac, I use Textmate, 'notepad2' seems to be popular on PC's. ) (There's also an editor builtin to the unraid box console. Login and type in MC (for Midnight Commander) to get to a file browser. You'll see the editor function key on the bottom. The path you want to follow is /boot/config/ and then down to the 'go' file.) Quote Link to comment
dlandon Posted December 18, 2013 Author Share Posted December 18, 2013 If you want to mount a SNAP drive to use with a plugin, add the following to your go file: /boot/config/plugins/snap/snap.sh -m ShareName If you want to mount and share a SNAP drive, add the following to your go file: /boot/config/plugins/snap/snap.sh -ms ShareName "ShareName" is the share name you have assigned to the drive. This will mount the SNAP drive before the plugins start. Quote Link to comment
Fireball3 Posted December 19, 2013 Share Posted December 19, 2013 Which file systems are mounted by SNAP at the moment? Will there be an upgrade to support more? Quote Link to comment
dlandon Posted December 19, 2013 Author Share Posted December 19, 2013 Which file systems are mounted by SNAP at the moment? reiserfs, ntfs, vfat, msdos, ext2, ext3, and hfsplus. Will there be an upgrade to support more? No plans at this time. Quote Link to comment
grimm2000 Posted December 21, 2013 Share Posted December 21, 2013 I installed SNAP ver 5.19 with no issues on my new Unraid server Version 5.0.4. Everything installed without a hitch, but when I try to access the directories on the mounted drive using snap I am getting denied permission to the drive. I have read and reread the posts but I can't seem for the life of me to see where this was addressed when I know it was. I gave up reading and decided to post this to see if there was a simple solution. I am attaching a screen shot of the SNAP Shares and the error I get through my Windows machine. Thanks and I hope I can get this to work. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.