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

  • Author
On 11/20/2020 at 4:24 PM, almulder said:

Ok I went into settings and clicked chnage UUID and got the following in the log. (UUID not changed). Tried removing drive, the added it back and then tried to chnage uuid.

 


Nov 20 13:22:15 TOWER unassigned.devices: Changing disk '/dev/sdn1' UUID. Result: ERROR: The filesystem has valuable metadata changes in a log which needs to be replayed. Mount the filesystem to replay the log, and unmount it before re-running xfs_admin. If you are unable to mount the filesystem, then use the xfs_repair -L option to destroy the log and attempt a repair. Note that destroying the log may cause corruption -- please attempt a mount of the filesystem before doing this.

 

Click on the + icon to show the partitions, then click on the check mark to check the file system.  See if that doesn't fix the file system.

  • 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

  • Author

New release of UD:

  • Change mount point icons to something more meaningful.  A pencil icon will show when the mount point can be changed.  A file folder icon will show when the mount point can be used to browse the device.
  • The mounting of remote SMB shares has been changed to first trying to mount the remote share without the protocol (vers=) being specified.  If that fails the mount protocol is specified in the following order - SMB3, SMB2, and then SMB1 (if netbios is enabled).
  • Encrypted disks will show the file system when mounted.
  • Author
On 4/17/2020 at 4:11 AM, wuftymerguftyguff said:

Hi,

 

Thanks for your attention.

 

I understand but what I am seeing is slightly different.  Forcing smb v1 does not work either.

 

If there is ANY value in the vers= option then I can’t write.

 

If I take the mount command from syslog and just remove the vers option it negotiates the highest compatible smb version with the server and I can write.

 

Jeff

This was posted some time ago - sorry for the slow solution.  I have released a new version of UD that should solve this problem.  When a remote SMB share is first mounted now, the protocol (vers=) is not specified.  I'm finding that a lot of remote shares will mount this way and the server will determine the most secure SMB version.  If that fails, the SMB protocol is specified and another mount attempted in the following order - SMB3, SMB2, then SMB1 (if netbios is enabled).

 

Please update and try again.

I did connect an external USB-HDD via Unassigend Devices to my unRaid.

In the Settings i set "Spin down disks?" to YES.

Does this also apply to USB-Disks? My disk is always over 40° C...  

  • Author
49 minutes ago, saber1 said:

I did connect an external USB-HDD via Unassigend Devices to my unRaid.

In the Settings i set "Spin down disks?" to YES.

Does this also apply to USB-Disks? My disk is always over 40° C...  

Yes, but some USB disks won't spin down.

The latest version won't mount my SMB1 share. I think it might not be passing sec=ntlm but I don't see a mount command in the logs. Any way to debug it?

 

I've tried removing/readding the share with Force all SMB remote shares to SMB v1 set to Yes (as I had it) and No, neither works.

 

  • Author
13 minutes ago, CS01-HS said:

The latest version won't mount my SMB1 share. I think it might not be passing sec=ntlm but I don't see a mount command in the logs. Any way to debug it?

 

I've tried removing/readding the share with Force all SMB remote shares to SMB v1 set to Yes (as I had it) and No, neither works.

 

Post diagnostics.

3 minutes ago, dlandon said:

Post diagnostics.

Sure, thanks. There's a bunch of spam in my syslog from an incompatible docker, let me know if you want me to clean it up.

nas-diagnostics-20201123-1144.zip

Nice, thank you so much.

Do you mind telling me how my diagnostics helped? Maybe a hidden UD log that might help me in the future.

  • Author
1 hour ago, CS01-HS said:

Nice, thank you so much.

Do you mind telling me how my diagnostics helped? Maybe a hidden UD log that might help me in the future.

This:

Nov 23 11:40:15 NAS unassigned.devices: Mount SMB share '//10.0.1.10/Data' using SMB1 protocol.
Nov 23 11:40:15 NAS unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials_Data' '//10.0.1.10/Data' '/mnt/disks/time-capsule'

It's missing 'sec=ntlm'.

Ha! I saw that and thought "how could I miss that in the logs?" but I get continuous "bogus file nlink value" cifs errors with SMB1 so by habit I end every syslog tail with 

| grep -vi 'cifs'

which of course removes it. I'm glad my stupidity wasn't an obstacle. Thanks again.

1 hour ago, dlandon said:

It's missing 'sec=ntlm'.

I updated, tested and confirmed it now passes that parameter but only if Force all SMB remote shares to SMB v1 = Yes. It doesn't pass it if it degrades to SMB1 after failing higher versions. Not a problem if that's by design.

Nov 23 17:59:31 NAS unassigned.devices: Mount SMB share '//10.0.1.1/Data' using SMB1 protocol.
Nov 23 17:59:31 NAS unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials_Data' '//10.0.1.1/Data' '/mnt/disks/time-capsule'

 

  • Author
1 hour ago, CS01-HS said:

I updated, tested and confirmed it now passes that parameter but only if Force all SMB remote shares to SMB v1 = Yes. It doesn't pass it if it degrades to SMB1 after failing higher versions. Not a problem if that's by design.


Nov 23 17:59:31 NAS unassigned.devices: Mount SMB share '//10.0.1.1/Data' using SMB1 protocol.
Nov 23 17:59:31 NAS unassigned.devices: Mount SMB command: /sbin/mount -t cifs -o rw,nounix,iocharset=utf8,file_mode=0777,dir_mode=0777,uid=99,gid=100,vers=1.0,credentials='/tmp/unassigned.devices/credentials_Data' '//10.0.1.1/Data' '/mnt/disks/time-capsule'

 

I've updated UD and removed the force SMB v1 setting.  There is no reason for it any longer.

Mounting remote SMB shares does not work for me in version 2020.11.23b 

I can create an entry fine, and while doing that it will show the available shares. After the entry is created the "mount" button is greyed out and cannot be clicked.

I did not find any messages relating that in the regular log files, maybe I looked in the wrong location.

This is a rather urgent topic for me, since I have several containers who use remote shares.

 

  • Author
Just now, b0m541 said:

Mounting remote SMB shares does not work for me in version 2020.11.23b 

I can create an entry fine, and while doing that it will show the available shares. After the entry is created the "mount" button is greyed out and cannot be clicked.

I did not find any messages relating that in the regular log files, maybe I looked in the wrong location.

This is a rather urgent topic for me, since I have several containers who use remote shares.

 

Post diagnostics and a screen shot of the remote shares.

Wow that was fast. where to find the shares diagnostics?

Edited by b0m541

  • Author
1 minute ago, b0m541 said:

Wow that was fast. where to find the shares diagnostics?

Just happen to be sitting at the computer.

 

Tools->Diagnostics

 

In the future always post diagnostics to get you an answer quicker.

Oh I see. No offense, that data is super privacy invasive and I do care about that.

Please let me know what exact files you need to see where the problem is, I might then as well be able to understand the problem on my own.

 

  • Author
Just now, b0m541 said:

Oh I see. No offense, that data is super privacy invasive and I do care about that.

Please let me know what exact files you need to see where the problem is, I might then as well be able to understand the problem on my own.

 

The diagnostics are anonymized.  If you feel they aren't enough, post a request to Limetech about your concern.  It can be difficult to help without diagnostics.

 

At least show me a screen shot.

5 minutes ago, b0m541 said:

that data is super privacy invasive

It would be interesting to know what data you think falls into that category as it is meant to be anonymised.

I saw that they are anonymized, I looked at them, and my concerns are still there.

The concept to post a complete set of diagnostics data publicly for anyone to read who desires to me is conflicting with the concept of data thriftyness. A request to Limetech will not resolve that conflict.

I honestly doubt that all that data will be necessary to actually find why the mount will not work.

 

I would assume it is also in your interest if users are willing to look into the problem on their own.

So if you let them know, where to look, where is the harm?

I understand that it will be a bit more effort on each side, but privacy has often a cost after all.

 

5 minutes ago, itimpi said:

It would be interesting to know what data you think falls into that category as it is meant to be anonymised.

This is not about any particular file in itself. The whole set in itself is deanonymzing you 100%. Every setup described in that detail is unique. Some of the files would be sufficient to verify the dataset against a given setup, as e.g. the combination of hardware drive names in use.

 

  • Author

Can you at least provide a screen shot of the remote shares of concern?

6 minutes ago, dlandon said:

Can you at least provide a screen shot of the remote shares of concern?

Sure, knock yourself out:

 

remotemount.thumb.png.5067a40bf442887f041e3d9c746664a8.png

 

The share is mountable on other machines, there are no additional firewall filters for the unraid host. The mount point name is the one generated by the plugin.

Edited by b0m541

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.