Search:
|
Browse by category:
|
"Too low max_hw_sectors" on StoreSafe SAN |
||||
For StoreSafe SAN target, if the host send SCSI command size bigger the HBA support, there will be I/O error and the following log message will appear in system log:
***ERROR***: Too low max_hw_sectors 65535 sectors
On Linux:Set the max_sectors_kb value to be lower or equal to the max_hw_sectors_kb
$ echo 32767 > /sys/block/sdX/queue/max_sectors_kb
On Solaris:Option 1:
Modify the system parameter "maxphys".
Note: This parameter will affect all devices on the system
1. Add the following line to /etc/system
set maxphys=32767
2. Reboot the system
Option 2:
Modify the UFS maxcontig value.
Note: this parameter will only affect the particular device (LUN).
$ tunefs -a 4 /dev/dsk/
e.g.
$ tunefs -a 4 /dev/dsk/c1t600C0FF000139DA547A3974F01000000d0s2
|