Jump to content
gfjardim

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

810 posts in this topic Last Reply

Recommended Posts

I just updated to RC5, rebooted and my unassigned drive still mounted ok automatically.

 

Same here, no problems for me either.

Share this post


Link to post

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

 

Thanks for your patience.

Share this post


Link to post

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?

Share this post


Link to post

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?

Share this post


Link to post

Just to chime and say what everyone else here is saying... this is a fantastic plugin.  Thanks for the hard work gfjardim

Share this post


Link to post

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.

Share this post


Link to post

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.

Share this post


Link to post

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?

Share this post


Link to post

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?

 

This is the serial ID, the same unRAID uses to identify the disks. You can set different mount points if you want.

Share this post


Link to post

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.

Share this post


Link to post

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?

 

This is the serial ID, the same unRAID uses to identify the disks. You can set different mount points if you want.

 

How do you set a different mount point?

Share this post


Link to post

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?

 

This is the serial ID, the same unRAID uses to identify the disks. You can set different mount points if you want.

 

How do you set a different mount point?

 

look at OP on the Video :)

 

Share this post


Link to post

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?

 

This is the serial ID, the same unRAID uses to identify the disks. You can set different mount points if you want.

 

How do you set a different mount point?

 

look at OP on the Video :)

 

Thank you.  That was pretty obvious.

Share this post


Link to post

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?

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post
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?

Share this post


Link to post

Is there a way to keep a disk mounted when stopping the array - my docker/vm stuff is on a SSD, and sometimes need to do maint when the array is down, and have to always remount it....

 

Thanks!

 

Myk

 

Share this post


Link to post

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?

Share this post


Link to post

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

 

 

Share this post


Link to post

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

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.