Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

On 1/30/2020 at 2:29 PM, dlandon said:

...

  • Add a 'Pass Through' switch.  Set this switch to on for any disks you are passing through to a VM or Docker.  When this switch is set, UD will not allow a manual mount and will not attempt to auto mount the disk even if 'Auto Mount' is turned on.  UD will not monitor the disk temperature.

Anyone passing through a disk to a VM or Docker should go to UD and set the 'Pass Through' switch on.  With this switch set on, UD will not allow mounting the disk.  It is known that mounting a passed through disk with UD will corrupt the file system on the disk.

A newbie question. What is meant by pass through here? That is, I have a disk mounted by UD and it is used by few dockers via path "/mnt/disks/.." Is there an issue or can I continue using it like this? I have not enabled the pass through for the disk in UD.

  • Replies 11.9k
  • Views 2.1m
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • It's that self healing feature I built into UD.  It just fixes itself.

  • New release of UD.  Changes: When changing the mount point (which is also the share name), the mount point is checked for a duplicate of a user share or another UD device.  Samba cannot handle

  • Major new release of UD: "Where are the switches?"  The "Pass Through", "Read Only", "Automount", and "Share" switches have been moved to a new Edit Settings dialog.  This is also where the sc

Posted Images

37 minutes ago, ptr78 said:

A newbie question. What is meant by pass through here? That is, I have a disk mounted by UD and it is used by few dockers via path "/mnt/disks/.." Is there an issue or can I continue using it like this? I have not enabled the pass through for the disk in UD.

That is fine as the disk is being accessed at the file level.   Pass Through in this context is when a VM takes exclusive control of the whole drive by-passing any Linux level file system handing.

5 hours ago, dlandon said:

I believe sda is your Unraid flash device.  Please post another diagnostics.

Sorry, my fault (sda was a typo). sdb and sdc are shown as Unassigned devices on dashboard but not on Main page. Both are USB-Devices passed through to two VMs.

 

Uploaded diagnostics still applies.

 

  • Author
1 minute ago, hawihoney said:

Uploaded diagnostics still applies.

Not really.  I'd like to see the diagnostics after you deleted the UD configurations and re-installed the plugin.  There are reasons I ask for things.  If I have to ask twice, it only slows down the efforts to help with your issue.

2 hours ago, dlandon said:

Not really.  I'd like to see the diagnostics after you deleted the UD configurations and re-installed the plugin.  There are reasons I ask for things.  If I have to ask twice, it only slows down the efforts to help with your issue.

I see. Diagnostics attached.

 

tower-diagnostics-20200201-2035.zip

  • Author
2 hours ago, hawihoney said:

UD is seeing those devices:

Jan 25 08:11:28 Tower unassigned.devices: Mounting 'Auto Mount' Devices...
Jan 25 08:11:28 Tower unassigned.devices: Disk with serial 'Transcend_16GB_15H2VE3EAPUM8OBL', mountpoint 'UNRAIDVM02' is not set to auto mount and will not be mounted.
Jan 25 08:11:28 Tower unassigned.devices: Disk with serial 'DataTraveler_2.0_001A4D5F25DFC290595BF646', mountpoint 'UNRAIDVM01' is not set to auto mount and will not be mounted.

I have no idea why they are not showing in the UD webpage.  Nothing has changed in the UD webpage display lately that would affect that.

Thanks for looking into it.

 

These two USB devices are passed through to two Unraid VMs. These devices didn't show up on dashboard and they didn't show up on Main page. It works that way since a year.

 

Since some days (under a week) they are shown on dashboard. They only thing that has been changed in that week are the Plugins UD, Wireguard and CA.

 

It's no big deal and I thought that new Passthrough Switch might be the reason. Hence I didn't use that switch til now.

 

  • Author
15 hours ago, hawihoney said:

These two USB devices are passed through to two Unraid VMs.

Are those devices connected through a USB hub?

Trying to mount a nfs share i am able to get the nfs to mount if i use terminal to enter :mount -t nfs -o proto=tcp,port=2049 192.168.1.3:/UnRaid\ test /mnt/user/MeJoServerTv/MeJoQnap1

 

here is the script i am trying any help will be appreciated 

 

#!/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, UNMOUNT; if unmounted, REMOVE; if error, ERROR_MOUNT, ERROR_UNMOUNT
# 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"
# PROG_NAME  : program name of this script
# LOGFILE    : log file for this script

case $ACTION in
  'MOUNT' )
    # do your stuff here
    mount -t nfs -o proto=tcp,port=2049 192.168.1.3:/UnRaid\ test /mnt/user/MeJoServerTv/MeJoQnap1

    # This will refresh the UD webpage when the script is finished.
    /usr/local/sbin/rc.unassigned refresh $DEVICE
  ;;

  'UNMOUNT' )
    # do your stuff here
    umount -f -l /mnt/user/MeJoServerTv/MeJoQnap1
  ;;

  • Author
4 minutes ago, JohnJay829 said:

mount -t nfs -o proto=tcp,port=2049 192.168.1.3:/UnRaid\ test /mnt/user/MeJoServerTv/MeJoQnap1

Don't mount anything at /mnt/user/.

 

Why are you trying to mount the NFS share in a UD script?  Mount the NFS share with UD as a remote share and then refer to it in your script.  UD will mount it at /mnt/disks//MeJoServerTv/MeJoQnap1.

3 minutes ago, dlandon said:

Don't mount anything at /mnt/user/.

 

Why are you trying to mount the NFS share in a UD script?  Mount the NFS share with UD as a remote share and then refer to it in your script.  UD will mount it at /mnt/disks//MeJoServerTv/MeJoQnap1.

ok I started the nfs over to remove the script i tried. i am guessing i am missing a premission on the qnap. this is the error what premission should i enter?

 

Feb 2 07:56:50 MeJoServerTv unassigned.devices: Mount NFS command: '/sbin/mount -t nfs -o rw,hard,timeo=600,retrans=10 '192.168.1.3://UnRaid test' '/mnt/disks/192.168.1.3_UnRaid_test''
Feb 2 07:56:50 MeJoServerTv rpcbind[9563]: connect from 127.0.0.1 to getport/addr(status)
Feb 2 07:56:50 MeJoServerTv unassigned.devices: NFS mount failed: mount.nfs: access denied by server while mounting 192.168.1.3://UnRaid test .
Feb 2 07:56:50 MeJoServerTv unassigned.devices: Mount of '192.168.1.3://UnRaid test' failed. Error message: 'mount.nfs: access denied by server while mounting 192.168.1.3://UnRaid test '.

 

I have a second share that gives a different error i am able to start this one also in a terminal window:

 

Feb 2 08:00:18 MeJoServerTv unassigned.devices: Mount NFS command: '/sbin/mount -t nfs -o rw,hard,timeo=600,retrans=10 '192.168.1.225://MeJoServerNFS' '/mnt/disks/192.168.1.225_MeJoServerNFS''
Feb 2 08:00:18 MeJoServerTv rpcbind[22431]: connect from 127.0.0.1 to getport/addr(status)
Feb 2 08:00:18 MeJoServerTv unassigned.devices: NFS mount failed: mount.nfs: mounting 192.168.1.225://MeJoServerNFS failed, reason given by server: No such file or directory .
Feb 2 08:00:18 MeJoServerTv unassigned.devices: Mount of '192.168.1.225://MeJoServerNFS' failed. Error message: 'mount.nfs: mounting 192.168.1.225://MeJoServerNFS failed, reason given by server: No such file or directory '

6 hours ago, dlandon said:

Are those devices connected through a USB hub?

No. All USB devices are plugged into the Mainboard (Supermicro X9DRi-F). As I said, it worked until last week. The Server is running 365/24/7.

 

  • Author
4 hours ago, JohnJay829 said:

ok I started the nfs over to remove the script i tried. i am guessing i am missing a premission on the qnap. this is the error what premission should i enter?

 

Feb 2 07:56:50 MeJoServerTv unassigned.devices: Mount NFS command: '/sbin/mount -t nfs -o rw,hard,timeo=600,retrans=10 '192.168.1.3://UnRaid test' '/mnt/disks/192.168.1.3_UnRaid_test''
Feb 2 07:56:50 MeJoServerTv rpcbind[9563]: connect from 127.0.0.1 to getport/addr(status)
Feb 2 07:56:50 MeJoServerTv unassigned.devices: NFS mount failed: mount.nfs: access denied by server while mounting 192.168.1.3://UnRaid test .
Feb 2 07:56:50 MeJoServerTv unassigned.devices: Mount of '192.168.1.3://UnRaid test' failed. Error message: 'mount.nfs: access denied by server while mounting 192.168.1.3://UnRaid test '.

 

I have a second share that gives a different error i am able to start this one also in a terminal window:

 

Feb 2 08:00:18 MeJoServerTv unassigned.devices: Mount NFS command: '/sbin/mount -t nfs -o rw,hard,timeo=600,retrans=10 '192.168.1.225://MeJoServerNFS' '/mnt/disks/192.168.1.225_MeJoServerNFS''
Feb 2 08:00:18 MeJoServerTv rpcbind[22431]: connect from 127.0.0.1 to getport/addr(status)
Feb 2 08:00:18 MeJoServerTv unassigned.devices: NFS mount failed: mount.nfs: mounting 192.168.1.225://MeJoServerNFS failed, reason given by server: No such file or directory .
Feb 2 08:00:18 MeJoServerTv unassigned.devices: Mount of '192.168.1.225://MeJoServerNFS' failed. Error message: 'mount.nfs: mounting 192.168.1.225://MeJoServerNFS failed, reason given by server: No such file or directory '

Add the nfs remote shares in ud by searching the server, make a selection, then search the shares and make a selection.  Don't enter anything manually.  I think you're entering it wrong.

2 hours ago, dlandon said:

Add the nfs remote shares in ud by searching the server, make a selection, then search the shares and make a selection.  Don't enter anything manually.  I think you're entering it wrong.

Sorry that is how i added them. i let the gui search and just grab the ip from the list then grab the share from the list..

  • Author
21 minutes ago, JohnJay829 said:

Sorry that is how i added them. i let the gui search and just grab the ip from the list then grab the share from the list..

The first mount is a permission issue as you noted.  I don't know enough about NFS mounts to offer any help on how to fix that.  Others here can help.

 

The second issue doesn't make any sense.  If you selected the server and share from the list, it shouldn't fail on not found.  Check and see that the spelling and case is correct. Is the server IP address correct for this share?  Is the server IP address static?

9 minutes ago, dlandon said:

The first mount is a permission issue as you noted.  I don't know enough about NFS mounts to offer any help on how to fix that.  Others here can help.

 

The second issue doesn't make any sense.  If you selected the server and share from the list, it shouldn't fail on not found.  Check and see that the spelling and case is correct. Is the server IP address correct for this share?  Is the server IP address static?

address is fine and it is not static but both mount fine if i do it thru terminal.. thanks for the help

  • Author
4 minutes ago, JohnJay829 said:

address is fine and it is not static but both mount fine if i do it thru terminal.. thanks for the help

Can you show your terminal mount commands?  I don't understand why UD won't mount them.

10 minutes ago, dlandon said:

Can you show your terminal mount commands?  I don't understand why UD won't mount them.

root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# mount -t nfs -o proto=tcp,port=2049 192.168.1.225:/MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# ls -l
total 921120
-rwxrwxrwx 1 4294967294 4294967294 943203714 Oct 10  2012 A***w\ -\ S01E01\ -\ Pilot.mkv*
drwxrwxrwx 2 4294967294 4294967294     16384 Jan  9 13:03 MeJoServer\ Tv/
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap#

  • Author
5 minutes ago, JohnJay829 said:

root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# mount -t nfs -o proto=tcp,port=2049 192.168.1.225:/MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# ls -l
total 921120
-rwxrwxrwx 1 4294967294 4294967294 943203714 Oct 10  2012 A***w\ -\ S01E01\ -\ Pilot.mkv*
drwxrwxrwx 2 4294967294 4294967294     16384 Jan  9 13:03 MeJoServer\ Tv/
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap#

Will it mount without the port command or the proto command?  UD does not specify either.  It may be one or both need to be added to the mount command.

3 minutes ago, dlandon said:

Will it mount without the port command or the proto command?  UD does not specify either.  It may be one or both need to be added to the mount command.

i unmounted first with :umount -f -l /mnt/user/MeJoServerTv/MeJoQnap

 

mount -t nfs 192.168.1.225:/MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# ls -l
total 921120
-rwxrwxrwx 1 4294967294 4294967294 943203714 Oct 10  2012 Arrow\ -\ S01E01\ -\ Pilot.mkv*
drwxrwxrwx 2 4294967294 4294967294     16384 Jan  9 13:03 MeJoServer\ Tv/
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# 

  • Author
8 minutes ago, JohnJay829 said:

i unmounted first with :umount -f -l /mnt/user/MeJoServerTv/MeJoQnap

 

mount -t nfs 192.168.1.225:/MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# ls -l
total 921120
-rwxrwxrwx 1 4294967294 4294967294 943203714 Oct 10  2012 Arrow\ -\ S01E01\ -\ Pilot.mkv*
drwxrwxrwx 2 4294967294 4294967294     16384 Jan  9 13:03 MeJoServer\ Tv/
root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# 

Try this: 

mount -t nfs 192.168.1.225://MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap

I'd really like to figure this one out.

Edited by dlandon

6 minutes ago, dlandon said:

Try this: 


mount -t nfs 192.168.1.225://MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap

I'd really like to figure this one out.

root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# mount -t nfs 192.168.1.225://MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap
mount.nfs: mounting 192.168.1.225://MejoServerNFS failed, reason given by server: No such file or directory

  • Author
Just now, JohnJay829 said:

root@MeJoServerTv:/mnt/user/MeJoServerTv/MeJoQnap# mount -t nfs 192.168.1.225://MejoServerNFS /mnt/user/MeJoServerTv/MeJoQnap
mount.nfs: mounting 192.168.1.225://MejoServerNFS failed, reason given by server: No such file or directory

Ok.  I see the issue.  I'll do some testing.  The issue is the // after the IP address.  Strange this has not come up before this.

2 minutes ago, dlandon said:

Ok.  I see the issue.  I'll do some testing.  The issue is the // after the IP address.  Strange this has not come up before this.

Thank you for your time in testing

  • Author
1 hour ago, JohnJay829 said:

Thank you for your time in testing

Update UD and try again.  You'll need to recreate the NFS share.  You should notice now the source will be 'server:/share' and not 'server://share' when you create the remote shares.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.