[unRAID 6 beta14+] Unassigned Devices [former Auto Mount USB]


Recommended Posts

Ok, guys, just got back! I will catch up soon and start to launch updates.

 

Thanks for your patience.

 

Welcome back mate. Are there plans to add renaming drives in this plugin?

 

By renaming are you referring to label the drive for every OS or just for unRAID?

Link to comment

Thanks guys, well I suppose mine has just stopped working then.

 

I have a sata drive formatted xfs that mounts and unmounts and initiates the script properly.  I have a USB formatted ntfs that is mounting, but the script is not initiated.  So it appears that something is not working in RC5.

Link to comment

Thanks guys, well I suppose mine has just stopped working then.

 

I have a sata drive formatted xfs that mounts and unmounts and initiates the script properly.  I have a USB formatted ntfs that is mounting, but the script is not initiated.  So it appears that something is not working in RC5.

I'm on rc3 and it seems my script is not executed upon boot. I have to manually unmount and mount it again to get my script executed (script is related to exporting USB drive under NFS).

I described my problem couple of posts back, but it seems your problem may be similar.

Link to comment

Ok, guys, just got back! I will catch up soon and start to launch updates.

 

Thanks for your patience.

 

Welcome back mate. Are there plans to add renaming drives in this plugin?

 

I don't know much about it to be honest. This one:

http://puu.sh/ikkz1/707cc79de4.png

not sure which one that is but I am going to assume the OS?

 

By renaming are you referring to label the drive for every OS or just for unRAID?

Link to comment

Nifty plugin. Can it be added to create/change/remove partitions on the unassigned drive(s)? Right now I have one 2TB drive, but want to split it in two maybe. This utility would be great if it had that capability.

 

Thanks for the time.

 

I think it's too hazardous to be included, so I don't have plans to add it.

Link to comment

A newly installed WD30EFRX is only being reported as having 2.2TB capacity.

Are you sure it is attached to a controller that supports disks > 2.2TB?

 

Yes. It just pre-cleared fine. All drives are connected to the MB ports on my H87i-Plus (6gbps ports). I just started another preclear cycle, and it clearly shows 3TB.

 

I can also confirm this issue. See attached - my 8TB Seagate drive is showing as 2.2TB and that is sitting on an ASRock C2550 board. In fact it has 3 of these plugged into the array and both Unraid, the core system and the pre_clear script recognize the the drive as 8TB and run fine with these drives. So it must be a little issue with the plugin.

 

I have also noticed that plugin does not interact with the GUI perfectly (I have checked this on Chrome, IE and Safari IOS and OSX). The columns extend beyond the other columns which makes the page look weird. We don't have to make this an issue - id accept this behavior for the functionality of this great plugin any day!

 

EDIT: v6.0 RC4

unraid_undassigned_devices_bugs_1.JPG.52895fd16bda2565b9f47f54493c2006.JPG

Link to comment
PS: Since unRAID v6.0-rc1, it's safe to use a disk managed by this plugin to store VM's and Docker images.

 

Example script for those who mount disks used by Docker and/or VMs:

 

#!/bin/bash
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin
## Available variables: 
# AVAIL      : available space
# USED       : used space
# SIZE       : partition size
# SERIAL     : disk serial number
# ACTION     : if mounting, ADD; if unmounting, REMOVE
# MOUNTPOINT : where the partition is mounted
# FSTYPE     : partition filesystem
# LABEL      : partition label
# DEVICE     : partition device, e.g /dev/sda1
# OWNER      : "udev" if executed by UDEV, otherwise "user"

case $ACTION in
  'ADD' )
    // do your stuff here
    /usr/local/emhttp/plugins/dynamix.vm.manager/event/started
    /usr/local/emhttp/plugins/dynamix.docker.manager/event/started
  ;;
  'REMOVE' )
    // do your stuff here
    /usr/local/emhttp/plugins/dynamix.vm.manager/event/stopping_svcs
    /usr/local/emhttp/plugins/dynamix.docker.manager/event/stopping_svcs
  ;;
esac

 

This doesn't seem to work for me.  My docker drive/partition (/mnt/docker) mounts as expected, but the 'Docker' tab tells me: "No Docker Containers Installed".

 

If I then go to Settings->Docker and disable/re-enable Docker, my five containers start up.

 

What am I missing?

Link to comment

gfjardim, could you take a look at this post of mine and let us know if there is anything that can be done to improve this?

 

Thanks

 

This is top priority.

I see there was an update for this. I would like to test it but I am in the middle of a 4TB preclear. Does anyone know what would happen if I updated this plugin while the preclear is running?
Link to comment

gfjardim, could you take a look at this post of mine and let us know if there is anything that can be done to improve this?

 

Thanks

 

With the most recent version, mount/unmount scripts run in the background, but this can cause some race conditions. I'm inclined to revert this. You can always run your commands  in the background, tho, e.g. http://stackoverflow.com/questions/4511704/shell-script-run-a-block-of-code-in-the-background-without-defining-a-new-funct

 

 

Link to comment

gfjardim, could you take a look at this post of mine and let us know if there is anything that can be done to improve this?

 

Thanks

 

With the most recent version, mount/unmount scripts run in the background, but this can cause some race conditions. I'm inclined to revert this. You can always run your commands  in the background, tho, e.g. http://stackoverflow.com/questions/4511704/shell-script-run-a-block-of-code-in-the-background-without-defining-a-new-funct

 

I think I might be seeing a race condition here

Link to comment
  • Squid locked this topic
Guest
This topic is now closed to further replies.