June 16, 201511 yr Author I have no experience handling BTRFS formatted disks; which mount options are you using to mount this?
June 16, 201511 yr I have no experience handling BTRFS formatted disks; which mount options are you using to mount this? I am not tied to BTRFS, i'll format it to XFS now and try again.
June 16, 201511 yr Formatted with XFS, seems to be working so far. Removed the partition from my thumb drive by accident so we will see how that goes when I reboot. Thanks for your help though.
June 16, 201511 yr Latest update (2015.06.15a) broke my export of USB drive to NFS. It is independent if I check or not 'run script in background'. And manual unmount followed by mount properly exports NFS i.e. script is executed. Tue Jun 16 0:10:34 CDT 2015: Drive found with the following attributes: serial='WD_Elements_10B8_575841314131353253354850-0:0', serial_short='575841314131353253354850', device='/dev/sdk1', part='1', label='Elements', fstype='ntfs', target='', size='2000364240896', used='0', avail='2000364240896', mountpoint='/mnt/disks/wd2t', owner='user', automount='1', shared='1', command='/boot/config/plugins/unassigned.devices/wd2t.sh', command_bg='false' Tue Jun 16 0:10:34 CDT 2015: Adding disk ... Tue Jun 16 0:10:34 CDT 2015: Mounting drive with command: mount -t ntfs -o auto,async,nodev,nosuid,umask=000 '/dev/sdk1' '/mnt/disks/wd2t' Tue Jun 16 0:10:43 CDT 2015: Successfully mounted '/dev/sdk1' on '/mnt/disks/wd2t' Tue Jun 16 0:10:43 CDT 2015: Defining share 'wd2t' on file '/etc/samba/unassigned-shares/wd2t.conf' . Tue Jun 16 0:10:43 CDT 2015: Adding share wd2t to /boot/config/smb-extra.conf Tue Jun 16 0:10:43 CDT 2015: Reloading Samba configuration. Tue Jun 16 0:10:43 CDT 2015: Directory '/mnt/disks/wd2t' shared successfully. Tue Jun 16 0:10:43 CDT 2015: Running command '/boot/config/plugins/unassigned.devices/wd2t.sh' with action 'ADD'. Tue Jun 16 0:10:43 CDT 2015: Disk Elements shared successfully. cat /tmp/WD_Elements_10B8_575841314131353253354850-0\:0.log exporting *:/mnt/disks/wd2t In case you can't figure it out can I revert to the previous code?
June 16, 201511 yr [glow=red,2,300]UPDATE:[/glow] ###2015.06.15 - Revert: run scripts in the backgroud (caused race condition issues) - Add: "Run in background" option to "Edit Script" page - Add: SMB Mounts PeterB, see if this help you. Two out of two success rate - previously was zero out of many. Thank you very much!
June 16, 201511 yr Author Any thoughts on the possible race condition I mentioned earlier? This helped you too, CHBMB ?
June 16, 201511 yr Yep, no issues here, although need a few more reboots to check... Problem is, with the release of V6 and the mediabuilds done, I probably won't be rebooting quite as often.. gfjardim - Whilst I'm here, can you have a look here and check you're happy with this, if you would rather I remove it then that's fine, I'll rewrite the wiki to just do it manually.
June 16, 201511 yr Author Yep, no issues here, although need a few more reboots to check... Problem is, with the release of V6 and the mediabuilds done, I probably won't be rebooting quite as often.. gfjardim - Whilst I'm here, can you have a look here and check you're happy with this, if you would rather I remove it then that's fine, I'll rewrite the wiki to just do it manually. I'm glad you put it in there. I don't like to keep toys to myself!
June 16, 201511 yr Yep, no issues here, although need a few more reboots to check... Problem is, with the release of V6 and the mediabuilds done, I probably won't be rebooting quite as often.. gfjardim - Whilst I'm here, can you have a look here and check you're happy with this, if you would rather I remove it then that's fine, I'll rewrite the wiki to just do it manually. I'm glad you put it in there. I don't like to keep toys to myself! Thanks, just wanted to check, I could kiss you for that script, Has made my life so much easier, you got one that makes coffee?
June 16, 201511 yr Woah - just upgraded my Backup Server with the new v6 stable and also did my plugins as well. Then I noticed the SMB mount section - which clearly is a result of this wonderful plugin! Wanted to say what a great job is being done to enhance this product by the community .... http://lime-technology.com/forum/index.php?topic=40690.msg384504#msg384504
June 16, 201511 yr Author Woah - just upgraded my Backup Server with the new v6 stable and also did my plugins as well. Then I noticed the SMB mount section - which clearly is a result of this wonderful plugin! Wanted to say what a great job is being done to enhance this product by the community .... http://lime-technology.com/forum/index.php?topic=40690.msg384504#msg384504 I need feedback on this new feature. Please let me know if you encounter any bug.
June 16, 201511 yr Woah - just upgraded my Backup Server with the new v6 stable and also did my plugins as well. Then I noticed the SMB mount section - which clearly is a result of this wonderful plugin! Wanted to say what a great job is being done to enhance this product by the community .... http://lime-technology.com/forum/index.php?topic=40690.msg384504#msg384504 I need feedback on this new feature. Please let me know if you encounter any bug. I am happy to contribute. This feature has made me think that I don't need to be using a Windows VM running Sync-Back as my backup solution. I am going to try using the mount created by this feature as part of an rsync backup solution. Going to give it a go this weekend! Love it!
June 16, 201511 yr Woah - just upgraded my Backup Server with the new v6 stable and also did my plugins as well. Then I noticed the SMB mount section - which clearly is a result of this wonderful plugin! Wanted to say what a great job is being done to enhance this product by the community .... http://lime-technology.com/forum/index.php?topic=40690.msg384504#msg384504 I need feedback on this new feature. Please let me know if you encounter any bug. First bit of feedback: From my Backup Server I mounted the "nas" share on my Main Server. Notice that it did not grab the Size, Used or Free variables. See screenshot.
June 16, 201511 yr Author Latest update (2015.06.15a) broke my export of USB drive to NFS. It is independent if I check or not 'run script in background'. And manual unmount followed by mount properly exports NFS i.e. script is executed. I have no idea why it's working erratically. I didn't changed anything that could break it.
June 16, 201511 yr Author First bit of feedback: From my Backup Server I mounted the "nas" share on my Main Server. Notice that it did not grab the Size, Used or Free variables. See screenshot. It will only appear when you mount it.
June 16, 201511 yr First bit of feedback: From my Backup Server I mounted the "nas" share on my Main Server. Notice that it did not grab the Size, Used or Free variables. See screenshot. It will only appear when you mount it. What a knob. I forgot the first time I have to click mount. Working perfect.
June 16, 201511 yr Author What a knob. I forgot the first time I have to click mount. Working perfect. Using user/password? The Add SMB Mount popup worked fine?
June 16, 201511 yr What a knob. I forgot the first time I have to click mount. Working perfect. Using user/password? The Add SMB Mount popup worked fine? Nah - I don't use userid and passwords for shares on my servers so I didn't enter anything into the credentials fields. But it worked fine without. EDIT: Here is a screenshot of the popup working great (without userids and passwords) on Safari Version 8.0.6 (10600.6.3) on Yosemite.
June 16, 201511 yr Also, love the fact that even though I have both servers mapped to each other .... Main mapped to \\backup\nas and Backup mapped to \\main\nas This didn't stop either server un mounting all drives and stopping the array! ALSO - when my Backup Server started before my Main Server (stupid Supermicro board takes forever to post and boot) there was no noticeable lag in startup time when I started the array even though it clearly couldn't find the Main share to mount. Happy so far!
June 16, 201511 yr Just had an idea - and by no means is this a criticism because this is just great - but was looking at the GUI and in the same way that the Unassigned device has "Open Files" maybe the SMB share section could integrate with the part of Unraid / Plugin that shows "Active Streams"? Just a thought. EDIT: OoooOoooo: maybe also browse buttons at the end of the row on both Unassigned devices and SMB Shares sections too. Make it uniform with the rest. Let the user quickly browse whats on each.
June 16, 201511 yr Author Just had an idea - and by no means is this a criticism because this is just great - but was looking at the GUI and in the same way that the Unassigned device has "Open Files" maybe the SMB share section could integrate with the part of Unraid / Plugin that shows "Active Streams"? Just a thought. You want the Open Files field (streams are relevant only if it's serving a share, not mounting it). There's space, so I can add it. EDIT: OoooOoooo: maybe also browse buttons at the end of the row on both Unassigned devices and SMB Shares sections too. Make it uniform with the rest. Let the user quickly browse whats on each. This is not feasible for drives, since some drives have multiple partitions, all hidden until you click on the serial number. If mounted, the mountpoint will open the file browser.
June 16, 201511 yr Just had an idea - and by no means is this a criticism because this is just great - but was looking at the GUI and in the same way that the Unassigned device has "Open Files" maybe the SMB share section could integrate with the part of Unraid / Plugin that shows "Active Streams"? Just a thought. You want the Open Files field (streams are relevant only if it's serving a share, not mounting it). There's space, so I can add it. EDIT: OoooOoooo: maybe also browse buttons at the end of the row on both Unassigned devices and SMB Shares sections too. Make it uniform with the rest. Let the user quickly browse whats on each. This is not feasible for drives, since some drives have multiple partitions, all hidden until you click on the serial number. If mounted, the mountpoint will open the file browser. Thanks for the open files feature. Ahhh - makes sense about the drives. I was just thinking out loud anyway!
June 16, 201511 yr See example of drives over 2TB reported as 2.2TB here: http://lime-technology.com/forum/index.php?topic=39985.msg384629#msg384629
June 16, 201511 yr Author A newly installed WD30EFRX is only being reported as having 2.2TB capacity. Now I want to nail this. Does df -h show the right size? Out of town for the weekend. Will let you know asap. Only waiting for you.... [emoji28]
June 16, 201511 yr The "Rescan Disks" and "Refresh" buttons run into each other when I am using my laptop to RDP into my Windows VM to look at the server.
Archived
This topic is now archived and is closed to further replies.