Jump to content
dlandon

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

4117 posts in this topic Last Reply

Recommended Posts

1 hour ago, cpthook said:

Even though the log entries when trying to connect are exactly the same as when I first reported the issue last time (line for line)?  I'm not fully understanding your response, however I appreciate your trying to assist me.  Not sure where to go from here though....

The issue was related to how blank credentials were formed for the mount line.  Originally the blank user and password were quoted with a '.  That created errors when mounting.  That bug was fixed, but there is nothing to fix this time because that bug was fixed and is not your issue this time.

 

This was your error last time.

Quote

Mar 31 08:56:38 Tower unassigned.devices: Removing configuration '//TOWERII/backupshare'.
Mar 31 08:57:52 Tower unassigned.devices: Mount SMB share '//192.168.1.11/backupshare' using SMB1 protocol.
Mar 31 08:57:52 Tower unassigned.devices: Mount SMB/NFS command: mount -t cifs -o rw,nounix,iocharset=utf8,_netdev,file_mode=0777,dir_mode=0777,sec=ntlm,vers=1.0,username='',password=******* '//192.168.1.11/backupshare' '/mnt/disks/TOWERII_backupshare'
Mar 31 08:57:52 Tower unassigned.devices: Mount of '//192.168.1.11/backupshare' failed. Error message: username specified with no parameter 

It's not the same issue.

Share this post


Link to post
18 hours ago, dlandon said:

I don't see the problem with the code and I can't reproduce the problem.

OK, I guess I have to live with it.  It doesn't seem to impact anything, just looks horrible.

Share this post


Link to post
5 hours ago, dlandon said:

The issue was related to how blank credentials were formed for the mount line.  Originally the blank user and password were quoted with a '.  That created errors when mounting.  That bug was fixed, but there is nothing to fix this time because that bug was fixed and is not your issue this time.

 

This was your error last time.

It's not the same issue.

 

So sorry and you're right.  I use my ISP's DNS server's and for some reason they aren't resolving IP addresses properly.  Win command nslookup resolved 23.195.69.106 to some domain called akamaitechnologies.com and I have no idea how this address would be associated with my server's LAN address.  After your last response I tried to mount the shares manually with serveraddress\share and BINGO they mounted.  So I changed my DNS addresses in unRAID to a different 3rd party service and was able to mount with hostnames like normal.  

 

Thanks again for your assistance and pointing this out

Share this post


Link to post

Hi, i have mounted a nfs share on a remote unraid server. And thats fine. But when viewing the remote share on the unraid that have unassigned devices running i cant see the files on the remote share. 

I guess its something very simple im missing, but im totaly blank here. Any tips/ideas?

Share this post


Link to post
3 hours ago, orlando500 said:

Hi, i have mounted a nfs share on a remote unraid server. And thats fine. But when viewing the remote share on the unraid that have unassigned devices running i cant see the files on the remote share. 

I guess its something very simple im missing, but im totaly blank here. Any tips/ideas?

How are you trying to view the remote share?

Share this post


Link to post
On 5/21/2019 at 9:23 PM, itimpi said:

If that is the output from a file system check, then the last line is telling you that it ran a read-only check without actually attempting to fix anything.    The -n flag needs removing if you want it to actually attempt a repair.

Thanks, let's 'pretend' I'm an idiot here... what is an '-n flag' and how does one go about removing it?

 

And why was it added/only recently become a problem...?

Share this post


Link to post
1 hour ago, dlandon said:

How are you trying to view the remote share?

from crusader docker to move files from one unraid to the new unraid server

 

Share this post


Link to post
12 hours ago, orlando500 said:

from crusader docker to move files from one unraid to the new unraid server

 

I don't know enough about the crusader docker to be able to help.  Hopefully someone else can chime in here and offer some assistance.

Share this post


Link to post

hi there,

 

i tried to mount a ufs device with this plugin, to copy my data into the array.

unfortunately it seems that my drives are unmountable?

 

Nothing happens after pressing the mount button

Is there any step which i may need to take before?

 

regards Tobias.

grafik.thumb.png.c75121d6919893a4d571ba118363b2ad.png

Share this post


Link to post

this might have been answer, if so then I am sorry, but I am trying to do the following.

I have Motion eye installed and then having the Video clips being saved to my RAID or Cache, I would like to point it to a external USB drive.

so I have plug in my USB drive, (sdg) and when I go and try to point my Motion eye docker to the USB, I see that it is noting showing up, as all I can see is my raid Hard Drivers.

 

so do I have to manual type in the path ?

Share this post


Link to post
14 hours ago, Toobie said:

hi there,

 

i tried to mount a ufs device with this plugin, to copy my data into the array.

unfortunately it seems that my drives are unmountable?

 

Nothing happens after pressing the mount button

Is there any step which i may need to take before?

 

regards Tobias.

grafik.thumb.png.c75121d6919893a4d571ba118363b2ad.pngimageproxy.php?img=&key=00b562fcac28e727

UD doesn't mount a ufs file system.

Share this post


Link to post
1 hour ago, chris_netsmart said:

this might have been answer, if so then I am sorry, but I am trying to do the following.

I have Motion eye installed and then having the Video clips being saved to my RAID or Cache, I would like to point it to a external USB drive.

so I have plug in my USB drive, (sdg) and when I go and try to point my Motion eye docker to the USB, I see that it is noting showing up, as all I can see is my raid Hard Drivers.

 

so do I have to manual type in the path ?

 

Share this post


Link to post
UD doesn't mount a ufs file system.
Damn.. ok.
I need to copy 2*2TB before linking into my array.

Sent from my MI 6 using Tapatalk

Share this post


Link to post

Hi,

 

I have a pair of mellanox connectx-2 NICs, each in an unraid server. The first unraid server is a file server, the second a transcoding server. The NICs are plugged into each other - the file server having an IP of 192.168.11.1, the transcoding server an IP of 192.168.11.2. An iperf3 between them shows they're connected and have a good speeds happy days.

 

I've the tried to mount the media share on the file server with unassigned devices. It initially shows up, displaying size, used, and free space. I turn on the docker service, fire up the Emby docker (being sure that the path to the media share has an access mode of RW/Slave) and try to play some media. Immediately there's buffering. Looking at the share in unassigned devices I now find the information for size, used, and free space all read 0B. Clicking on the mount point (to load the file list) takes a long time to load, but does eventually load, however the size information still shows 0B. 

 

I've tried both NFS and SMB, Plex, and Jellyfin, and different mount point names. I've tried restarting and reinstalling UD. The system log and Emby's logs show nothing, and I was unable to find any specific logs for UD. 

 

Any help would be greatly appreciated! 

Screenshot from 2019-05-30 19-37-02.png

Screenshot from 2019-05-30 19-35-30.png

Share this post


Link to post
9 hours ago, Toobie said:

Damn.. ok.
I need to copy 2*2TB before linking into my array.

Sent from my MI 6 using Tapatalk
 

You could mount it manually.

Share this post


Link to post
2 hours ago, awilderaid said:

Hi,

 

I have a pair of mellanox connectx-2 NICs, each in an unraid server. The first unraid server is a file server, the second a transcoding server. The NICs are plugged into each other - the file server having an IP of 192.168.11.1, the transcoding server an IP of 192.168.11.2. An iperf3 between them shows they're connected and have a good speeds happy days.

 

I've the tried to mount the media share on the file server with unassigned devices. It initially shows up, displaying size, used, and free space. I turn on the docker service, fire up the Emby docker (being sure that the path to the media share has an access mode of RW/Slave) and try to play some media. Immediately there's buffering. Looking at the share in unassigned devices I now find the information for size, used, and free space all read 0B. Clicking on the mount point (to load the file list) takes a long time to load, but does eventually load, however the size information still shows 0B. 

 

I've tried both NFS and SMB, Plex, and Jellyfin, and different mount point names. I've tried restarting and reinstalling UD. The system log and Emby's logs show nothing, and I was unable to find any specific logs for UD. 

 

Any help would be greatly appreciated! 

Screenshot from 2019-05-30 19-37-02.png

Screenshot from 2019-05-30 19-35-30.png

The size information showing as 0B is because it is taking too long and UD eventually gives up trying to determine the size so the UI is not totally frozen.  It sounds like a network issue.  It would help if you could post diagnostics for us to look at.

Share this post


Link to post
4 minutes ago, dlandon said:

The size information showing as 0B is because it is taking too long and UD eventually gives up trying to determine the size so the UI is not totally frozen.  It sounds like a network issue.  It would help if you could post diagnostics for us to look at.

I haven't touched either server since posting this and tried to get the issue to reoccur and upload diagnostics. Everything now seems to be working perfectly, no stuttering, Emby's transcoding buffer stays between 2 and 3 minutes, UD shows accurate size/used/free information. My thought was that maybe SMB or NFS was giving up, and UD might have been involved. In any case, hopefully it doesn't happen again, but if it does I'll upload diagnostics as soon as. Cheers!

Share this post


Link to post
May 31 15:26:01 Tower root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token

I've been getting this strange message since I added a bunch of new disk to the array... Any ideas?

Running the latest 6.7.0 release with the latest version of the plugin...

Share this post


Link to post
1 minute ago, drdebian said:

May 31 15:26:01 Tower root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token

I've been getting this strange message since I added a bunch of new disk to the array... Any ideas?

Running the latest 6.7.0 release with the latest version of the plugin...

https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/?tab=comments#comment-545988

 

You might find other useful information in the FAQ also.

Share this post


Link to post
2 hours ago, drdebian said:

May 31 15:26:01 Tower root: error: /plugins/unassigned.devices/UnassignedDevices.php: wrong csrf_token

I've been getting this strange message since I added a bunch of new disk to the array... Any ideas?

Running the latest 6.7.0 release with the latest version of the plugin...

That message means you have a browser session open to Unraid from before the last reboot.    It can happen on any part of the Unraid GUI.

Share this post


Link to post

I'm having an issue with UD where NTFS USB attached drives are not mounting with delete file access. The description from the initial posts in this topic says UD mounts with read/write permissions, but that doesn't seem to be the case. I can't delete files from these drives. My main reason for this is I am slowly migrating the data from the USB drives to my UnRAID pool, with the plan to then shuck the drives and add them to the pool.

 

In the meantime, I'm using these attached drives via UD and are mapped/mounted within the Plexinc official Plex docker container. I can read with no issues, just no write/delete access. This is an issue only when I add an upgraded copy of a title with better bitrate/resolution, i.e. adding a 4K version of a title that was previously only a 720p rip. I then want to delete the 720p rip, but Plex says it there is an error when attempting to delete the file. This leaves me with MANY duplicates until I eventually migrate all files off the NTFS drives and then remove that path from the Plex docker for the library in question.

 

I've connected via telnet/ssh and can't create/delete/write via the shell either - response is that it's a read-only filesystem (see example below). I've also enabled the destructive mode in UD, but that doesn't seem to help. I also have successfully installed the full version of ntfs-3g but I can't mount the drives with it as UD seems to keep them auto-mounted even though I have turned off the auto-mount switch for the drives in question. Any plans to implement full write access via ntfs-3g in UD? Suggestions?

 

Example of trying to remove/delete file from shell, but Plex also fails likely for the same reason. Permissions for the file and parent folder are the same, other than the 'd' attribute indicating directory:

 

root@AnimNAS:/mnt/disks/Movies-A/Movies# rm The.Year.of.Living.Dangerously.1982.1080p.BluRay.mkv

rm: cannot remove 'The.Year.of.Living.Dangerously.1982.1080p.BluRay.mkv': Read-only file system

root@AnimNAS:/mnt/disks/Movies-A/Movies# ls -l The.Year.of.Living.Dangerously.1982.1080p.BluRay.mkv

-rwxrwxrwx 1 root root 8996524675 Nov 17  2018 The.Year.of.Living.Dangerously.1982.1080p.BluRay.mkv*

 

root@AnimNAS:/mnt/disks/Movies-A# ls -l

total 256

drwxrwxrwx 1 root root      0 Apr  1 19:14 $RECYCLE.BIN/

drwxrwxrwx 1 root root 262144 May 30 04:33 Movies/

drwxrwxrwx 1 root root      0 May 11 07:11 System\ Volume\ Information/

 

Share this post


Link to post
5 minutes ago, AgentXXL said:

Any plans to implement full write access via ntfs-3g in UD?

UD already does this.  Take a look at the log.  A disk with the NTFS file system will be mounted read only under certain conditions - like the disk is hibernated.

Share this post


Link to post
14 minutes ago, dlandon said:

UD already does this.  Take a look at the log.  A disk with the NTFS file system will be mounted read only under certain conditions - like the disk is hibernated.

Which log? I'm a newbie to UnRAID and UD. I do know that the drive is not hibernated as I can't delete/create/write when accessing the drive via the SSH shell. I can copy files off so I know the drive isn't hibernated. It also doesn't explain why I can't unmount the drive in UD even though the auto-mount switch is turned off. Thanks for the speedy reply!

 

Note that I even tried this with one drive that has been shucked from a USB enclosure and attached directly to a SATA port on the UnRAID system. The drive is still listed as a read-only file system. I've checked the System log under the Tools menu and nothing appears when I attempt to delete the file via the Plex web interface or via the SSH shell.

Edited by AgentXXL
Added details re: drive connection and logging

Share this post


Link to post
14 minutes ago, AgentXXL said:

Which log? I'm a newbie to UnRAID and UD. I do know that the drive is not hibernated as I can't delete/create/write when accessing the drive via the SSH shell. I can copy files off so I know the drive isn't hibernated. It also doesn't explain why I can't unmount the drive in UD even though the auto-mount switch is turned off. Thanks for the speedy reply!

Hibernated means that it was hibernated from a Windows computer and the file system is in a hibernated state.  It doesn't mean the disk is hibernated in Unraid.

 

UD logs to the system log.

 

You probably can't unmount the drive because it is busy.

 

You may have created some additional issues by messing around with the NTFS driver package.  Don't do anything with the NTFS driver package.  It is built into Unraid and UD mounts NTFS disks r/w except as I said in certain cases where it is not safe to mount it r/w.  Your syslog will show the status of mounting the disk file system and why it is mounted read only.

 

Start by posting your diagnostics so we can help you.  Tools->DIagnostics.  Don't do any other messing around until we can see where you are.

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.