Sector size problem with seagate 3to st3000nm0023

Jerome001

Cadet
Joined
Jan 21, 2022
Messages
6
Hello, A bit of a novice in the field, I have just acquired a fujitsu dx s2 (it would be netapp behind) with ST3000NM0023 disks. When I try to format, I get this error message.

freenas1.png

freenas2.png

freenas3.png

Do you have an idea of the problem?
I found the order on the net but I can't see if the cdb is correct and I can't find any info on it.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
The problem is that most consumer disks need 512 or 4096 byte sector sizes.

However, some SAN disk enclosures used a sector size of 520. That extra 8 bytes is an additional checksum available to the SAN controller. Similar to ZFS checksums, though not as complete.

There are ways to format a 520 byte sector disk to 512, (or even possibly 4096, depending on the disk). I don't have that handy, as the last time I did that, it was using Solaris and "format -e". I am sure that at least Linux will have a way to perform the task.

Search around for "changing sector size 520". I found this, though I don't know if it will work for you:

Oh, one last comment, all data will be lost in converting from 520 byte sector size to 512. But, you probably already guessed that.
 

Arwen

MVP
Joined
May 17, 2014
Messages
3,611
Sorry, I don't have any further information.
 

Jerome001

Cadet
Joined
Jan 21, 2022
Messages
6
According to the errors I receive during my tests, it would be a problem with reading and writing disks. Do you have any leads? Because I'm a bit stuck here... My card is a SAS9200-8e which already works with a DS4243 netapp. By plugging the Fujitsu DX S2 into the second port of the card, you can clearly see the discs but indeed, it looks like it doesn't know how to read them.
 
Last edited:

HoneyBadger

actually does care
Administrator
Moderator
iXsystems
Joined
Feb 6, 2014
Messages
5,112
How about adding the --six parameter as in

sg_format --format --size=512 --fmtpinfo=0 --six /dev/daXX

Try using --six without --fmtpinfo=0 as well.

Also, between commands (once you're sure there's nothing outstanding on the disk) unrack it/do a hotswap to hard cut the power. That's mandatory after a successful sector size change, but might also be necessary after a failed command. (Trying to get disks to go from 520 to 512 is a bit of a voodoo ritual.)

Is your 9200-8e flashed with full IT mode firmware? IR can sometimes fail to pass the necessary SCSI commands even to a disk that's attached as JBOD/passthrough.[/icode]
 

Jerome001

Cadet
Joined
Jan 21, 2022
Messages
6
Thank you, I did not know this trick to unplug ^^

Unfortunately it was also an error message (with --six and --fmtpinfo, with one or the other only)

1643959764963.png




And when I unplug and replug, another message when I retry the start.
1643961022684.png



The card is well flashed in IT. I already use it for a netapp ds4243 and my commands have been without problem. Here I added this DX440 S2 on this board.
 

Jerome001

Cadet
Joined
Jan 21, 2022
Messages
6
Unfortunately after several searches, I thought I had found a solution but this one does not work yet.


I tried doing a ./setblocksize -b512 -t1200 /dev/sg2 but also got an error about it and can't find any information about it. If anyone has a lead...

1645780641702.png
 
Top