gfjardim Posted June 19, 2015 Author Share Posted June 19, 2015 Nice and awesome plugin for unRAID ! gfjardim : did you think about the possibility to mount/umount disk images ? (like docker.img for example !) In my case I have a plex.img (xfs format) mount in /var/lib/plex, and my docker for plex use it (actually, I need to manually mount my image before starting my plex docker) It will be more awesome to have a third option 'Custom mounts' in your plugin Not in my plans, but one can always fork/pull request at GitHub. Link to comment
sadkisson Posted June 20, 2015 Share Posted June 20, 2015 Can unassigned devices mount a dvd rom? I can see the drive but when attempting to mount the page brings up a spinning icon and then comes back with no change. Link to comment
trurl Posted June 21, 2015 Share Posted June 21, 2015 Can unassigned devices mount a dvd rom? I can see the drive but when attempting to mount the page brings up a spinning icon and then comes back with no change. unRAID has no DVD drivers Link to comment
sadkisson Posted June 21, 2015 Share Posted June 21, 2015 Can unassigned devices mount a dvd rom? I can see the drive but when attempting to mount the page brings up a spinning icon and then comes back with no change. unRAID has no DVD drivers What exactly does that mean? I can manually mount the DVD from ssh issuing 'mount /dev/sr0 /media' and see the contents of the drive. Link to comment
mikedpitt420 Posted June 23, 2015 Share Posted June 23, 2015 Am I able to use this plugin to both : 1. Store an ISO to load in KVM 2. Map a path to an outside of the array disk, that will be a share used inside of the vm? If I were to use this plugin to mount an out of the array disk to say /mnt/udevdisk, So for the enclosed picture: I would like "OS Install ISO" to be /mnt/udevdisk/Mythbuntu14.04.ISO vDisk location would remain the same : /mnt/cache/MythBuntuVM/vdisk1.img for "Unraid Share" would I able to use: /mnt/udevdisk/recordings to map to "/recordings" inside the vm? I don't believe I need any scripts for this would I? Only this plugin mounting the out of array disk to /mnt/udevdisk and both of these things would be possible correct? Link to comment
MyKroFt Posted June 23, 2015 Share Posted June 23, 2015 This is what I do with my SSD outside of my array for the docker image, docker settings, and VM images. It is mounted just before the docker/vm are started, and unmounted just after they are stopped. Works perfect for me Myk Link to comment
mikedpitt420 Posted June 23, 2015 Share Posted June 23, 2015 Wonderful to hear. Thanks very much! Link to comment
Monkeyair Posted June 23, 2015 Share Posted June 23, 2015 I'm using your plugin to mount a HDD outside of the array to use as storage for TV recordings and Timeshift from TVHeadend. All has gone well so far, with the disk showing under unassigned devices and I am able to access it through explorer. I have set the default script. I am trying to resolve an issue with its use now. For some reason my recordings are not making it to the HDD. I'm not sure if this is TVHeadend related or Plugin related. Could you please give me a steer as to the correct script that I should be using, or any settings that I may have missed to enable the HDD's use outside of my array? Thanks Link to comment
Monkeyair Posted June 23, 2015 Share Posted June 23, 2015 I'm using your plugin to mount a HDD outside of the array to use as storage for TV recordings and Timeshift from TVHeadend. All has gone well so far, with the disk showing under unassigned devices and I am able to access it through explorer. I have set the default script. I am trying to resolve an issue with its use now. For some reason my recordings are not making it to the HDD. I'm not sure if this is TVHeadend related or Plugin related. Could you please give me a steer as to the correct script that I should be using, or any settings that I may have missed to enable the HDD's use outside of my array? Thanks This is from TVheadend log, I think that it's related to permissions: Unable to create dir "/recordings/This Is BBC Four": Permission denied Link to comment
saarg Posted June 23, 2015 Share Posted June 23, 2015 I'm using your plugin to mount a HDD outside of the array to use as storage for TV recordings and Timeshift from TVHeadend. All has gone well so far, with the disk showing under unassigned devices and I am able to access it through explorer. I have set the default script. I am trying to resolve an issue with its use now. For some reason my recordings are not making it to the HDD. I'm not sure if this is TVHeadend related or Plugin related. Could you please give me a steer as to the correct script that I should be using, or any settings that I may have missed to enable the HDD's use outside of my array? Thanks This is from TVheadend log, I think that it's related to permissions: Unable to create dir "/recordings/This Is BBC Four": Permission denied Who is the owner of the recordings folder on the HDD? As far as I know this plugin only mounts the disk, so it has to be wrong permissions set on the folder created on the HDD. Link to comment
Monkeyair Posted June 23, 2015 Share Posted June 23, 2015 I'm using your plugin to mount a HDD outside of the array to use as storage for TV recordings and Timeshift from TVHeadend. All has gone well so far, with the disk showing under unassigned devices and I am able to access it through explorer. I have set the default script. I am trying to resolve an issue with its use now. For some reason my recordings are not making it to the HDD. I'm not sure if this is TVHeadend related or Plugin related. Could you please give me a steer as to the correct script that I should be using, or any settings that I may have missed to enable the HDD's use outside of my array? Thanks This is from TVheadend log, I think that it's related to permissions: Unable to create dir "/recordings/This Is BBC Four": Permission denied Who is the owner of the recordings folder on the HDD? As far as I know this plugin only mounts the disk, so it has to be wrong permissions set on the folder created on the HDD. Hi Saarg This sorted it: newperms /path/to/mounted/drive/ Thanks Link to comment
saarg Posted June 23, 2015 Share Posted June 23, 2015 I'm using your plugin to mount a HDD outside of the array to use as storage for TV recordings and Timeshift from TVHeadend. All has gone well so far, with the disk showing under unassigned devices and I am able to access it through explorer. I have set the default script. I am trying to resolve an issue with its use now. For some reason my recordings are not making it to the HDD. I'm not sure if this is TVHeadend related or Plugin related. Could you please give me a steer as to the correct script that I should be using, or any settings that I may have missed to enable the HDD's use outside of my array? Thanks This is from TVheadend log, I think that it's related to permissions: Unable to create dir "/recordings/This Is BBC Four": Permission denied Who is the owner of the recordings folder on the HDD? As far as I know this plugin only mounts the disk, so it has to be wrong permissions set on the folder created on the HDD. Hi Saarg This sorted it: newperms /path/to/mounted/drive/ Thanks Good Link to comment
mr-hexen Posted June 27, 2015 Share Posted June 27, 2015 Feature Request: Allow spinning down / up unassigned hard drives. Link to comment
wirenut Posted June 27, 2015 Share Posted June 27, 2015 Feature Request: Allow spinning down / up unassigned hard drives. +1 Link to comment
johnieutah Posted June 27, 2015 Share Posted June 27, 2015 I am having major problems when running this plugin, it seems to kill the Web UI within about 5 minutes. I am still able to access Samba shares and SSH into the server. I originally started a thread here about not being able to access the Web UI during a parity scan: http://lime-technology.com/forum/index.php?topic=40727.0 Long story short, with this plugin completed removed, Unraid 6 Web UI is completely stable. @gfjardim Is there any logging - other than a syslog - I can provide which will aid any debugging? syslog.txt Link to comment
Gizmotoy Posted June 28, 2015 Share Posted June 28, 2015 Just to confirm: I'm currently using this to mount an SSD containing my Docker image. I can set this disk to auto-mount, shared, and then in the script box enter and save the script from the FAQ in the first post to ensure Docker starts up when mounting the disk and shuts down when unmounting it? Do I need to set my unRAID/Settings/Docker/Enable Docker parameter to No to ensure the Unassigned Devices script handles the startup/stop of Docker? Link to comment
danioj Posted June 28, 2015 Share Posted June 28, 2015 I am having major problems when running this plugin, it seems to kill the Web UI within about 5 minutes. I am still able to access Samba shares and SSH into the server. I originally started a thread here about not being able to access the Web UI during a parity scan: http://lime-technology.com/forum/index.php?topic=40727.0 Long story short, with this plugin completed removed, Unraid 6 Web UI is completely stable. @gfjardim Is there any logging - other than a syslog - I can provide which will aid any debugging? I have noticed that this plugin doesn't do "great" with samba shares where the network is flaky or connection is poor. I mount cross shares between my two servers. In that, I mount flash, app and share of Main Server on Backup Server and VISA VERSA. When trying to shutdown one server there is some ... lag ... while it tries to unmount. Be patient and the plugin does its job. Yes the GUI does hang, but as long as your patient then things work out. If you're not patient then you can turn off your switch which your servers are connected to (assuming of course you have a dedicated switch) then things move quicker! Link to comment
abs0lut.zer0 Posted June 28, 2015 Share Posted June 28, 2015 This plugin uses UDEV to mount and share disks that are not part of your unRAID array. Available devices are listed under "Main/Unassigned Devices" tab. i would just like to take the time to say [glow=red,2,300]thank you[/glow] for this plugin works brilliantly Link to comment
opentoe Posted June 28, 2015 Share Posted June 28, 2015 I am having major problems when running this plugin, it seems to kill the Web UI within about 5 minutes. I am still able to access Samba shares and SSH into the server. I originally started a thread here about not being able to access the Web UI during a parity scan: http://lime-technology.com/forum/index.php?topic=40727.0 Long story short, with this plugin completed removed, Unraid 6 Web UI is completely stable. @gfjardim Is there any logging - other than a syslog - I can provide which will aid any debugging? I have noticed that this plugin doesn't do "great" with samba shares where the network is flaky or connection is poor. I mount cross shares between my two servers. In that, I mount flash, app and share of Main Server on Backup Server and VISA VERSA. When trying to shutdown one server there is some ... lag ... while it tries to unmount. Be patient and the plugin does its job. Yes the GUI does hang, but as long as your patient then things work out. If you're not patient then you can turn off your switch which your servers are connected to (assuming of course you have a dedicated switch) then things move quicker! I see this as well. Takes several minutes some times to just take my array offline and reboot. Link to comment
sgibbers17 Posted June 29, 2015 Share Posted June 29, 2015 How do you format a new ssd to xfs for use with this plugin? Link to comment
danioj Posted June 30, 2015 Share Posted June 30, 2015 How do you format a new ssd to xfs for use with this plugin? The way I did it was to add it as a cache drive. Format as XFS. Remove it to unassigned and then mount via Unassigned Devices. Link to comment
PeterB Posted June 30, 2015 Share Posted June 30, 2015 How do you format a new ssd to xfs for use with this plugin? From the command line, something like this should work: gdisk /dev/sdX o n (taking defaults) w mkfs.xfs /dev/sdX1 Link to comment
gfjardim Posted June 30, 2015 Author Share Posted June 30, 2015 Guys, I'm working on another project right now, so I will slow down this a bit, but any major bugfixes will be addressed, ok? When I come back, I'll modularize the code, so NFS/IMG/ISO/DVD mounts will be possible, alright? Thanks a lot for understanding. Link to comment
sgibbers17 Posted June 30, 2015 Share Posted June 30, 2015 How do you format a new ssd to xfs for use with this plugin? From the command line, something like this should work: gdisk /dev/sdX o n (taking defaults) w mkfs.xfs /dev/sdX1 Thanks Link to comment
ljm42 Posted July 2, 2015 Share Posted July 2, 2015 When I come back, I'll modularize the code, so NFS/IMG/ISO/DVD mounts will be possible, alright? That sounds incredible! Thanks for this gfjardim! Link to comment
Recommended Posts