MadZoul Posted February 2, 2020 Share Posted February 2, 2020 Hi i just got a lsi 9271-8i and i tryed everything to get it to format 512 bytes, and i cant get i to se drives in SG_scan so cant format, tryed to flash the controller to 2308 IT mode, cuz i read somewhere some ppl do that, but i failed, i am giving up on my projekt and trashing 12 3TB sas 520bytes drives soon.. writing here in hopes there are someone who can point me in a diriction of a controller that is sure to be able to format the drives.. will this work ? https://www.ebay.de/itm/Fujitsu-Raid-Controller-D2507-C11-GS-1-SAS-SATA-PCIe-D2507-C11-LSI-SAS-1068E/251981232440?epid=2254415229&hash=item3aab407938:g:w-MAAOSwNSxVbdrT hope there is someone out there who can help.. do we have a list of confirmed controllers that can do the 520 to 512 format ? ? Quote Link to comment
spankydog101 Posted February 19, 2020 Share Posted February 19, 2020 I am having some issues using this command for some reason it appears to stop as soon as it trys to format. root@PlexServer:~# sg_format --format --size=512 -v /dev/sg9 inquiry cdb: 12 00 00 00 24 00 HGST HUS724040ALS640 A152 peripheral_type: disk [0x0] PROTECT=1 << supports protection information>> mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 mode sense (10): pass-through requested 252 bytes but got 28 bytes Mode Sense (block descriptor) data, prior to changes: Mode sense number of blocks maxed out, set longlba mode sense (10) cdb: 5a 10 01 00 00 00 00 00 fc 00 mode sense (10): pass-through requested 252 bytes but got 36 bytes Mode Sense (block descriptor) data, prior to changes: <<< longlba flag set (64 bit lba) >>> Number of blocks=7814037168 [0x1d1c0beb0] Block size=512 [0x200] A FORMAT will commence in 10 seconds ALL data on /dev/sg9 will be DESTROYED Press control-C to abort A FORMAT will commence in 5 seconds ALL data on /dev/sg9 will be DESTROYED Press control-C to abort format cdb: 04 18 00 00 00 00 format unit: Descriptor format, current; Sense key: Not Ready Additional sense: Logical unit not ready, initializing command required Descriptor type: Information >> descriptor too short 00 00 00 00 00 00 00 00 00 00 Descriptor type: Command specific 0x0000000000000000 Descriptor type: Sense key specific: Progress indication: 0.00% Descriptor type: Field replaceable unit code=0x0 Descriptor type: Block commands Incorrect Length Indicator (ILI) clear Descriptor type: VendoFormat command, device not ready Quote Link to comment
sota Posted February 20, 2020 Share Posted February 20, 2020 not exactly sure why you're bothering with the -v flag, as it won't do anything. also, did you try the command again a couple minutes later? Quote Link to comment
sota Posted February 20, 2020 Share Posted February 20, 2020 also try: scsi_ready -v /dev/sg9 it should come back with: test unit ready cdb: 00 00 00 00 00 00 ready If not, the drive isn't playing nice with something, or has other issues. Quote Link to comment
spankydog101 Posted February 20, 2020 Share Posted February 20, 2020 11 hours ago, sota said: also try: scsi_ready -v /dev/sg9 it should come back with: test unit ready cdb: 00 00 00 00 00 00 ready If not, the drive isn't playing nice with something, or has other issues. Thanks for the reply soto. This is what comes back with that command. I even tried the format drive command after that and I get the same message as before. root@PlexServer:~# scsi_ready -v /dev/sg9 sg_turs -v /dev/sg9 test unit ready cdb: 00 00 00 00 00 00 test unit ready: Descriptor format, current; Sense key: Not Ready Additional sense: Logical unit not ready, initializing command required Descriptor type: Information >> descriptor too short 00 00 00 00 00 00 00 00 00 00 Descriptor type: Command specific 0x0000000000000000 Descriptor type: Sense key specific: Progress indication: 0.00% Descriptor type: Field replaceable unit code=0x0 Descriptor type: Block commands Incorrect Length Indicator (ILI) clear Descriptor type: Vdevice not ready Quote Link to comment
sota Posted February 20, 2020 Share Posted February 20, 2020 What does the actual label on the disk say? HUS724040ALS640? or HUS72404CLAR4000? I've got a bad feeling you have "branded" and firmware locked disks. Quote Link to comment
spankydog101 Posted February 20, 2020 Share Posted February 20, 2020 It shows HUS724040ALS640 Quote Link to comment
SundarNET Posted May 27, 2020 Share Posted May 27, 2020 On 1/30/2020 at 11:58 AM, Jayroller said: I'm having some problem trying to convert HP SAS drive from 520 to 512 block size using sg_format, Make:HP Model:HMRP4000S can anyone see where I'm going wrong? root@Tower:~# sg_format -v --fmtpinfo=0 --format --size=512 /dev/sg3 HGST HMRP4000S5xnN7.2 3P00 peripheral_type: disk [0x0] PROTECT=1 << supports protection information>> Unit serial number: PBHR336X LU name: 5000cca03b608d44 mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 Mode Sense (block descriptor) data, prior to changes: Mode sense number of blocks maxed out, set longlba mode sense (10) cdb: 5a 10 01 00 00 00 00 00 fc 00 Mode Sense (block descriptor) data, prior to changes: <<< longlba flag set (64 bit lba) >>> Number of blocks=7814037168 [0x1d1c0beb0] Block size=520 [0x208] mode select (10) cdb: 55 11 00 00 00 00 00 00 22 00 mode select (10): transport: Host_status=0x03 [DID_TIME_OUT] Driver_status=0x00 [DRIVER_OK] MODE SELECT command: Sense category: -1 root@Tower:~# any help would be great. try this command sg_format --format --size=512 -v /dev/sg3 Quote Link to comment
SundarNET Posted May 27, 2020 Share Posted May 27, 2020 (edited) On 2/2/2020 at 10:38 PM, MadZoul said: Hi i just got a lsi 9271-8i and i tryed everything to get it to format 512 bytes, and i cant get i to se drives in SG_scan so cant format, tryed to flash the controller to 2308 IT mode, cuz i read somewhere some ppl do that, but i failed, i am giving up on my projekt and trashing 12 3TB sas 520bytes drives soon.. writing here in hopes there are someone who can point me in a diriction of a controller that is sure to be able to format the drives.. will this work ? https://www.ebay.de/itm/Fujitsu-Raid-Controller-D2507-C11-GS-1-SAS-SATA-PCIe-D2507-C11-LSI-SAS-1068E/251981232440?epid=2254415229&hash=item3aab407938:g:w-MAAOSwNSxVbdrT hope there is someone out there who can help.. do we have a list of confirmed controllers that can do the 520 to 512 format ? ? https://www.ebay.com.au/itm/LSI-6Gbps-SAS-HBA-LSI-9200-8i-9211-8i-IT-Mode-ZFS-FreeNAS-unRAID-AU-seller/143058624384 you cant use RAID cards happily with URAID OS Edited May 27, 2020 by SundarNET info addition Quote Link to comment
SundarNET Posted May 6, 2023 Share Posted May 6, 2023 On 1/30/2020 at 11:58 AM, Jayroller said: I'm having some problem trying to convert HP SAS drive from 520 to 512 block size using sg_format, Make:HP Model:HMRP4000S can anyone see where I'm going wrong? root@Tower:~# sg_format -v --fmtpinfo=0 --format --size=512 /dev/sg3 HGST HMRP4000S5xnN7.2 3P00 peripheral_type: disk [0x0] PROTECT=1 << supports protection information>> Unit serial number: PBHR336X LU name: 5000cca03b608d44 mode sense (10) cdb: 5a 00 01 00 00 00 00 00 fc 00 Mode Sense (block descriptor) data, prior to changes: Mode sense number of blocks maxed out, set longlba mode sense (10) cdb: 5a 10 01 00 00 00 00 00 fc 00 Mode Sense (block descriptor) data, prior to changes: <<< longlba flag set (64 bit lba) >>> Number of blocks=7814037168 [0x1d1c0beb0] Block size=520 [0x208] mode select (10) cdb: 55 11 00 00 00 00 00 00 22 00 mode select (10): transport: Host_status=0x03 [DID_TIME_OUT] Driver_status=0x00 [DRIVER_OK] MODE SELECT command: Sense category: -1 root@Tower:~# any help would be great. i think i found out this one its obviosly very late but i just got a bunch of drives and they are protected as well the new command is : sg_format --format --fmtpinfo=0 --size=512 -v /dev/sgXXXX Quote Link to comment
SundarNET Posted May 6, 2023 Share Posted May 6, 2023 On 5/27/2020 at 9:18 PM, SundarNET said: https://www.ebay.com.au/itm/LSI-6Gbps-SAS-HBA-LSI-9200-8i-9211-8i-IT-Mode-ZFS-FreeNAS-unRAID-AU-seller/143058624384 you cant use RAID cards happily with URAID OS I also recently finding the PERC H730 in HBA mode wont register the older protected drives for formatting, ive put them into an old MD1200 and LSI2008 card it mode Quote Link to comment
SundarNET Posted May 6, 2023 Share Posted May 6, 2023 8 minutes ago, SundarNET said: i think i found out this one its obviosly very late but i just got a bunch of drives and they are protected as well the new command is : sg_format --format --fmtpinfo=0 --size=512 -v /dev/sgXXXX and if that doesnt work add --six after size=512 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.