Jump to content
dlandon

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

4493 posts in this topic Last Reply

Recommended Posts

23 minutes ago, matmat07 said:

I'm trying to mount an NTFS partition using the "unassigned device" plugin. It seems to be mounting okay, but I just can't find it using krusader or as a share.

Do you have a mapping to Unassigned Device paths for your Krusader docker?

Share this post


Link to post
22 minutes ago, trurl said:

Do you have a mapping to Unassigned Device paths for your Krusader docker?

That's logic enough, and it did seem to get me a bit further, thanks.

path in krusader.png

volume_mapping.png

 

Okay, I had to map the drive to make it work, not just the "disks" folder. Thanks a lot for making me look at the right place.

Edited by matmat07
Solved my issue

Share this post


Link to post
49 minutes ago, matmat07 said:

Okay, I had to map the drive to make it work, not just the "disks" folder.

It should actually work.  You probably didn't have the access mode for that mapping as RW:SLAVE (which you should set on the mapping you've done now)

 

Share this post


Link to post
4 hours ago, matmat07 said:

Hi, I'm trying to mount an NTFS partition using the "unassigned device" plugin. It seems to be mounting okay, but I just can't find it using krusader or as a share. But I can definitely browse it from the "main" tab.

 


 Jan 22 20:16:04 Tower ntfs-3g[9996]: Mounted /dev/sdc2 (Read-Only, label "Data", NTFS 3.1)
Jan 22 20:16:04 Tower ntfs-3g[9996]: Cmdline options: ro,noatime,nodiratime,nodev,nosuid,umask=000
Jan 22 20:16:04 Tower ntfs-3g[9996]: Mount options: ro,nodiratime,nodev,nosuid,allow_other,nonempty,noatime,default_permissions,fsname=/dev/sdc2,blkdev,blksize=4096
Jan 22 20:16:04 Tower ntfs-3g[9996]: Global ownership and permissions enforced, configuration type 1
Jan 22 20:16:04 Tower unassigned.devices: Successfully mounted '/dev/sdc2' on '/mnt/disks/ST4000DM004-2CV104_ZFN1RA3G'. 

 

If you need some specific logs, I'm not sure which one or where to get it..

Krusader.png

main.png

Main_Mount.png

tower-diagnostics-20200123-2027.zip 64.15 kB · 0 downloads

Giving the path mappings for the Krusader docker might help.   If you want to see paths that are mounted as Unassigned Devices then the relevant path mapping should be using one of the ‘slave’ options for the Access allowed.

Share this post


Link to post

Why isn't this plugin/features part of unraid natively ?

Share this post


Link to post
9 hours ago, zoggy said:

Why isn't this plugin/features part of unraid natively ?

If it was native in Unraid, you wouldn't be able to take advantage of it based on your signature.

Share this post


Link to post

im using smb and gave myself read/write access to unssigned drives. On windows 10, i can try delete a file from said mounted drives, it will start and finish the deletion menu. but the target that i wanted to delete wasnt deleted. also if i were to map the drive as a network, i dont get the deletion option at all.

Readonly is off.

Looking into security tab in properties of file, the assigned user with read and write access isnt listed. 

This leads me to think the smb function in this plugin isnt working.

Edited by acoop133

Share this post


Link to post
26 minutes ago, acoop133 said:

im using smb and gave myself read/write access to unssigned drives. On windows 10, i can try delete a file from said mounted drives, it will start and finish the deletion menu. but the target that i wanted to delete wasnt deleted. also if i were to map the drive as a network, i dont get the deletion option at all.

Readonly is off.

Looking into security tab in properties of file, the assigned user with read and write access isnt listed. 

Post diagnostics.

27 minutes ago, acoop133 said:

This leads me to think the smb function in this plugin isnt working.

SMB is working fine.

Share this post


Link to post
1 hour ago, acoop133 said:

Looking into security tab in properties of file, the assigned user with read and write access isnt listed. 

How are these files being created? 

Share this post


Link to post
9 hours ago, dlandon said:

If it was native in Unraid, you wouldn't be able to take advantage of it based on your signature.

lol signatures have been disabled since the new site for me..  looking, yeah thats pretty outdated. thanks, enabled sigs once again and nuked my stale info

Edited by zoggy

Share this post


Link to post

I've run into an issue where my Ubuntu Server VM is no longer mounting/loading the correct partition and I have no idea what/how it happened?

 

Basically it's booting off of the EFI partition and wants to do a clean install. This is what I see on the Main page on Unraid (attached)

 

Originally it was working when I had the vDisk location set to "/dev/disk/by-id/ata-SPCCSolidStateDisk_AA000000000000001810". Now that I see two paritions on the main screen, I've tried setting this to "/dev/disk/by-id/ata-SPCCSolidStateDisk_AA000000000000001810-part2", but no luck.

 

How do I get UD to mount the correct parition?

Screen Shot 2020-01-26 at 10.14.18 AM.png

Share this post


Link to post
31 minutes ago, torch2k said:

I've run into an issue where my Ubuntu Server VM is no longer mounting/loading the correct partition and I have no idea what/how it happened?

 

Basically it's booting off of the EFI partition and wants to do a clean install. This is what I see on the Main page on Unraid (attached)

 

Originally it was working when I had the vDisk location set to "/dev/disk/by-id/ata-SPCCSolidStateDisk_AA000000000000001810". Now that I see two paritions on the main screen, I've tried setting this to "/dev/disk/by-id/ata-SPCCSolidStateDisk_AA000000000000001810-part2", but no luck.

 

How do I get UD to mount the correct parition?

Screen Shot 2020-01-26 at 10.14.18 AM.png

Whenever you post an issue, post diagnostics.  Not posting diagnostics slows down a response to your issue because I have to ask for diagnostics.

Share this post


Link to post

Sorry, should have known better. Attached. Here's what else I've found in the meantime:

 

- Yesterday morning I added 2 new 12TB WD drives. I replaced the 2 10TB WD drives you see listed in my screenshot with the new ones. Parity is currently rebuilding.

- I pulled out the SSD I am having an issue with and mounted it on macOS. macOS can't read/repair the disk, but it is labeled as "WD easystore 25FB Media" which is totally bizarre.

 

 

Screen Shot 2020-01-26 at 10.35.50 AM.png

tower-diagnostics-20200126-1057.zip

Share this post


Link to post

That disk has some issues:

Jan 26 10:53:16 Tower unassigned.devices: Adding disk '/dev/sdu1'...
Jan 26 10:53:16 Tower unassigned.devices: Mount drive command: /sbin/mount -t vfat -o rw,auto,async,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdu1' '/mnt/disks/stagingserver'
Jan 26 10:53:16 Tower kernel: FAT-fs (sdu1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Jan 26 10:53:16 Tower unassigned.devices: Successfully mounted '/dev/sdu1' on '/mnt/disks/stagingserver'.
Jan 26 10:53:16 Tower unassigned.devices: Adding disk '/dev/sdu2'...
Jan 26 10:53:16 Tower unassigned.devices: Mount drive command: /sbin/mount -t ext4 -o rw,auto,noatime,nodiratime,async,nodev,nosuid '/dev/sdu2' '/mnt/disks/staging'
Jan 26 10:53:16 Tower kernel: EXT4-fs (sdu2): warning: mounting unchecked fs, running e2fsck is recommended
Jan 26 10:53:16 Tower kernel: EXT4-fs (sdu2): mounted filesystem without journal. Opts: (null)
Jan 26 10:53:16 Tower unassigned.devices: Successfully mounted '/dev/sdu2' on '/mnt/disks/staging'.

Unmount the disk.  Then click on the '+' sign by the partition and then click the four squares and do a correcting disk check.

Share this post


Link to post

Ran on both paritions, see attached. It looks like /mnt/disks/staging will show up but it's just empty. It should be about 8GB of Ubuntu + a bunch of websites and databases, etc.  Ubuntu keeps wanting to re-install now. Do I need to be looking at data recovery now? If so, any recommendations?

Screen Shot 2020-01-26 at 11.14.57 AM.png

Screen Shot 2020-01-26 at 11.15.18 AM.png

Screen Shot 2020-01-26 at 11.17.17 AM.png

Edited by torch2k

Share this post


Link to post
2 hours ago, torch2k said:

Ran on both paritions, see attached. It looks like /mnt/disks/staging will show up but it's just empty. It should be about 8GB of Ubuntu + a bunch of websites and databases, etc.  Ubuntu keeps wanting to re-install now. Do I need to be looking at data recovery now? If so, any recommendations?

There are people here that are a lot better than I am at dealing with disk issues.  @johnnie.black could possibly lend a hand.

Share this post


Link to post

Hey @dlandon, recently I've been having an issue getting my SMB share to mount using UD. Had a power outage last night, and since booting everything back up the share won't mount. It's worth noting that a few days prior to the outage I updated UD for the first time in a very long time (the drive was already mounted at that point, so I'm not sure if the issue is related to the update.

 

Here's a quick snapshot of the error I'm seeing. I have done quite a bit of googling and troubleshooting, but haven't come up with anything yet. It's worth noting that I was able to manually mount the share from the terminal by manually creating the mount point and specifying credentials. This did not persist through a reboot however.

image.thumb.png.347f8e0b4c73da7c1dee151f4ed713f0.png

 

Any help would be greatly appreciated!

tower-diagnostics-20200126-1346.zip

Share this post


Link to post
1 hour ago, Litso said:

Hey @dlandon, recently I've been having an issue getting my SMB share to mount using UD. Had a power outage last night, and since booting everything back up the share won't mount. It's worth noting that a few days prior to the outage I updated UD for the first time in a very long time (the drive was already mounted at that point, so I'm not sure if the issue is related to the update.

 

Here's a quick snapshot of the error I'm seeing. I have done quite a bit of googling and troubleshooting, but haven't come up with anything yet. It's worth noting that I was able to manually mount the share from the terminal by manually creating the mount point and specifying credentials. This did not persist through a reboot however.

image.thumb.png.347f8e0b4c73da7c1dee151f4ed713f0.png

 

Any help would be greatly appreciated!

tower-diagnostics-20200126-1346.zip 70.94 kB · 1 download

The passwords for SMB mounts are now encrypted and unless you recreate the SMB mount after updating UD, it will fail to mount.  Did you delete the SMB mount and re-create it?

Share this post


Link to post
1 minute ago, dlandon said:

The passwords for SMB mounts are now encrypted and unless you recreate the SMB mount after updating UD, it will fail to mount.  Did you delete the SMB mount and re-create it?

Yes, I have deleted the mount from "Main" tab in the WebUI more than once. I did a reinstall of UD as well, but when I reinstalled it seems as if the configs persisted as the mount was still there. Is there a clean way to remove all UD configs and data and start fresh?

 

Share this post


Link to post
1 minute ago, Litso said:

Yes, I have deleted the mount from "Main" tab in the WebUI more than once. I did a reinstall of UD as well, but when I reinstalled it seems as if the configs persisted as the mount was still there. Is there a clean way to remove all UD configs and data and start fresh?

 

Remove the plugin, then remove the /flash/config/plugins/unassigned.devices/ folder.

Share this post


Link to post
3 minutes ago, dlandon said:

Remove the plugin, then remove the /flash/config/plugins/unassigned.devices/ folder.

Is it possible to do that from Unraid or the terminal itself, do I need to plug my flash drive into another machine?

 

Nevermind found it!

Edited by Litso

Share this post


Link to post
1 minute ago, Litso said:

Unfortunately, still seeing the same error. Any other ideas?

When you manually mount the SMB share, how long does it take?  More than 10 seconds?

Share this post


Link to post
5 minutes ago, Litso said:

Yea, good call. It took maybe 15-20s.

Ok.  A SMB remote mount should not take that long.  It should be very quick.  Now to understand why it takes so long.  When did this start?  What changed?  Does your remote server have to spin up disks?

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.