H740p mini and SAS Intel SSD PX05SMB040

As I mentioned before, so much drama with PERC controllers in HBA-mode. Just swap them out for a Dell HBA330 true IT-mode storage controller. Your future self will thank you. They are cheap to get.
 
Ok i ordered this one finally from Ebay
Dell PERC HBA330 mini mono 12G SAS Storage Controller SSD JBOD pass-through
 
I think i must do the 512b trick to be able to use the drives ?

I compile this utility to format SAS drives to 512-bytes or do a low-level format https://github.com/ahouston/setblocksize

You'll need to install the sg3_utils package.

While doing that, might as install sdparm package and enable the write cache on the SAS drive as root running the following command:

Code:
sdparm -s WCE=1 -S /dev/sd[x]

Where 'x' is the drive letter.
 
  • Like
Reactions: Ertu
I compile this utility to format SAS drives to 512-bytes or do a low-level format https://github.com/ahouston/setblocksize

You'll need to install the sg3_utils package.

While doing that, might as install sdparm package and enable the write cache on the SAS drive as root running the following command:

Code:
sdparm -s WCE=1 -S /dev/sd[x]

Where 'x' is the drive letter.
I should do it to every drive ? have 10 of them
 
Ok done but seems that the first drive isn't enabling cache can you confirm ?

root@px5:~# sdparm -s WCE=1 -S /dev/sg0
/dev/sg0: NETAPP X575_TPM4V400AMD NA04
root@px5:~# sdparm -s WCE=1 -S /dev/sg1
/dev/sg1: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg2
/dev/sg2: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg3
/dev/sg3: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg4
/dev/sg4: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg5
/dev/sg5: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg6
/dev/sg6: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg7
/dev/sg7: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg8
/dev/sg8: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg9
/dev/sg9: TOSHIBA PX05SMB040 5806
root@px5:~# sdparm -s WCE=1 -S /dev/sg0
/dev/sg0: NETAPP X575_TPM4V400AMD NA04

After a reboot i can see all drives on PVE and can do a ZFS raidz2 right now, you are really awesome :cool:
But is the cache enabled ?
 
Last edited: