Установил в домашний сервер контроллер с модулем AFM-600. На сервере работает Proxmox 6.2.
Включил кэширование записи командой
arcconf SETCACHE 1 LOGICALDRIVE 0 wbb. Из-за глюка ИБП несколько раз сервер выключался нештатно, и каждый раз бьются данные на диске (таблицы MySQL InnoDB, LVM встаёт в ошибку, не говоря уже об ошибках на EXT4). Что это, нерабочий кэш, или я что-то не так настроил?
Вывод
arrconf getconfig 1:
Controllers found: 1
----------------------------------------------------------------------
Controller information
----------------------------------------------------------------------
Controller Status : Optimal
Channel description : SAS/SATA
Controller Model : Adaptec 6405T
Controller Serial Number : 1A5111DBD6E
Physical Slot : 16
Temperature : 58 C/ 136 F (Normal)
Installed memory : 512 MB
Copyback : Disabled
Background consistency check : Enabled
Automatic Failover : Enabled
Global task priority : High
Performance Mode : Default/Dynamic
Stayawake period : Disabled
Spinup limit internal drives : 0
Spinup limit external drives : 0
Defunct disk drive count : 0
Logical devices/Failed/Degraded : 1/0/0
NCQ status : Enabled
Statistics data collection mode : Enabled
--------------------------------------------------------
Controller Version Information
--------------------------------------------------------
BIOS : 5.3-0 (19204)
Firmware : 5.3-0 (19204)
Driver : 1.2-1 (50877)
Boot Flash : 0.0-0 (19204)
--------------------------------------------------------
Controller ZMM Information
--------------------------------------------------------
Status : ZMM Optimal
----------------------------------------------------------------------
Logical device information
----------------------------------------------------------------------
Logical device number 0
Logical device name : arr1
RAID level : 1
Status of logical device : Optimal
Size : 1904630 MB
Read-cache mode : Enabled
Write-cache mode : Enabled (write-back)
Write-cache setting : Enabled (write-back) when protected by battery/ZMM
Partitioned : Yes
Protected by Hot-Spare : No
Bootable : Yes
Failed stripes : No
Power settings : Disabled
--------------------------------------------------------
Logical device segment information
--------------------------------------------------------
Segment 0 : Present (Controller:1,Connector:0,Device:0) WD-WMC300808700
Segment 1 : Present (Controller:1,Connector:0,Device:1) MK0273YGJ93BVC
----------------------------------------------------------------------
Physical Device information
----------------------------------------------------------------------
Device #0
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SATA 6.0 Gb/s
Reported Channel,Device(T:L) : 0,0(0:0)
Reported Location : Connector 0, Device 0
Vendor : ATA
Model : WDC WD20EFRX-68A
Firmware : 80.00A80
Serial number : WD-WMC300808700
Size : 1907729 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off
NCQ status : Enabled
Device #1
Device is a Hard drive
State : Online
Supported : Yes
Transfer Speed : SATA 6.0 Gb/s
Reported Channel,Device(T:L) : 0,1(1:0)
Reported Location : Connector 0, Device 1
Vendor : ATA
Model : Hitachi HUA72302
Firmware : MK7OAA10
Serial number : MK0273YGJ93BVC
Size : 1907728 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off,Reduced rpm
NCQ status : Enabled
Device #2
Device is a Hard drive
State : Online (JBOD)
Supported : Yes
Transfer Speed : SATA 6.0 Gb/s
Reported Channel,Device(T:L) : 0,3(3:0)
Reported Location : Connector 0, Device 3
Vendor : ATA
Model : Hitachi HDS72302
Firmware : MN6OAA10
Serial number : MN1270FA11896D
Size : 1907729 MB
Write Cache : Disabled (write-through)
FRU : None
S.M.A.R.T. : No
S.M.A.R.T. warnings : 0
Power State : Full rpm
Supported Power States : Full rpm,Powered off,Reduced rpm
NCQ status : Enabled
Command completed successfully.