====== SmartArray P822 ====== NOTE: not real HBA mode. It is pseudo-HBA on top of RAID: * SSD DISCARD not working: `its firmware and the hpsa driver do not translate SCSI UNMAP commands into SATA DATA SET MANAGEMENT (TRIM) commands—or they fail to expose the VPD (Vital Product Data) discard parameters to the OS.` * Switch to an LSI IT-Mode HBA (Recommended): the cleanest permanent fix is replacing the P822 with an ''LSI SAS2308'' or SAS3008 based card (such as an HPE H220, Dell H310, or LSI 9207-8i/8e) flashed to IT mode. These use the ''mpt3sas'' driver and handle SATA TRIM translation reliably. * [[https://support.hpe.com/hpesc/public/docDisplay?docId=c03353708#N10012|HPE Smart Array P822 Controller - Overview]] * [[https://support.hpe.com/connect/s/product?language=pl&tab=driversAndSoftware&kmpmoid=7102962#t=DriversandSoftware|Drivers and software]] ===== Linux util ===== * [[https://www.reddit.com/r/homelab/comments/gkuk0d/how_to_monitor_and_modify_hp_smart_array_p822/|How to monitor and modify HP Smart Array (p822) raid cards on non-HP servers - Ubuntu 18.04, and probably other Debian distros]] ===== switch to HBA ===== * [[https://systemausfall.org/wikis/howto/Disable%20HP%20Proliant%20Hardware-RAID|Disable HP Proliant Hardware-RAID]] * [[https://forums.unraid.net/topic/91922-convert-hp-smart-array-controller-to-hba-mode/|Convert HP Smart Array Controller to HBA Mode]] * [[https://serverfault.com/questions/874706/smart-array-p822-with-hba-mode|https://serverfault.com/questions/874706/smart-array-p822-with-hba-mode]]