Switch to full style
Data recovery and disk repair questions and discussions related to old-fashioned SATA, SAS, SCSI, IDE, MFM hard drives - any type of storage device that has moving parts
Post a reply

EMC SAS Drive and sg_format aborted

October 1st, 2020, 16:13

Hi all,

I hope you will be able to help me a bit... I'm going crazy...
I setuped a server with a HP SAS controller (P410 / P441 / P812). When I insert a drive in a Dell/EMC enclosure (ES30) I can see the disks and format them with sg_format to get the 512b sector size. Then I can use the drive on any RAID controller and create a JBOD.

BUT...

On my server I did not figured out... the shell has a timeout... I started to sg_format some drives (2TB SAS 7,2k) using the server console (and not a screen shell...)
I just found that the SG_format command is killed... and now my kernel did not recognize the drive: no sg device created.... and HP RAID controllers cannot find the physical disks using hpssacli ...

I connected the disks to a LSI MegaRAID SAS 9286CV-8e, the disks are shown... with a size of 0 B...
Code:
PD LIST :
=======

-----------------------------------------------------------------------------
EID:Slt DID State  DG     Size Intf Med SED PI SeSz Model            Sp Type
-----------------------------------------------------------------------------
63:0     70 UGood  -  1.818 TB SAS  HDD N   N  512B ST2000NMCLAR2000 U  -
63:1     65 UGood  -  1.818 TB SATA HDD N   N  512B ST2000NP0011     U  -
63:2     62 UGUnsp -      0 KB SAS  HDD N   N  512B STTBSND1CLAR1200 U  -
63:3     61 UGUnsp -      0 KB SAS  HDD N   N  512B STTBSND1CLAR1200 U  -
63:5     64 UGUnsp -      0 KB SAS  HDD N   N  512B ST2000NMCLAR2000 U  -
63:6     66 UGUnsp -      0 KB SAS  HDD N   N  512B ST2000NMCLAR2000 U  -
63:7     68 UGUnsp -      0 KB SAS  HDD N   N  512B ST2000NMCLAR2000 U  -
63:8     69 UGUnsp -      0 KB SAS  HDD N   N  512B ST2000NXCLAR2000 U  -
63:9     67 UGUnsp -      0 KB SAS  HDD N   N  512B ST2000NMCLAR2000 U  -
-----------------------------------------------------------------------------



Can someone help me to figured out this issue? has no sg commands can be ran, may be you have a trick for me...

Hope you will help me ;)

Have a nice evening.

Re: EMC SAS Drive and sg_format aborted

October 7th, 2020, 3:44

NObody has an idea ? :(

Re: EMC SAS Drive and sg_format aborted

October 9th, 2020, 12:11

Hi tekman54190! Which drive model it is? I saw article about sector size changing. Maybe it can help you: https://blog.acelaboratory.com/pc-3000- ... iting.html

Re: EMC SAS Drive and sg_format aborted

October 9th, 2020, 15:07

Do the drives spin up?

Re: EMC SAS Drive and sg_format aborted

December 28th, 2021, 14:44

Hi both of you.

Sorry I did not saw your posts.... and I'm back 1 year later :D :D

So yes the disks are up and rotating, this is just an issue of sector count I guess.

I'll have a look to the app you mention earlier but I need a windows server which I don't have for the moment :(

Keep you posted.

Re: EMC SAS Drive and sg_format aborted

December 29th, 2021, 13:01

That's not just an "app" that was referenced, that's a full-blown PC-3000 SAS system. It'd cost you 100x less to just scrap the drives and buy new ones than to purchase one of those.

I'd try using the sg_format command that's part of linux sg3-utils package and see if that gets you anywhere: https://manpages.debian.org/testing/sg3 ... .8.en.html

Re: EMC SAS Drive and sg_format aborted

July 23rd, 2022, 17:04

Aborted format on a SCSI or SAS drive means that drive will abort almost all commands with "medium format corrupted" error. You can easily fix that by running the format command again. RAID cards will probably not allow you to access such drive so get a SAS HBA (or a controller that can be flashed with HBA firmware) instead (eBay).
Post a reply