Giter Club home page Giter Club logo

Comments (13)

DavidXanatos avatar DavidXanatos commented on June 24, 2024 1

Well I saved almost 50% on these drives all new <100h work so I can afford a couple raid controllers for what I saved ;)
Thanks for the help.

from toolbin.

vonericsen avatar vonericsen commented on June 24, 2024

Hi @DavidXanatos,

Can you provide the full verbose output?
The command will be something like this
SeaChest_Format_x64_windows_R.exe -d arc:0:0:0 --formatUnit 512 --fastFormat 1 --confirm this-will-erase-data -v4 > verbose.txt
Then attach that output verbose file so I can look at it and figure out which command is failing in the process.

from toolbin.

DavidXanatos avatar DavidXanatos commented on June 24, 2024

sure her you go:

==========================================================================================
 SeaChest_Format - Seagate drive utilities - RAID Enabled - NVMe Enabled
 Copyright (c) 2014-2021 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
 SeaChest_Format Version: 2.3.1-2_2_3 X86_64
 Build Date: Jun 17 2021
 Today: Fri Jan 21 18:34:20 2022	User: Admin (admin)
==========================================================================================
Sending SCSI Inquiry

  CDB:

        0  1  2  3  4  5  
  0x00 12 00 00 00 60 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 1.58

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 07 32 9F 01 10 02 49 42 4D 2D 45 53 58 53   ...2....IBM-ESXS
  0x10 53 54 31 30 30 30 30 4E 4D 30 35 37 38 20 45 20   ST10000NM0578 E 
  0x20 45 43 48 38 5A 50 57 30 37 35 41 34 45 43 48 38   ECH8ZPW075A4ECH8
  0x30 45 43 48 38 45 43 48 38 00 20 00 A2 0C 60 20 E0   ECH8ECH8. ...` .
  0x40 04 60 04 C0 00 00 00 00 00 00 00 00 00 00 00 00   .`..............
  0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Report LUNs

  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  
  0x00 A0 00 00 00 00 00 00 00 00 08 00 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 2.35

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 08 00 00 00 00                           ........


Report LUNs returning: SUCCESS

Sending SCSI Inquiry, VPD = 00h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 00 00 60 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 2.05

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 00 17 00 03 80 83 86 87 88 8A 8D 90 91 B0   ................
  0x10 B1 B2 C0 C1 C2 C3 C4 C7 C8 D1 D2 00 00 00 00 00   ................
  0x20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Inquiry, VPD = 80h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 80 00 18 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 1.96

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 80 00 14 5A 50 57 30 37 35 41 34 30 30 30 30   ....ZPW075A40000
  0x10 43 30 32 31 46 31 38 47                           C021F18G


Inquiry returning: SUCCESS

Sending SCSI Inquiry, VPD = 83h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 83 00 60 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 1.97

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 83 00 48 01 03 00 08 50 00 C5 00 C9 C9 A0 13   ...H....P.......
  0x10 61 93 00 08 50 00 C5 00 C9 C9 A0 11 61 94 00 04   a...P.......a...
  0x20 00 00 00 01 61 A3 00 08 50 00 C5 00 C9 C9 A0 10   ....a...P.......
  0x30 03 28 00 18 6E 61 61 2E 35 30 30 30 43 35 30 30   .(..naa.5000C500
  0x40 43 39 43 39 41 30 31 30 00 00 00 00 00 00 00 00   C9C9A010........
  0x50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Inquiry, VPD = B1h

  CDB:

        0  1  2  3  4  5  
  0x00 12 01 B1 00 40 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 1.94

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 B1 00 3C 1C 20 00 12 00 00 00 00 00 01 1B 98   ...<. ..........
  0x10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
  0x30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Inquiry returning: SUCCESS

Sending SCSI Read Capacity 10 command

  CDB:

        0  1  2  3  4  5  6  7  8  9  
  0x00 25 00 00 00 00 00 00 00 00 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 1.49

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  
  0x00 90 83 FF FF 00 00 10 00                           ........


Read Capacity 10 returning: SUCCESS

Sending SCSI Read Capacity 16 command

  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 9E 10 00 00 00 00 00 00 00 00 00 00 00 20 00 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 1.49

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 00 00 00 90 83 FF FF 00 00 10 00 00 00 00 00   ................
  0x10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................


Read Capacity 16 returning: SUCCESS


arc:0:0:0 - ST10000NM0578 E - ZPW075A40000C021F18G - SCSI
Format Unit
Requesting SCSI Supported Op Codes

  CDB:

        0  1  2  3  4  5  6  7  8  9  A  B  
  0x00 A3 0C 01 04 00 00 00 00 00 0A 00 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 2.36

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  
  0x00 00 03 00 06 04 FF 00 FF 01 00                     ..........


Supported Op Codes returning: SUCCESS

Sending SCSI Mode Sense 10, page 0x00

  CDB:

        0  1  2  3  4  5  6  7  8  9  
  0x00 5A 10 00 00 00 00 00 00 18 00 

Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 2.45

	  Data Buffer being returned:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 28 00 10 01 00 00 10 00 00 00 00 90 84 00 00   .(..............
  0x10 00 00 00 00 00 00 10 00                           ........


Mode Sense 10 returning: SUCCESS

Sending SCSI Mode Select 10

  CDB:

        0  1  2  3  4  5  6  7  8  9  
  0x00 55 01 00 00 00 00 00 00 18 00 

	  Data Buffer being sent:

        0  1  2  3  4  5  6  7  8  9  A  B  C  D  E  F  
  0x00 00 28 00 10 01 00 00 10 FF FF FF FF FF FF FF FF   .(..............
  0x10 00 00 00 00 00 00 02 00                           ........


Sending command with send_IO

  Sense Data Buffer:

        0  1  2  3  4  5  6  7  
  0x00 00 00 00 00 00 00 00 00 


Sense Key: 0h = No Error
ASC & ASCQ: 0h - 0h = No Additional Sense Information
FRU: 0h = No Additional Information
Information: 0000000000000000h
Command Specific Information: 0000000000000000h
Command Time (ms): 25.26

Mode Select 10 returning: OS PASSTHROUGH FAILURE

Format Unit Failed!

from toolbin.

vonericsen avatar vonericsen commented on June 24, 2024

Thanks for the verbose info.
The mode select 10 command is what sets the blocksize at the end, and the data all looks correct, but the RAID API being used returned an error, so I don't see if the drive responded with any specific error (Which is why it returned OS_PASSTHROUGH_FAILURE).
It is possible that the RAID blocked the command, but it doesn't give us that information.

Since you configured the drive as a passthrough device, does it show up in the -s output with a handle beginning with PD? Or does it only show with the arc:0:0:0 handle? If it shows with PD?, can you also try it with that handle?

This also seems similar to #21 who also tried this on an Adaptec controller from Windows, and ended up having it work in Linux. The USB boot key should work and I believe it will find this device with a /dev/sg? handle if you try that.

from toolbin.

DavidXanatos avatar DavidXanatos commented on June 24, 2024

no it only shows arc, the be exact I did not configure anything, the controller default is to just pass the disk through unless its initialized.
And the device manager detects the drive properly i.e. it shows it as what it is a not some generic raid device like raid volumes are shown.

It is not showed with a PD? handle though :/

I could try one of the on board SAS ports, but IIRC those are quite old and quite probably don't support 4k sector drives, or is that irrelevant when only trying to send a few commands, I could configure those ports to AICH so no raid or anything.

Should I try that? before I try linux...

from toolbin.

vonericsen avatar vonericsen commented on June 24, 2024

I have not used an old SAS controller in a while, but to the best of my knowledge it should not care as long as the OS supports the 4k size. I would give it a try.
The 4k sector size affects only read and write commands. Even XP had some 4k drive support as that is what USB drives emulated to get past the 2TB limit back then. So these other commands should not be affected.

I know some RAID controllers can be picky about what they allow or do not allow, but it could still be a weird thing from the drive...I do not know since the API did not get the raw drive response in the sense data which could help me figure it out better.

If you switch it and still do not see them show up, can you share what you do see in the -s output?

After that the next best thing I can recommend is trying Linux to see if it is able to communicate better. The SeaChest package on seagate.com includes a exe to write a Linux to a USB that can be booted and should come up and dump a list of what drives were found in the system. All SeaChest commands will be available from that command line too and the only major difference should be the device handle that is used.

from toolbin.

DavidXanatos avatar DavidXanatos commented on June 24, 2024

the onboard controller does not seam to see the drive at all :(
I'll try the linux option now , you mean this tool right: SeaChestUtilities\USB boot maker..

from toolbin.

DavidXanatos avatar DavidXanatos commented on June 24, 2024

unfortunately it does not work with the linux tool eider
grafik

from toolbin.

DavidXanatos avatar DavidXanatos commented on June 24, 2024

@vonericsen does the screenshot tells you something helpful?

from toolbin.

vonericsen avatar vonericsen commented on June 24, 2024

Thanks for the output.
The drive response is saying it does not like the request to change to a 512B sector.
I don't know why though.

I'll see if I can figure out who might know why that is happening.
For a long time drives were sold as either 512 or 4k logical sector size and you couldn't switch between them, then fast format was developed to allow this.
This drive does not seem too old, so it might be some other unique firmware configuration or something else may be going on.

from toolbin.

DavidXanatos avatar DavidXanatos commented on June 24, 2024

The drive is IBM labeled so perhaps they have some customization in the firmware :(

It would be great if the issue could be resolved.

But I think I'll just take that as a hint to stock up on one or two more modern RAID controller's that can handle 4k, that has much better performance then emulated anyways.

from toolbin.

vonericsen avatar vonericsen commented on June 24, 2024

Hi @DavidXanatos,

I asked one of the firmware team leads about this and this IBM firmware is locked to 4k sector sizes on this product. I do not know if other products with IBM firmware have this same limitation or not.
Standard OEM drives do not have these limitations since they are not dictated by specific customer requirements and contracts.
Sorry for the sad news!

from toolbin.

vonericsen avatar vonericsen commented on June 24, 2024

That sounds like a good deal! 👍

I'm going to add an additional warning to the "showSupportedFormats" output to mention that other customer firmwares may have additional restrictions on what sector sizes are allowed. Still working out the details on that messaging, but it will roll into the next update to these tools.

from toolbin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.