Lev

Members
  • Posts

    369
  • Joined

  • Last visited

  • Days Won

    3

Lev last won the day on November 5 2017

Lev had the most liked content!

1 Follower

Recent Profile Visitors

5255 profile views

Lev's Achievements

Contributor

Contributor (5/14)

80

Reputation

  1. I'm out of things to suggest to try in UnRAID. Does it the drive still work and partition OK in Windows? Last option I'd try in Windows is using whatever app Crucial has to wipe the drive and make sure it's got the latest firmware update. Good luck to you.
  2. Show me the output of this command. The -n means it will take no action, it'll just output a list of partitions. wipefs -n /dev/<device>
  3. This command may clear it, be extra sure you point it at the right device. sgdisk -Z /dev/<device>
  4. Yes, you're right @ClintE, I have two servers, the 6.11 server exhibits the problem. The older 6.10 server does not. I upgraded the older 6.10 server to to the current 6.11.5, changed nothing else, now it also exhibit the problem. This is a good clue @dlandon, it's something with how UnRAID changed between 6.10 and 6.11 that's causing the conflict with UD.
  5. @dlandon I can confirm their is some strange behavior with the Friefox browser with UD as @ClintE is reporting. I've been experiencing it for months? and been putting up with it, because I wasn't sure which plug-in was causing it, but finally had some time to look into it more. First I booted into UnRAID safe mode. Problem did not occur. Then I started uninstalling plug-ins one by one... When I uninstall UD, starting the array behaves normally. It's only when UD is installed that this problem occurs. This problem does not occur in safe mode. I tested with MS Edge and cannot reproduce. I don't have Chrome installed to test with. Here's what it looks like... UD is installed, using Firefox, I start the array... once the array is started and the page refreshes, Firefox prompts me with this. Diagnostics attached. I must click 'cancel' or else I'm in for a world of hurt, because the GUI will no longer work and I have to ssh to umount everything and reboot. tower2-diagnostics-20230115-1742.zip
  6. I had the same experience after updating the UD plugin to the latest version just now. All my UD drives had been moved to history. Thanks for the quick fix you provided, it resolved the situation easily.
  7. @dlandon TL:DR Two problematic inconsistencies I've found with the naming convention for disk/by-id/scsi-* Either one or a mix of both maybe the root cause, please check. Supporting research is underneath in how I concluded this. If the _ underscore is being used as a delimiter in UD functions, it does not have strong consistency with SATA and with SCSI there is no consistency in its use in the naming convention for disk/by-id My guess is UD is unaware that the plugin once installed is altering the naming convention of disk/by-id/ specifically for SCSI devices, replacing the expected 'ID_SERIAL' with 'ID_SCSI_SERIAL' as this key is only encountered and present with SCSI disks, not ATA. See UDEVADM output below. UnRAID detection in the drop down list is consistent in naming convention 'ID_MODEL'(not Unique)_'ID_SCSI_SERIAL'(Unique!) in both situations, plugin installed or NOT installed, my guess is the UnRAID detection function may have a conditional IF 'ID_BUS' = 'scsi' then use 'ID_SCSI_SERIAL' instead of 'ID_SERIAL' that aligns with how the plugin also uses 'ID_SCSI_SERIAL'for only SCSI disks. Supporting Research It was not easy to map the two different ID's for the disk that were generated with the plugin installed and with it removed to make this simple table. Why? lsscsi and all it's various command options will not output it, it's UDEVADM and some logic code. Here's what's interesting, and why I'm sharing this... notice the naming convention naming convention is not the same between the SATA drives and the SAS/SCSI drives. In multiple ways. Pay close attention to the underscores between the keys, I think they are the delimiter and this maybe where some function is expecting one or two delimiters to be present to return the expected values. This inconsistency in naming convention looks like something that could cause some problems like what we are seeing. SATA disk disk/by-id/ata-WDC_WD140EDGZ-11B2DA2_3HG65VTN Naming convention: 'ID_BUS'(not Unique)-'ID_SERIAL'(Unique!) root@tower2:~# udevadm info --query=all --name=/dev/sdg P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/host1/target1:0:52/1:0:52:0/block/sdg N: sdg S: disk/by-id/ata-WDC_WD140EDGZ-11B2DA2_3HG65VTN S: disk/by-id/wwn-0x5000cca29dc2d03d S: disk/by-path/pci-0000:01:00.0-scsi-0:0:52:0 E: DEVLINKS=/dev/disk/by-id/ata-WDC_WD140EDGZ-11B2DA2_3HG65VTN /dev/disk/by-id/wwn-0x5000cca29dc2d03d /dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:52:0 E: DEVNAME=/dev/sdg E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host1/target1:0:52/1:0:52:0/block/sdg E: DEVTYPE=disk E: ID_ATA=1 E: ID_ATA_DOWNLOAD_MICROCODE=1 E: ID_ATA_FEATURE_SET_APM=1 E: ID_ATA_FEATURE_SET_APM_ENABLED=0 E: ID_ATA_FEATURE_SET_HPA=1 E: ID_ATA_FEATURE_SET_HPA_ENABLED=1 E: ID_ATA_FEATURE_SET_PM=1 E: ID_ATA_FEATURE_SET_PM_ENABLED=1 E: ID_ATA_FEATURE_SET_PUIS=1 E: ID_ATA_FEATURE_SET_PUIS_ENABLED=0 E: ID_ATA_FEATURE_SET_SECURITY=1 E: ID_ATA_FEATURE_SET_SECURITY_ENABLED=0 E: ID_ATA_FEATURE_SET_SECURITY_ENHANCED_ERASE_UNIT_MIN=65538 E: ID_ATA_FEATURE_SET_SECURITY_ERASE_UNIT_MIN=66774 E: ID_ATA_FEATURE_SET_SMART=1 E: ID_ATA_FEATURE_SET_SMART_ENABLED=1 E: ID_ATA_ROTATION_RATE_RPM=7200 E: ID_ATA_SATA=1 E: ID_ATA_SATA_SIGNAL_RATE_GEN1=1 E: ID_ATA_SATA_SIGNAL_RATE_GEN2=1 E: ID_ATA_WRITE_CACHE=1 E: ID_ATA_WRITE_CACHE_ENABLED=1 E: ID_BUS=ata E: ID_MODEL=WDC_WD140EDGZ-11B2DA2 E: ID_MODEL_ENC=WDC\x20WD140EDGZ-11B2DA2\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20 E: ID_PART_TABLE_TYPE=gpt E: ID_PART_TABLE_UUID=b7673fa9-3326-4df7-a432-ef769fc82c7e E: ID_PATH=pci-0000:01:00.0-scsi-0:0:52:0 E: ID_PATH_TAG=pci-0000_01_00_0-scsi-0_0_52_0 E: ID_REVISION=85.00A85 E: ID_SERIAL=WDC_WD140EDGZ-11B2DA2_3HG65VTN E: ID_SERIAL_SHORT=3HG65VTN E: ID_TYPE=disk E: ID_WWN=0x5000cca29dc2d03d E: ID_WWN_WITH_EXTENSION=0x5000cca29dc2d03d E: MAJOR=8 E: MINOR=96 E: SUBSYSTEM=block E: USEC_INITIALIZED=33560058 SAS/SCSI disk (Plugin NOT installed) Full Identifier: ST12000NM002G_ZLW0QFJV0000C0438211_35000c500ca3d8cbf Naming convention: 'ID_BUS'(not Unique)-'ID_MODEL'(not Unique)_'ID_SCSI_SERIAL'(Unique!)'_'ID_SERIAL'(Unique!) disk/by-id/scsi-35000c500ca3d8cbf (there's not a single _ delimiter) Naming convention: 'ID_BUS'(not Unique)-'ID_SERIAL'(Unique! SAS/SCSI disk (Plugin INSTALLED) Full Identifier: ST12000NM002G_ZLW0QFJV0000C0438211_35000c500ca3d8cbf Naming convention: 'ID_BUS'(not Unique)-'ID_MODEL'(not Unique)_'ID_SCSI_SERIAL'(Unique!)_'ID_SERIAL'(Unique!) disk/by-id/scsi-ST12000NM002G_ZLW0QFJV0000C0438211 (there's one _ delimiter) 'ID_BUS'(not Unique)-'ID_MODEL'(not Unique)_'ID_SCSI_SERIAL'(Unique!) A few things jump out at me... disk/by-id/ naming convention is changed by the plugin to use 'ID_SCSI_SERIAL' instead of 'ID_SERIAL' On a SCSI disk, 'ID_SCSI_SERIAL' is strictly the SCSI serial number integer data type, 'ID_SERIAL' is a data type which appears to a data conversion of the hexidecmal WWN of the disk. See UDEVADM output below for SCSI SAS and then scroll back up to compare against ATA. It's a mess. Comparing the two UDEVADM outputs you'll notice the ATA device where 'ID_SERIAL' returns a long string data type, with _ underscores as delimiters for 2 other data keys, 'ID_MODEL'_'ID_SERIAL_SHORT' Also 'ID_MODEL' WDC contains a _ delimiter with value returned to complicate things further. Ugh. root@tower2:~# udevadm info --query=all --name=/dev/sdk P: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/host1/target1:0:62/1:0:62:0/block/sdk N: sdk S: disk/by-id/scsi-35000c500ca3d8cbf S: disk/by-id/wwn-0x5000c500ca3d8cbf S: disk/by-path/pci-0000:01:00.0-scsi-0:0:62:0 E: DEVLINKS=/dev/disk/by-id/scsi-35000c500ca3d8cbf /dev/disk/by-id/wwn-0x5000c500ca3d8cbf /dev/disk/by-path/pci-0000:01:00.0-scsi-0:0:62:0 E: DEVNAME=/dev/sdk E: DEVPATH=/devices/pci0000:00/0000:00:01.0/0000:01:00.0/host1/target1:0:62/1:0:62:0/block/sdk E: DEVTYPE=disk E: ID_BUS=scsi E: ID_MODEL=ST12000NM002G E: ID_MODEL_ENC=ST12000NM002G\x20\x20\x20 E: ID_PATH=pci-0000:01:00.0-scsi-0:0:62:0 E: ID_PATH_TAG=pci-0000_01_00_0-scsi-0_0_62_0 E: ID_REVISION=E003 E: ID_SCSI=1 E: ID_SCSI_SERIAL=ZLW0QFJV0000C0438211 E: ID_SERIAL=35000c500ca3d8cbf E: ID_SERIAL_SHORT=5000c500ca3d8cbf E: ID_TYPE=disk E: ID_VENDOR=SEAGATE E: ID_VENDOR_ENC=SEAGATE\x20 E: ID_WWN=0x5000c500ca3d8cbf E: ID_WWN_WITH_EXTENSION=0x5000c500ca3d8cbf E: MAJOR=8 E: MINOR=160 E: SUBSYSTEM=block E: USEC_INITIALIZED=33453336 UnRAID detection in the drop down list is consistent in naming convention 'ID_MODEL'(not Unique)_'ID_SCSI_SERIAL'(Unique!) in both situations, see screenshot below, does not matter if plugin installed or NOT installed, it appears as UnRAID has the condition IF 'ID_BUS' = 'scsi' then use 'ID_SCSI_SERIAL' instead of 'ID_SERIAL' is my guess for its detection function.
  8. Here's the output of NOT Installed (left) and Installed (right) and the lines that are different. There are two things going on in this, I'll start with the most straight forward. Lines 15-18 on the left are lines 23-26 on the right, but out of order. These are four unassigned Seagate SAS disks using JBOD pass-through on a LSI 3108 RAID controller. Below is a table I created showing just these four drives in aligned order to make it less confusing. Best to focus on any of these four drives, but I'll explain what other more complicated thing going on is, because it may give you a clue, or it may just confuse you. In that case just ignore what I'm about to say. Lines 19-26 on the left are lines 15-22 on the right, but out of order. These are four logical RAID disks on the same LSI 3108 RAID Controller. All four of these disks are 'Assigned' successfully to UnRAID on the left (plugin Not Installed) but on the right are 'UnAssigned' (plug Installed) because it no longer matches what value UnRAID has stored to flag the disk as 'Assigned'. However as you can see UnRAID is able to detect all the SAS and RAID drives as they are visible in the drop down selection list and makes no difference whether the plug-in is installed or not. screenshot below with dynamix.scsi.device plugin NOT installed. Notice UnRAID assignments and detection is working. UD detection is working. screenshot below with dynamix.scsi.device plugin INSTALLED... Notice UnRAID no longer sees assigned SAS & RAID disks, however detection of those disks is working. UD detection is NOT working.
  9. Not fixed. Same behavior I observed previously. Soon as I installed dynamix.scsi.device plugin the SAS drives that were showing in UD are no longer detected UD. Attached are two diagnostics. One with the dynamix.scsi.device plugin installed, one without it. Hopefully the difference will stand out. tower2-diagnostics-20220104-1236-dynamix.scsi.device REMOVED.zip tower2-diagnostics-20220104-1215-dynamix.scsi.device INSTALLED.zip
  10. will happily test in the coming days 😃 happy others confirmed this issue after I spent so many hours trying to isolate.
  11. I used UnRAID to format the Seagate 12TB SAS disks. but I found what other plug-in is causing the issue of the SAS drives not being detected. So it had nothing to do with how the drive was formatted. The plug-in that is causing the issue for the SAS drives with UD is 'Dynamix SCSI Devices'. I've run this plug-in along with UD for years and never had a issue with SATA drives. But this is my first time with SAS drives, and clearly it's causing some type of confusion. I remove the Dynamix SCSI device plug-in, reboot, and UD detects the SAS drives just fine. If I install the Dynamix SCSI Devices plug-in, the SAS drives in UD immediately disappear from UD. I've reproduced this on two UnRAID servers now with the SAS drives. Dynamix SCSI Devices and the reasons I first used it years ago, may no longer be needed with today's 6.10.x version of UnRAID. So I'm going to move forward and no longer use that plug-in and see what happens.
  12. @dlandon all has been resolved. I formatted and recreated the UnRAID USB drive, installed only UD plug-in. All SAS drives are detected as expected. No clue what could of be conflicting in the previous install. I'll slowly add back the other plug-ins and check. Thanks again for all your help.
  13. Another test. I removed the Areca and disabled the MegaRAID 3108 on the motherboard jumpers. I installed a LSI 2008 HBA card and connected to a backplane. The LSI 3008 HBA is still connected to its backplane. UD cannot detect the Seagate ST12000NM002G drives on either controller. UnRAID can see them. Definitely something about these hard drives metadata is different than UD is expecting.