Disk rescan will change max_sectors_kb to default value
Issue
- How to make max_sectors_kb persistent for multipath devices. In multipath.conf, max_sectors_kb 4096 was defined. After doing 'systemctl reload multipathd' value of max_sectors_kb turn to 4096 for all disks (the disk sdc is taken for an example).
If performing disk rescan for sdc , max_sectors_kb will turn back to default value 512
# cat /sys/block/sdc/queue/max_sectors_kb
4096
# echo 1 > /sys/devices/pci0000:00/0000:00:01.0/0000:04:00.0/host0/rport-0:0-0/target0:0:0/0:0:0:1/rescan
# cat /sys/block/sdc/queue/max_sectors_kb
512
-
The issue was seen on RHEL7.3 but not observed on RHEL7.2.
-
How to make make max_sectors_kb parameter persistence ?
Environment
- Red Hat Enterprise Linux 7.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.