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


Recommended Posts

22 minutes ago, itimpi said:

Checked with Tom and it seems like a new event is unlikely (at least any time in the near future).

 

Just found out, though, that all mount points are automatically unmounted when a shutdown is in progress so no need for UD to do it explicitly just because the array is being Stopped (unless there is some specific reason that I have missed)!

Not surprised.  Tom has a full plate at the moment.

 

I prefer UD to do its own thing with unmounts.

Link to comment
2 hours ago, smidley said:

I didn't see anything in the logs that looked out of place, but I'm very new to this software.  My logs are attached :)server-diagnostics-20201213-1714.zip

I see one drive with errors over and over:

Dec 13 16:27:36 server kernel: scsi 8:0:0:0: Direct-Access     WD       My Passport 0748 1010 PQ: 0 ANSI: 6
Dec 13 16:27:36 server kernel: sd 8:0:0:0: Attached scsi generic sg8 type 0
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] Write Protect is off
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] Mode Sense: 47 00 10 08
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] No Caching mode page found
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] Assuming drive cache: write through
Dec 13 16:27:36 server kernel: scsi 8:0:0:1: Enclosure         WD       SES Device       1010 PQ: 0 ANSI: 6
Dec 13 16:27:36 server kernel: scsi 8:0:0:1: Attached scsi generic sg9 type 13
Dec 13 16:27:37 server kernel: usb 2-8: USB disconnect, device number 114
Dec 13 16:27:37 server kernel: print_req_error: I/O error, dev sdi, sector 0
Dec 13 16:27:37 server kernel: Buffer I/O error on dev sdi, logical block 0, async page read
Dec 13 16:27:37 server kernel: print_req_error: I/O error, dev sdi, sector 0
Dec 13 16:27:37 server kernel: Buffer I/O error on dev sdi, logical block 0, async page read
Dec 13 16:27:37 server kernel: ldm_validate_partition_table(): Disk read failed.
Dec 13 16:27:37 server kernel: print_req_error: I/O error, dev sdi, sector 0
Dec 13 16:27:37 server kernel: Buffer I/O error on dev sdi, logical block 0, async page read
Dec 13 16:27:37 server kernel: sdi: unable to read partition table
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] Sense not available.
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] 0 512-byte logical blocks: (0 B/0 B)
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] Attached SCSI disk

A disk called My Passport.  It's sdi and there is no sdi in your system.  I do not see the disk in the list of disks in your system.  It's acting like the disk was removed before it was unmounted, but I don't see anywhere that the disk was mounted.  That disk or the USB port has a problem.  You probably will need to reboot the server to clear this up.

 

Did you have this disk in some sort of a drive bay?

Link to comment
1 minute ago, dlandon said:

I see one drive with errors over and over:


Dec 13 16:27:36 server kernel: scsi 8:0:0:0: Direct-Access     WD       My Passport 0748 1010 PQ: 0 ANSI: 6
Dec 13 16:27:36 server kernel: sd 8:0:0:0: Attached scsi generic sg8 type 0
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] 1953458176 512-byte logical blocks: (1.00 TB/931 GiB)
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] Write Protect is off
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] Mode Sense: 47 00 10 08
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] No Caching mode page found
Dec 13 16:27:36 server kernel: sd 8:0:0:0: [sdi] Assuming drive cache: write through
Dec 13 16:27:36 server kernel: scsi 8:0:0:1: Enclosure         WD       SES Device       1010 PQ: 0 ANSI: 6
Dec 13 16:27:36 server kernel: scsi 8:0:0:1: Attached scsi generic sg9 type 13
Dec 13 16:27:37 server kernel: usb 2-8: USB disconnect, device number 114
Dec 13 16:27:37 server kernel: print_req_error: I/O error, dev sdi, sector 0
Dec 13 16:27:37 server kernel: Buffer I/O error on dev sdi, logical block 0, async page read
Dec 13 16:27:37 server kernel: print_req_error: I/O error, dev sdi, sector 0
Dec 13 16:27:37 server kernel: Buffer I/O error on dev sdi, logical block 0, async page read
Dec 13 16:27:37 server kernel: ldm_validate_partition_table(): Disk read failed.
Dec 13 16:27:37 server kernel: print_req_error: I/O error, dev sdi, sector 0
Dec 13 16:27:37 server kernel: Buffer I/O error on dev sdi, logical block 0, async page read
Dec 13 16:27:37 server kernel: sdi: unable to read partition table
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] Sense not available.
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] 0 512-byte logical blocks: (0 B/0 B)
Dec 13 16:27:37 server kernel: sd 8:0:0:0: [sdi] Attached SCSI disk

A disk called My Passport.  It's sdi and there is no sdi in your system.  I do not see the disk in the list of disks in your system.  It's acting like the disk was removed before it was unmounted, but I don't see anywhere that the disk was mounted.  That disk or the USB port has a problem.  You probably will need to reboot the server to clear this up.

 

Did you have this disk in some sort of a drive bay?

Yea that drive is unrelated to the issue I'm having though.  That was a spare 1TB USB drive that I briefly had attached to try to move some data, but the drive was faulty.  The drives I'm trying to mount for this issue are "sdd, sde, sdf" and they are each 8TB drives.

Link to comment
5 minutes ago, smidley said:

Yea that drive is unrelated to the issue I'm having though.  That was a spare 1TB USB drive that I briefly had attached to try to move some data, but the drive was faulty.  The drives I'm trying to mount for this issue are "sdd, sde, sdf" and they are each 8TB drives.

There is nothing in the log that shows any attempt to mount a disk with UD.  How are you trying to mount the disks?

Link to comment
12 minutes ago, dlandon said:

There is nothing in the log that shows any attempt to mount a disk with UD.  How are you trying to mount the disks?

Normally I see a "Mount" button, but for these 3 drives, I only see a "Format" button.  I want to mount them in order to get the data off of them just like I have done with previous drives.

 

image.thumb.png.dbc679f79d90d4dbbe855c50b41102d1.png

Link to comment
6 hours ago, smidley said:

Normally I see a "Mount" button, but for these 3 drives, I only see a "Format" button.  I want to mount them in order to get the data off of them just like I have done with previous drives.

 

image.thumb.png.dbc679f79d90d4dbbe855c50b41102d1.png

There doesn't appear to be a file system on those disks that Linux recognizes.

Link to comment
25 minutes ago, smidley said:

Yea nothing shows up in unraid for some reason, but when I boot into windows, those drives are just NTFS.

What type of NTFS? Simple basic? One partition per drive that covers the entire space?

Look in windows disk management and see, also try doing a disk check in windows, if the NTFS isn't perfectly healthy it probably won't mount in linux.

Link to comment
11 hours ago, jonathanm said:

What type of NTFS? Simple basic? One partition per drive that covers the entire space?

Look in windows disk management and see, also try doing a disk check in windows, if the NTFS isn't perfectly healthy it probably won't mount in linux.

Here's a screenshot of the drives when I'm booted into windows.  It's the G, H, and I drives.  Each has one partition that covers the entire drive.

image.thumb.png.208bafc1a1fc8a5e321ac545c39727e4.png

Link to comment

Hi there! :)

My "unassigned devices" hdd does not spin down automatically while the array devices spin down nicely (see attached image).

  • Cache Dir Plugin uses "include" folders as recommended.
  • Updated all plugins to the latest version.
  • All drives connected to the same HBA

you can spin down/up the array devices by clicking on the dot left to the disk#, could that functionality be added to the unassigned devices plugin where clicking on the icon does nothing. :)

 

1536981479_unassigneddevices.thumb.jpg.792a69e4141379a56a07538a8eef239b.jpg

 

Link to comment
2 hours ago, cholzer said:

My "unassigned devices" hdd does not spin down automatically while the array devices spin down nicely (see attached image).

This feature will be available in 6.9RC2.

2 hours ago, cholzer said:

could that functionality be added to the unassigned devices plugin where clicking on the icon does nothing. :)

This feature is available in 6.9RC1.

  • Like 1
Link to comment
2 hours ago, dlandon said:

Yes.

So I just need to upgrade to 6.9RC1 to get that functionality. Guess I will check the thread about known issues in the RC and if it is worth to wait for the final.
Thank you!

Good thing I RTFM :D
 

Quote

Please remove Unassigned Devices first before upgrading to 6.9-rc1

 

Edited by cholzer
Link to comment
2 hours ago, cholzer said:

So I just need to upgrade to 6.9RC1 to get that functionality. Guess I will check the thread about known issues in the RC and if it is worth to wait for the final.
Thank you!

Good thing I RTFM :D
 

 

Just update to the latest version of UD before you update to RC1 and reboot.

  • Like 1
Link to comment

I tried to mount an remote Synology NAS through nfs or smb and totally messed up wrong slashes and so on.... 😒

After that failed try my plan was to delete the share and do it better once again.

The deletion of the smb went fine but I am unable to delete the nfs share. 

I tried to delete it with the red X, disable Auto Mount and delete it again, nothing worked. The Success Popup showed up every time but nothing changed. 

 

Is it possible to delete this share with the command prompt?

 

The screenshot shows the current undeletable status

 

Thanks

Screenshot 2020-12-16 145059.png

Link to comment
1 hour ago, Bob@unraid said:

I tried to mount an remote Synology NAS through nfs or smb and totally messed up wrong slashes and so on.... 😒

After that failed try my plan was to delete the share and do it better once again.

The deletion of the smb went fine but I am unable to delete the nfs share. 

I tried to delete it with the red X, disable Auto Mount and delete it again, nothing worked. The Success Popup showed up every time but nothing changed. 

 

Is it possible to delete this share with the command prompt?

 

The screenshot shows the current undeletable status

 

Thanks

Screenshot 2020-12-16 145059.png

I don't know where that inappropriate name came from, but UD can't handle that.  I'd like to try to understand how this happened.  It looks like your remote server gave some html code.

 

Please post diagnostics first, then delete the /flash/config/plugins/unassigned.devices/samba_mount.cfg file and reboot.

 

This will remove all of your remote mounts.

Link to comment

Hi guys, I've got UAD and UAD+ installed but running into a bit of a problem: I plugged in an external SSD that I formatted in ExFat and Fat32 - and every-time I try to copy files to it (inside Krusader) I get an error that the that there is not enough room on the disk even though my source is only about 500 MB. 

Yes, destructive mode is enabled. 

 

I formatted it on my Mac, so I thought that my be causing issues....so I a tried to format it via UAD and I can't even find that option!

 

Thanks for any guidance. 

 

 

Link to comment

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.