dlandon Posted January 11, 2014 Author Share Posted January 11, 2014 I can't get snap to work. I see it in my web gui but it doesn't show my usb drives. How do I mount them? I didn't see a tutorial or anything and most my searches show old versions. Be sure you don't have an older version of SNAP. Do any drives show in the SNAP page? To mount, Right click on a drive in the SNAP Page and you'll see the options. Quote Link to comment
Fireball3 Posted January 14, 2014 Share Posted January 14, 2014 I can't get snap to work. I see it in my web gui but it doesn't show my usb drives. How do I mount them? I didn't see a tutorial or anything and most my searches show old versions. Be sure you don't have an older version of SNAP. Do any drives show in the SNAP page? To mount, Right click on a drive in the SNAP Page and you'll see the options. Also make sure that your filesystem on that drive is supported by SNAP! Quote Link to comment
master.h Posted January 21, 2014 Share Posted January 21, 2014 I just installed SNAP today on unRAID 5.0.4, and everything seems to be working fine. I have an external USB enclosure with a 320GB drive in it that I use to back up new TV shows for my parents (and an identical one for my sister, but obviously different SN on the drive). I got SNAP configured and it is working 100% for the first USB drive. I then plugged in my second drive, and SNAP seemed to see it as the exact same drive. Once I plugged in the second drive, it immediately started running the copy code in the hotPlugAfterShareEvent.sh file; I didn't even have a chance to configure the second drive. Let me know if I need to provide additional information. Quote Link to comment
dlandon Posted January 21, 2014 Author Share Posted January 21, 2014 I just installed SNAP today on unRAID 5.0.4, and everything seems to be working fine. I have an external USB enclosure with a 320GB drive in it that I use to back up new TV shows for my parents (and an identical one for my sister, but obviously different SN on the drive). I got SNAP configured and it is working 100% for the first USB drive. I then plugged in my second drive, and SNAP seemed to see it as the exact same drive. Once I plugged in the second drive, it immediately started running the copy code in the hotPlugAfterShareEvent.sh file; I didn't even have a chance to configure the second drive. Let me know if I need to provide additional information. Sounds like your hottPlugAfterShareEvent.sh script is not set up properly and all hotplug events are executing the same code. Watch the case syntax. Put a debug log statement in the script to see if the code is being executed on all hotplug events. Quote Link to comment
master.h Posted January 21, 2014 Share Posted January 21, 2014 Sounds like your hottPlugAfterShareEvent.sh script is not set up properly and all hotplug events are executing the same code. Watch the case syntax. Put a debug log statement in the script to see if the code is being executed on all hotplug events. After doing a bit of poking around, I think it's actually the external enclosure. There's a thread about a MicroSD USB adapter that some folks use in place of a flash drive for booting their system. The newer model doesn't generate a unique GUID for each different MicroSD, but the older model does. I'm thinking this is a similar issue... the external enclosures I have, for some reason, don't pass the SN of the drive itself through to unRAID. It looks like the enclosures have the same SN on them, or at least whatever gets passed to unRAID is the same (if that makes sense; I could be wrong). As far as the script goes, I did the same as zarfx4, just replaced "Lexar" with my own share name and pointed it to a different folder for the rsync. I've got another enclosure on order; if I remember, I'll update this thread with results. Thanks for the quick reply! Quote Link to comment
dlandon Posted January 21, 2014 Author Share Posted January 21, 2014 Sounds like your hottPlugAfterShareEvent.sh script is not set up properly and all hotplug events are executing the same code. Watch the case syntax. Put a debug log statement in the script to see if the code is being executed on all hotplug events. After doing a bit of poking around, I think it's actually the external enclosure. There's a thread about a MicroSD USB adapter that some folks use in place of a flash drive for booting their system. The newer model doesn't generate a unique GUID for each different MicroSD, but the older model does. I'm thinking this is a similar issue... the external enclosures I have, for some reason, don't pass the SN of the drive itself through to unRAID. It looks like the enclosures have the same SN on them, or at least whatever gets passed to unRAID is the same (if that makes sense; I could be wrong). As far as the script goes, I did the same as zarfx4, just replaced "Lexar" with my own share name and pointed it to a different folder for the rsync. I've got another enclosure on order; if I remember, I'll update this thread with results. Thanks for the quick reply! That would do it. SNAP relies on unique serial numbers. Quote Link to comment
master.h Posted January 24, 2014 Share Posted January 24, 2014 Sure enough, the problem was the two same enclosures. Got a different brand in today, and SNAP sees both drives separately, as it should. Quote Link to comment
dlandon Posted January 24, 2014 Author Share Posted January 24, 2014 I have SNAP working on unRAID v6, but I am having a problem with an interaction with apcupsd on shutdown after a drive has been mounted. I'll post the v6 SNAP plugin once I have resolved the issue. Quote Link to comment
leojay Posted January 30, 2014 Share Posted January 30, 2014 Is there any way to change the ownership of the mounted drives? I've tried the usual "chown" but it doesn't seem to do anything, no matter what I do all files and folders stay as the default root:root ownership. I can't get plugins to run on the drive (i.e. data directories) unless I modify their scripts to run using root, which is a pain when every time the server is rebooted the plugins reinstall themselves making me have to do the whole process again Quote Link to comment
dlandon Posted January 30, 2014 Author Share Posted January 30, 2014 Is there any way to change the ownership of the mounted drives? I've tried the usual "chown" but it doesn't seem to do anything, no matter what I do all files and folders stay as the default root:root ownership. I can't get plugins to run on the drive (i.e. data directories) unless I modify their scripts to run using root, which is a pain when every time the server is rebooted the plugins reinstall themselves making me have to do the whole process again What format is the drive partition? Quote Link to comment
leojay Posted January 30, 2014 Share Posted January 30, 2014 Is there any way to change the ownership of the mounted drives? I've tried the usual "chown" but it doesn't seem to do anything, no matter what I do all files and folders stay as the default root:root ownership. I can't get plugins to run on the drive (i.e. data directories) unless I modify their scripts to run using root, which is a pain when every time the server is rebooted the plugins reinstall themselves making me have to do the whole process again What format is the drive partition? It used to be vFat but I just recently formatted it to NTFS hoping it'd fix the problem under the assumption you can't change file permissions in vFat. I've downloaded and installed the ntfs-3g plugin too, btw. Quote Link to comment
dlandon Posted January 30, 2014 Author Share Posted January 30, 2014 Is there any way to change the ownership of the mounted drives? I've tried the usual "chown" but it doesn't seem to do anything, no matter what I do all files and folders stay as the default root:root ownership. I can't get plugins to run on the drive (i.e. data directories) unless I modify their scripts to run using root, which is a pain when every time the server is rebooted the plugins reinstall themselves making me have to do the whole process again What format is the drive partition? It used to be vFat but I just recently formatted it to NTFS hoping it'd fix the problem under the assumption you can't change file permissions in vFat. I've downloaded and installed the ntfs-3g plugin too, btw. The ntfs-3g driver has some advanced feature limitations. You might be better off with the partition formatted reiserfs. This would give you full control over permissions and may alleviate the permission problem you are experiencing with the plugin. Quote Link to comment
dlandon Posted February 2, 2014 Author Share Posted February 2, 2014 A new version of SNAP is available with an updated jQuery. Fixed some php errors that would show up in the Dynamix php error log. Quote Link to comment
dlandon Posted February 6, 2014 Author Share Posted February 6, 2014 As before, it shows no drives at all. The newest version of SNAP includes updated jQuery and will probably solve this problem. The newer jQuery supports the newer browsers. SNAP was using an older version of jQuery. Quote Link to comment
dlandon Posted February 17, 2014 Author Share Posted February 17, 2014 A new version of SNAP is available. USB drives were not recognized by SNAP as hot plugged on unRAID V6. SNAP was modified to fix this issue, and one of the benefits is that any hot pluggable drive should now be recognized by SNAP. SNAP depends on unRAID to recognize the drive when hot plugged. Quote Link to comment
dlandon Posted March 2, 2014 Author Share Posted March 2, 2014 SNAP Version 5.26 is available. SNAP will now adjust to the white/black theme of Dynamix. Quote Link to comment
hernandito Posted March 3, 2014 Share Posted March 3, 2014 Thank Dlandon for this plugin! I did an upgrade to the plugin and it does not look like its working correctly. My interface changed to this... I no longer see the list of hard drives (including array drives). I do not use Dynamix's Web interface. If its not meant to work without Dynamix Web Plugin, can I go back to the earlier version? Many thanks, Hernando Quote Link to comment
dlandon Posted March 3, 2014 Author Share Posted March 3, 2014 Thank Dlandon for this plugin! I did an upgrade to the plugin and it does not look like its working correctly. My interface changed to this... I no longer see the list of hard drives (including array drives). I do not use Dynamix's Web interface. If its not meant to work without Dynamix Web Plugin, can I go back to the earlier version? Many thanks, Hernando Clear your browser cache. Quote Link to comment
mygoogoo Posted March 3, 2014 Share Posted March 3, 2014 I have the same problem as hernandito. Clearing the browser cache does nothing in my case. Quote Link to comment
hernandito Posted March 3, 2014 Share Posted March 3, 2014 Thank Dlandon for this plugin! I did an upgrade to the plugin and it does not look like its working correctly. My interface changed to this... I no longer see the list of hard drives (including array drives). I do not use Dynamix's Web interface. If its not meant to work without Dynamix Web Plugin, can I go back to the earlier version? Many thanks, Hernando Clear your browser cache. Thank you. Unfortunately, no luck. I cleared my cache in Chrome. I also tried it in Firefox, Chrome, and IE; and I get the same screen as above. In addition, I also erase the plg and folder from the /boot/config/plugins folder. I re-installed it w/ the wget command and I rebooted the unRAID server. Sadly I get the same thing. Any help or advice is greatly appreciated. Or even just getting the older version of the plugin would be a huge help. Thanks, H. Quote Link to comment
mygoogoo Posted March 3, 2014 Share Posted March 3, 2014 I've removed SNAP, reboot, reinstalled with same result. Used several different browsers with the same result. Removed. Quote Link to comment
dlandon Posted March 3, 2014 Author Share Posted March 3, 2014 I've removed SNAP, reboot, reinstalled with same result. Used several different browsers with the same result. Removed. I'll check it on my test machine and see what is going on. There are different style sheets and it looks like it can't find the one it needs for 5.x. Quote Link to comment
dlandon Posted March 4, 2014 Author Share Posted March 4, 2014 Thank Dlandon for this plugin! I did an upgrade to the plugin and it does not look like its working correctly. My interface changed to this... I no longer see the list of hard drives (including array drives). I do not use Dynamix's Web interface. If its not meant to work without Dynamix Web Plugin, can I go back to the earlier version? Many thanks, Hernando Clear your browser cache. Thank you. Unfortunately, no luck. I cleared my cache in Chrome. I also tried it in Firefox, Chrome, and IE; and I get the same screen as above. In addition, I also erase the plg and folder from the /boot/config/plugins folder. I re-installed it w/ the wget command and I rebooted the unRAID server. Sadly I get the same thing. Any help or advice is greatly appreciated. Or even just getting the older version of the plugin would be a huge help. Thanks, H. Ok. It's fixed. Reinstall SNAP and it will solve the problem. Quote Link to comment
hernandito Posted March 4, 2014 Share Posted March 4, 2014 Ok. It's fixed. Reinstall SNAP and it will solve the problem. Now it works perfectly.... thank you so very much! Quote Link to comment
mygoogoo Posted March 5, 2014 Share Posted March 5, 2014 Works Great!! Thank you! 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.