Aaron_S Posted April 3 Share Posted April 3 Version: 6.12.8 I am trying to add a new hard disk to the array. The hard disk is displayed in the drop-down menu. But when I select the hard disk it jumps back to unassigned. The following message appears in the log. unraid emhttpd: error: assign_device_by_slot, 1967: No such file or directory (2): disk3: already assigned I have already tried all the disk slots and performed a preclear. Any ideas? Apr 3 20:35:04 unraid kernel: md: unRAID driver removed Apr 3 20:35:04 unraid emhttpd: shcmd (178265): /sbin/modprobe md-mod super=/boot/config/super.dat Apr 3 20:35:04 unraid kernel: md: unRAID driver 2.9.27 installed Apr 3 20:35:04 unraid emhttpd: Device inventory: Apr 3 20:35:04 unraid emhttpd: Samsung_SSD_850_PRO_256G_152D00539000-0:3 (sdg) 512 500118192 Apr 3 20:35:04 unraid emhttpd: ST332082_0AS_152D00539000-0:0 (sdd) 512 625142448 Apr 3 20:35:04 unraid emhttpd: ST2000DM_001-1CH164_152D00539000-0:1 (sde) 512 3907029168 Apr 3 20:35:04 unraid emhttpd: WDC_WD40_EFAX-68JH4N1_152D00539000-0:0 (sdb) 512 7814037168 Apr 3 20:35:04 unraid emhttpd: WDC_WD40_EFPX-68C6CN0_152D00539000-0:2 (sdf) 512 7814037168 Apr 3 20:35:04 unraid emhttpd: WDC_WD50_00BPVT-22HXZT3_152D00539000-0:1 (sdc) 512 976773168 Apr 3 20:35:04 unraid emhttpd: CT500P3SSD8_2234E657A5F3 (nvme0n1) 512 976773168 Apr 3 20:35:04 unraid emhttpd: Generic_Flash_Disk_05925434-0:0 (sda) 512 16099328 Apr 3 20:35:04 unraid kernel: mdcmd (1): import 0 sde 64 1953514552 0 ST2000DM_001-1CH164_152D00539000-0:1 Apr 3 20:35:04 unraid kernel: md: import disk0: (sde) ST2000DM_001-1CH164_152D00539000-0:1 size: 1953514552 Apr 3 20:35:04 unraid kernel: mdcmd (2): import 1 sdg 64 250059064 0 Samsung_SSD_850_PRO_256G_152D00539000-0:3 Apr 3 20:35:04 unraid kernel: md: import disk1: (sdg) Samsung_SSD_850_PRO_256G_152D00539000-0:3 size: 250059064 Apr 3 20:35:04 unraid emhttpd: error: assign_device_by_slot, 1967: No such file or directory (2): disk3: already assigned Apr 3 20:35:04 unraid kernel: mdcmd (3): import 2 sdd 64 312571192 0 ST332082_0AS_152D00539000-0:0 Apr 3 20:35:04 unraid kernel: md: import disk2: (sdd) ST332082_0AS_152D00539000-0:0 size: 312571192 Apr 3 20:35:04 unraid kernel: mdcmd (4): import 3 Apr 3 20:35:04 unraid kernel: mdcmd (5): import 4 Apr 3 20:35:04 unraid kernel: mdcmd (6): import 5 Apr 3 20:35:04 unraid kernel: mdcmd (7): import 6 Apr 3 20:35:04 unraid kernel: mdcmd (8): import 7 Apr 3 20:35:04 unraid kernel: mdcmd (9): import 8 Apr 3 20:35:04 unraid kernel: mdcmd (10): import 9 Apr 3 20:35:04 unraid kernel: mdcmd (11): import 10 Apr 3 20:35:04 unraid kernel: mdcmd (12): import 11 Apr 3 20:35:04 unraid kernel: mdcmd (13): import 12 Apr 3 20:35:04 unraid kernel: mdcmd (14): import 13 Apr 3 20:35:04 unraid kernel: mdcmd (15): import 14 Apr 3 20:35:04 unraid kernel: mdcmd (16): import 15 Apr 3 20:35:04 unraid kernel: mdcmd (17): import 16 Apr 3 20:35:04 unraid kernel: mdcmd (18): import 17 Apr 3 20:35:04 unraid kernel: mdcmd (19): import 18 Apr 3 20:35:04 unraid kernel: mdcmd (20): import 19 Apr 3 20:35:04 unraid kernel: mdcmd (21): import 20 Apr 3 20:35:04 unraid kernel: mdcmd (22): import 21 Apr 3 20:35:04 unraid kernel: mdcmd (23): import 22 Apr 3 20:35:04 unraid kernel: mdcmd (24): import 23 Apr 3 20:35:04 unraid kernel: mdcmd (25): import 24 Apr 3 20:35:04 unraid kernel: mdcmd (26): import 25 Apr 3 20:35:04 unraid kernel: mdcmd (27): import 26 Apr 3 20:35:04 unraid kernel: mdcmd (28): import 27 Apr 3 20:35:04 unraid kernel: mdcmd (29): import 28 Apr 3 20:35:04 unraid kernel: mdcmd (30): import 29 sdf 64 3907018532 0 WDC_WD40_EFPX-68C6CN0_152D00539000-0:2 Apr 3 20:35:04 unraid kernel: md: import disk29: (sdf) WDC_WD40_EFPX-68C6CN0_152D00539000-0:2 size: 3907018532 Apr 3 20:35:04 unraid emhttpd: import 30 cache device: (nvme0n1) CT500P3SSD8_2234E657A5F3 Apr 3 20:35:04 unraid emhttpd: import flash device: sda Apr 3 20:35:04 unraid root: Submitting SysDrivers Build Apr 3 20:35:05 unraid SysDrivers: SysDrivers Build Starting Apr 3 20:35:05 unraid emhttpd: read SMART /dev/nvme0n1 Apr 3 20:35:05 unraid emhttpd: read SMART /dev/sda Apr 3 20:35:16 unraid SysDrivers: SysDrivers Build Complete Quote Link to comment
trurl Posted April 3 Share Posted April 3 Attach Diagnostics to your NEXT post in this thread. Quote Link to comment
trurl Posted April 3 Share Posted April 3 11 minutes ago, Aaron_S said: import disk1: (sdg) Samsung_SSD Not necessarily related, but SSDs in the parity array cannot be trimmed, and can only be written at parity speed. Quote Link to comment
Aaron_S Posted April 3 Author Share Posted April 3 53 minutes ago, trurl said: Not necessarily related, but SSDs in the parity array cannot be trimmed, and can only be written at parity speed. Yes, I know. I've only been using unRAID for a short time, and I've started with a few old hard drives and SSD`s that I wasn't using. unraid-diagnostics-20240403-2147.zip Quote Link to comment
Solution JorgeB Posted April 4 Solution Share Posted April 4 Problem is the USB enclosure, it's making all the devices have the same apparent serial number, note the end numbers are all the same, that should be the serial number: Apr 3 20:35:04 unraid emhttpd: ST2000DM_001-1CH164_152D00539000 Apr 3 20:35:04 unraid emhttpd: WDC_WD40_EFAX-68JH4N1_152D00539000 Apr 3 20:35:04 unraid emhttpd: WDC_WD40_EFPX-68C6CN0_152D00539000 Apr 3 20:35:04 unraid emhttpd: WDC_WD50_00BPVT-22HXZT3_152D00539000 Also note that USB for array/pools is not recommended for other reasons. Quote Link to comment
Aaron_S Posted April 4 Author Share Posted April 4 10 hours ago, JorgeB said: Problem is the USB enclosure, it's making all the devices have the same apparent serial number, note the end numbers are all the same, that should be the serial number: Apr 3 20:35:04 unraid emhttpd: ST2000DM_001-1CH164_152D00539000 Apr 3 20:35:04 unraid emhttpd: WDC_WD40_EFAX-68JH4N1_152D00539000 Apr 3 20:35:04 unraid emhttpd: WDC_WD40_EFPX-68C6CN0_152D00539000 Apr 3 20:35:04 unraid emhttpd: WDC_WD50_00BPVT-22HXZT3_152D00539000 Also note that USB for array/pools is not recommended for other reasons. Thanks for the tip. You could be right. I have two USB enclosures and so I have the scsi id's 0:0 and 0:1 twice for the same serial number 1. Enclosure [1:0:0:0] disk WDC WD40 EFAX-68JH4N1 0125 /dev/sdb [1:0:0:1] disk WDC WD50 00BPVT-22HXZT3 0125 /dev/sdc 2. Enclosure [2:0:0:0] disk ST332082 0AS 0125 /dev/sdd [2:0:0:1] disk ST2000DM 001-1CH164 0125 /dev/sde [2:0:0:2] disk WDC WD40 EFPX-68C6CN0 0125 /dev/sdf [2:0:0:3] disk Samsung SSD 850 PRO 256G 0125 /dev/sdg Disks in the array: ST2000DM_001-1CH164_152D00539000-0:1 (sde) WDC_WD40_EFPX-68C6CN0_152D00539000-0:2 (sdf) Samsung_SSD_850_PRO_256G_152D00539000-0:3 (sdg) ST332082_0AS_152D00539000-0:0 (sdd) Unassigned Disks: WDC_WD40_EFAX-68JH4N1_152D00539000-0:0 (sdb) WDC_WD50_00BPVT-22HXZT3_152D00539000-0:1 (sdc) Quote Link to comment
JorgeB Posted April 5 Share Posted April 5 13 hours ago, Aaron_S said: I have two USB enclosures and so I have the scsi id's 0:0 and 0:1 twice for the same serial number Yep, that's the problem. Quote Link to comment
Aaron_S Posted April 5 Author Share Posted April 5 11 hours ago, JorgeB said: Yep, that's the problem. The serial number is displayed correctly in the unraid gui under "Identity". Quote Link to comment
JorgeB Posted April 6 Share Posted April 6 14 hours ago, Aaron_S said: The serial number is displayed correctly in the unraid gui under "Identity". Yes, but that comes from SMART, and that's not what Unraid uses to list the devices, to Unraid they look like this: Apr 2 20:52:59 unraid emhttpd: Device inventory: Apr 2 20:52:59 unraid emhttpd: Samsung_SSD_850_PRO_256G_152D00539000-0:3 (sdg) 512 500118192 Apr 2 20:52:59 unraid emhttpd: ST332082_0AS_152D00539000-0:0 (sdd) 512 625142448 Apr 2 20:52:59 unraid emhttpd: ST2000DM_001-1CH164_152D00539000-0:1 (sde) 512 3907029168 Apr 2 20:52:59 unraid emhttpd: WDC_WD40_EFAX-68JH4N1_152D00539000-0:0 (sdb) 512 7814037168 Apr 2 20:52:59 unraid emhttpd: WDC_WD40_EFPX-68C6CN0_152D00539000-0:2 (sdf) 512 7814037168 Apr 2 20:52:59 unraid emhttpd: WDC_WD50_00BPVT-22HXZT3_152D00539000-0:1 (sdc) 512 976773168 Apr 2 20:52:59 unraid emhttpd: CT500P3SSD8_2234E657A5F3 (nvme0n1) 512 976773168 Apr 2 20:52:59 unraid emhttpd: Generic_Flash_Disk_05925434-0:0 (sda) 512 16099328 So it won't see the devices with the same reported serial, e.g., both devices that show 152D00539000-0:3 will be considered the same device. Quote Link to comment
Recommended Posts
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.