Jump to content
dlandon

Unassigned Devices - Managing Disk Drives and Remote Shares Outside of The Unraid Array

4816 posts in this topic Last Reply

Recommended Posts

Posted (edited)
10 minutes ago, Squid said:

Then with UD uninstalled, set the docker service to not be enabled (Settings - docker) and reboot.  If /mnt/disks comes back, you've made the folder via a script or something.  If it doesn't come back, then restart the service and odds on the folder will reappear and you can then look at your various templates to see where it's coming from.

 

Good idea, turns out that the backup I made with dirsyncpro prior to moving the drive to the array was still active and was accessing the folder from disks and that seems to of caused the issue. Didn't think about that since it was not supposed to be doing anything.

 

Thanks for the quick responses!

Edited by TexasUnraid

Share this post


Link to post
9 minutes ago, TexasUnraid said:

It is like there is some kind of symlink that is connected to the drive, if I stop the array, the folder disappears from /mnt/disks/ but comes back if I start the array, even with UD uninstalled.

Go to a terminal session and do 'ls /mnt/disks/(mountpoint)' and see what is contained in the folder.  That will help you track down what is happening.

Share this post


Link to post
8 minutes ago, Lev said:

A enhancement request... as the number of drives grows in my UD list in the GUI, I find I have to press the (+) to expand each drive to find the one that has the mount point I'm looking for.

 

Not sure what the right enhancement is, perhaps a way to expand them all at once to make all the mount points visible?

 

 

Along these lines it would be nice to be able to change the partition name on devices. I keep data on different drives and it can be difficult to keep track of them without the partition labels. Particularly if using them on another system.

Share this post


Link to post
1 hour ago, TexasUnraid said:

Along these lines it would be nice to be able to change the partition name on devices. I keep data on different drives and it can be difficult to keep track of them without the partition labels. Particularly if using them on another system.

What do you mean by partition name?

Share this post


Link to post
1 minute ago, dlandon said:

What do you mean by partition name?

When I mount an NTFS drive it shows me the partition name that I game it in windows. I use these to keep drives in order (personal backup 1, personal backup 2, Media backup 1, media backup 2 etc).

 

It is really hard to keep track of the drives without these drive / partition names.

 

Does linux not support partition/drive names like windows? There is no way to label the drives to keep track of them across systems?

 

If I needed to use the backup drives, there is a high likely hood they would need to be used in another system.

Share this post


Link to post
24 minutes ago, TexasUnraid said:

Does linux not support partition/drive names like windows? There is no way to label the drives to keep track of them across systems?

Click on the partition name and change it.  Hover your mouse over the partition name for details.

Share this post


Link to post
2 minutes ago, dlandon said:

Click on the partition name and change it.  Hover your mouse over the partition name for details.

 

Does that actually change the partition name? I did that but when I cleared the config file when troubleshooting they all reverted to the default names.

 

This lead me to believe that the names UD displays are just share names and not actually changing the partition names?

Share this post


Link to post
4 hours ago, TexasUnraid said:

 

Does that actually change the partition name? I did that but when I cleared the config file when troubleshooting they all reverted to the default names.

 

This lead me to believe that the names UD displays are just share names and not actually changing the partition names?

What format partitions are you wanting to label?  Linux choices are fairly limited.

Share this post


Link to post
6 minutes ago, dlandon said:

What format partitions are you wanting to label?  Linux choices are fairly limited.

I wondered if that might be the case. I tried with BTRFS which seemed to say it supports labels.

 

Also had an XFS drive in the UD I think.

Share this post


Link to post
10 minutes ago, TexasUnraid said:

I wondered if that might be the case. I tried with BTRFS which seemed to say it supports labels.

 

Also had an XFS drive in the UD I think.

Looks like I might be able to do ntfs, xfs, and btrfs.  I'm looking into it.

Share this post


Link to post

I've implemented changing the physical disk volume label on xfs, btrfs, vfat, ntfs, and encrypted disks when the mountpoint is changed.

Share this post


Link to post
11 minutes ago, dlandon said:

I've implemented changing the physical disk volume label on xfs, btrfs, vfat, ntfs, and encrypted disks when the mountpoint is changed.

Very cool! You sure work fast!

Share this post


Link to post
13 minutes ago, TexasUnraid said:

Very cool! You sure work fast!

Not difficult, just had to find all the different commands for each file system type.  There are a few limitations - ntfs label is limited to 32 characters, vfat is upper case only and limited to 11 characters.  Not sure of the limits on xfs and btrfs file systems.

Share this post


Link to post
32 minutes ago, dlandon said:

I've implemented changing the physical disk volume label on xfs, btrfs, vfat, ntfs, and encrypted disks when the mountpoint is changed.

Awesome work, this will come in handy for sure.

Share this post


Link to post
11 hours ago, Lev said:

A enhancement request... as the number of drives grows in my UD list in the GUI, I find I have to press the (+) to expand each drive to find the one that has the mount point I'm looking for.

 

Not sure what the right enhancement is, perhaps a way to expand them all at once to make all the mount points visible?

I've seen your request and I'm pondering a possible solution.

Share this post


Link to post

Hi @dlandon - Thanks for the UD/UD+ Plugins. Need some help!

 

I just installed 3 SSDs simultaneously to Unraid.

- SanDisk z400s as cache drive that works good.

- Also installed Samsung 960 pro nvme as Auto-Mount Unassigned Drive (plex_appdata) working ok upto now.

- SSD with Issue:

>>>Added Crucial MX500 1TB SSD as Auto-Mount Unassigned Drive (download folder) and after a few minutes it spins down and stops working and goes to Historical Drive after a few minutes.<<<

Any pointers for me?

 

Thanks in Advance.

Cheers!

Share this post


Link to post
3 minutes ago, Shomil Saini said:

Hi @dlandon - Thanks for the UD/UD+ Plugins. Need some help!

 

I just installed 3 SSDs simultaneously to Unraid.

- SanDisk z400s as cache drive that works good.

- Also installed Samsung 960 pro nvme as Auto-Mount Unassigned Drive (plex_appdata) working ok upto now.

- SSD with Issue:

>>>Added Crucial MX500 1TB SSD as Auto-Mount Unassigned Drive (download folder) and after a few minutes it spins down and stops working and goes to Historical Drive after a few minutes.<<<

Any pointers for me?

 

Thanks in Advance.

Cheers!

Check your disk cabling and connections.

Share this post


Link to post
Posted (edited)
20 minutes ago, dlandon said:

Check your disk cabling and connections.

 

Hey,

I already did that, the same port was working beautifully for my regular spinning SATA drive. It is a R720xd Drive Bay on the back!

Just Changed the settings to stop spin down. Will let you know if that works.

image.thumb.png.bd1aa73289d529bad7f2b17afd76c0f7.png

 

Edited by Shomil Saini
UD settings changed

Share this post


Link to post
1 hour ago, dlandon said:

Check your disk cabling and connections.

 

1 hour ago, Shomil Saini said:

 

Hey,

I already did that, the same port was working beautifully for my regular spinning SATA drive. It is a R720xd Drive Bay on the back!

Just Changed the settings to stop spin down. Will let you know if that works.

image.thumb.png.bd1aa73289d529bad7f2b17afd76c0f7.png

 

 

This seems to have worked! Can advise this to other with similar issue.

 

Thanks and Stay Safe Everyone!

Share this post


Link to post
28 minutes ago, Shomil Saini said:

 

 

This seems to have worked! Can advise this to other with similar issue.

 

Thanks and Stay Safe Everyone!

The command to put a drive in standby should not cause a SSD disk to stop working, but I've seen this before.  I have several Samsung SSDs and have never had the issue myself.

Share this post


Link to post

New UD release features:

  • Changing the mount point will now change the physical disk label on ntfs, btrfs, xfs, vfat, btrfs encrypted, and xfs encrypted disks.
  • There is a new switch in the upper right corner of the UD page ('None' and 'All') that will show all partitions on all disks when switched on.  This is a UD setting and not a cookie, so it will be persistent.

Thanks @Lev and @TexasUnraid for your ideas.

  • Like 2
  • Thanks 1

Share this post


Link to post
26 minutes ago, dlandon said:

New UD release features:

  • Changing the mount point will now change the physical disk label on ntfs, btrfs, xfs, vfat, btrfs encrypted, and xfs encrypted disks.
  • There is a new switch in the upper right corner of the UD page ('None' and 'All') that will show all partitions on all disks when switched on.  This is a UD setting and not a cookie, so it will be persistent.

Thanks @Lev and @TexasUnraid for your ideas.

Great, very handy additions!

Share this post


Link to post
1 hour ago, dlandon said:

New UD release features:

  • Changing the mount point will now change the physical disk label on ntfs, btrfs, xfs, vfat, btrfs encrypted, and xfs encrypted disks.
  • There is a new switch in the upper right corner of the UD page ('None' and 'All') that will show all partitions on all disks when switched on.  This is a UD setting and not a cookie, so it will be persistent.

Thanks @Lev and @TexasUnraid for your ideas.

Works awesome :) No more playing hide and seek trying to guess which drive has the mount I'm looking for. Love the change. Thank you!

Share this post


Link to post

I have a question I could use some help with:

 

I'd like to specify what is shared to certain users on this unassigned device hard drive.  It seems to be all or nothing for all unassigned device shares.  I'd like to give a certain user read-write access to one folder and disallow access to another folder of the drive.  Is there a way to keep the drive off the array while being able to specify which users have read / write access to specific folders on the drive?

 

I am relatively new to unraid and would like to be able to have a backup drive in my unraid server for the super important stuff, especially since it's the only PC behind a good UPS.  I have installed unassigned devices and user scripts to automatically backup important files on the main array with rsync.  Ideally I would keep it as NTFS file system to make it compatible with windows just-in-case... but looks like in a future version of unraid I will be able to just pop it into another array pool and create more than 1 user share on the drive.

Share this post


Link to post
9 hours ago, Unraid User 1223. said:

I have a question I could use some help with:

 

I'd like to specify what is shared to certain users on this unassigned device hard drive.  It seems to be all or nothing for all unassigned device shares.  I'd like to give a certain user read-write access to one folder and disallow access to another folder of the drive.  Is there a way to keep the drive off the array while being able to specify which users have read / write access to specific folders on the drive?

 

I am relatively new to unraid and would like to be able to have a backup drive in my unraid server for the super important stuff, especially since it's the only PC behind a good UPS.  I have installed unassigned devices and user scripts to automatically backup important files on the main array with rsync.  Ideally I would keep it as NTFS file system to make it compatible with windows just-in-case... but looks like in a future version of unraid I will be able to just pop it into another array pool and create more than 1 user share on the drive.

That level of permission control would have to to be done with Linux permissions, or through array shares.

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.