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


Recommended Posts

14 minutes ago, damnshaneisthatu said:

'mount' output:

It is mounted rw.  I don't see any reason why you can't write to the UD disk.  Check your permissions.

 

Try copying files using a Windows or Mac computer and see if you can write the files with SMB.

 

16 minutes ago, damnshaneisthatu said:

Dynamix SSD Trim is already installed.

 

Turn this off:

428646693_Screenshot2022-07-08071300.png.f423b6d4c6dbe49a74224ba00ff1b789.png

Link to comment

I have installed UD and UD+ plugins.

I have installed I have an NTFS disk. It's 4tb.
It won't mount in the UI. The option isn't even there - only `format`.
However, if i manually mount it via the terminal `mount /dev/sda /mnt/usb-custom` it works flawlessly.
But i really want it to work in the UI. Any ideas?

Edited by unalterable
Link to comment

I have UD/UD+ installed and earlier have plugged in an USB SSD, cleared it, and formatted it (using UD) as exFAT. But then when I click mount on that just created partition it fails because of unknown type exFAT, where would the problem be if it could just create it?

 

Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] 500118192 512-byte logical blocks: (256 GB/238 GiB)
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] 4096-byte physical blocks
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Write Protect is off
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Mode Sense: 43 00 00 00
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jul  9 10:58:30 Unraid kernel: sdh: sdh1
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Attached SCSI disk
Jul  9 10:58:31 Unraid kernel: BTRFS: device fsid 3120800b-2a32-48bc-adbd-4b51947998e7 devid 1 transid 700056 /dev/sdh1 scanned by udevd (31982)
Jul  9 10:58:31 Unraid unassigned.devices: Disk with ID 'SanDisk_SD7SN6S-256G-1006_155327401441 (sdh)' is not set to auto mount.
Jul  9 10:58:47 Unraid emhttpd: SanDisk_SD7SN6S-256G-1006_155327401441 (sdh) 512 500118192
Jul  9 10:58:47 Unraid emhttpd: read SMART /dev/sdh
Jul  9 10:59:12 Unraid unassigned.devices: Removing all partitions from disk '/dev/sdh'.
Jul  9 10:59:29 Unraid unassigned.devices: Format device '/dev/sdh'.
Jul  9 10:59:29 Unraid unassigned.devices: Device '/dev/sdh' block size: 500118192.
Jul  9 10:59:29 Unraid unassigned.devices: Clearing partition table of disk '/dev/sdh'.
Jul  9 10:59:29 Unraid unassigned.devices: Reloading disk '/dev/sdh' partition table.
Jul  9 10:59:29 Unraid unassigned.devices: Reload partition table result: /dev/sdh:  re-reading partition table
Jul  9 10:59:29 Unraid unassigned.devices: Creating a 'gpt' partition table on disk '/dev/sdh'.
Jul  9 10:59:29 Unraid kernel: sdh:
Jul  9 10:59:29 Unraid unassigned.devices: Formatting disk '/dev/sdh' with 'exfat' filesystem.
Jul  9 10:59:32 Unraid unassigned.devices: Reloading disk '/dev/sdh' partition table.
Jul  9 10:59:32 Unraid kernel: sdh: sdh1
Jul  9 10:59:32 Unraid unassigned.devices: Reload partition table result: /dev/sdh:  re-reading partition table
Jul  9 10:59:58 Unraid unassigned.devices: Adding partition 'sdh1'...
Jul  9 10:59:58 Unraid unassigned.devices: Mounting partition 'sdh1' at mountpoint '/mnt/disks/256'...
Jul  9 10:59:58 Unraid unassigned.devices: Mount drive command: /sbin/mount -t 'exfat' -o rw,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdh1' '/mnt/disks/256'
Jul  9 10:59:58 Unraid unassigned.devices: Mount of 'sdh1' failed: 'mount: /mnt/disks/256: unknown filesystem type 'exfat'. '

 

 

Link to comment
14 hours ago, zekemdm said:

I have UD 2022.06.10 and am trying to install 2022.07.04. I am receiving 502 bad gateway when I attempt to update or remove. I believe it is inhibiting me from other actions like creating a user, starting a parity check, and creating new shares. I am on unRAID version 6.10.3.

nas-diagnostics-20220709-0106.zip 233.28 kB · 1 download

That appears to be a network issue or a temporary problem with GitHub.  I tried by uninstalling and reinstalling UD and didn't have any issues.

  • Thanks 1
Link to comment
9 hours ago, Panapat said:

Hi, I am now at the stage of uploading data to my Unraid server, unfortunately the only option in my Unassigned 3Tb external drive is to Format. I have checked it has data on a Windows PC, tried both eSata port and USB, I have downloaded the diagnostic file but I couldn't figure out the issue, hope you can help.

tower-diagnostics-20220708-2133.zip 126.72 kB · 0 downloads

According to udev, there is one gpt partition but it is not formatted.  If you can work with the disk on a Windows PC, the disk is foratted in a way Linux doesn't understand.  Where was the disk formatted?

Link to comment
9 hours ago, Kilrah said:

I have UD/UD+ installed and earlier have plugged in an USB SSD, cleared it, and formatted it (using UD) as exFAT. But then when I click mount on that just created partition it fails because of unknown type exFAT, where would the problem be if it could just create it?

 

Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] 500118192 512-byte logical blocks: (256 GB/238 GiB)
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] 4096-byte physical blocks
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Write Protect is off
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Mode Sense: 43 00 00 00
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jul  9 10:58:30 Unraid kernel: sdh: sdh1
Jul  9 10:58:30 Unraid kernel: sd 8:0:0:0: [sdh] Attached SCSI disk
Jul  9 10:58:31 Unraid kernel: BTRFS: device fsid 3120800b-2a32-48bc-adbd-4b51947998e7 devid 1 transid 700056 /dev/sdh1 scanned by udevd (31982)
Jul  9 10:58:31 Unraid unassigned.devices: Disk with ID 'SanDisk_SD7SN6S-256G-1006_155327401441 (sdh)' is not set to auto mount.
Jul  9 10:58:47 Unraid emhttpd: SanDisk_SD7SN6S-256G-1006_155327401441 (sdh) 512 500118192
Jul  9 10:58:47 Unraid emhttpd: read SMART /dev/sdh
Jul  9 10:59:12 Unraid unassigned.devices: Removing all partitions from disk '/dev/sdh'.
Jul  9 10:59:29 Unraid unassigned.devices: Format device '/dev/sdh'.
Jul  9 10:59:29 Unraid unassigned.devices: Device '/dev/sdh' block size: 500118192.
Jul  9 10:59:29 Unraid unassigned.devices: Clearing partition table of disk '/dev/sdh'.
Jul  9 10:59:29 Unraid unassigned.devices: Reloading disk '/dev/sdh' partition table.
Jul  9 10:59:29 Unraid unassigned.devices: Reload partition table result: /dev/sdh:  re-reading partition table
Jul  9 10:59:29 Unraid unassigned.devices: Creating a 'gpt' partition table on disk '/dev/sdh'.
Jul  9 10:59:29 Unraid kernel: sdh:
Jul  9 10:59:29 Unraid unassigned.devices: Formatting disk '/dev/sdh' with 'exfat' filesystem.
Jul  9 10:59:32 Unraid unassigned.devices: Reloading disk '/dev/sdh' partition table.
Jul  9 10:59:32 Unraid kernel: sdh: sdh1
Jul  9 10:59:32 Unraid unassigned.devices: Reload partition table result: /dev/sdh:  re-reading partition table
Jul  9 10:59:58 Unraid unassigned.devices: Adding partition 'sdh1'...
Jul  9 10:59:58 Unraid unassigned.devices: Mounting partition 'sdh1' at mountpoint '/mnt/disks/256'...
Jul  9 10:59:58 Unraid unassigned.devices: Mount drive command: /sbin/mount -t 'exfat' -o rw,noatime,nodiratime,nodev,nosuid,umask=000 '/dev/sdh1' '/mnt/disks/256'
Jul  9 10:59:58 Unraid unassigned.devices: Mount of 'sdh1' failed: 'mount: /mnt/disks/256: unknown filesystem type 'exfat'. '

 

I just rried and it worked for me.  Please post your diagnostics zip file

 

 

Link to comment
5 hours ago, dlandon said:

I just rried and it worked for me.  Please post your diagnostics zip file

 

Thanks, looked at the syslog and found this during initial install of UD+:

 

Quote

Jul  6 21:46:48 Unraid root: Verifying package fuse-exfat-1.3.0-x86_64-1_slonly.txz.
Jul  6 21:46:48 Unraid root: Unable to install /boot/config/plugins/unassigned.devices-plus/packages/fuse-exfat-1.3.0-x86_64-1_slonly.txz:  tar archive is corrupt (tar returned error code 2)

 

Uninstalled and reinstalled, it's fine now :)

 

I have another issue that I've seen mentioned a few times, the smb shares just work... weird.

One drive (WCJ1C9EP) I can't write to over smb, regardless of whether smb security is Public or Yes with RW permissions to the user I use for the other shares (it's xfs encrypted with pool key, Unraid can write to it just fine). Often the client UD shares will show up shared even if share is set to No on them, and ironically I can write to those...

 

Clipboard01.thumb.png.69aff69304cac60560cccd5d8e31a1e5.png

unraid-diagnostics-20220710-0915.zip

Edited by Kilrah
Link to comment
3 hours ago, Kilrah said:

I have another issue that I've seen mentioned a few times, the smb shares just work... weird.

One drive (WCJ1C9EP) I can't write to over smb, regardless of whether smb security is Public or Yes with RW permissions to the user I use for the other shares (it's xfs encrypted with pool key, Unraid can write to it just fine). Often the client UD shares will show up shared even if share is set to No on them, and ironically I can write to those...

Whenever you change the UD SMB Share settings or change the Share switch setting on a device or remote share, there is a delay in the samba settings taking effect.  Unraid has up to a one minute delay in setting the SMB shares after UD makes changes.

Link to comment
10 hours ago, dlandon said:

According to udev, there is one gpt partition but it is not formatted.  If you can work with the disk on a Windows PC, the disk is foratted in a way Linux doesn't understand.  Where was the disk formatted?

I am pretty sure I did it on a Win 10 machine, is there a way around this?

Link to comment
1 hour ago, Panapat said:

I am pretty sure I did it on a Win 10 machine, is there a way around this?

If Linux doesn't see the file system, UD can't mount it.

 

You could put the drive in a Windows PC, share it, and mount it as a remote share using UD.  Then copy the files over the network using SMB,

Link to comment
3 hours ago, dlandon said:

Whenever you change the UD SMB Share settings or change the Share switch setting on a device or remote share, there is a delay in the samba settings taking effect.  Unraid has up to a one minute delay in setting the SMB shares after UD makes changes.

Yes I've seen that, still if I change the samba security settings for example the remote shares become shared even if they're set to no, and I still can't write to that share hours later and after multiple tries...

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.