Correct way to change I/O scheduler in a iSCSI dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

What's the correct way to change configuration parameters for an iSCSI
device? For example I/O scheduler, max_sectors_kb, etc...

I could add commands to the S99local script:

  echo noop > /sys/block/sdb/queue/scheduler
  echo 64 > /sys/block/sdb/queue/max_hw_sectors_kb

Unfortunately, iSCSI device names might change from sdb to, say, sdc
(server reboot, iSCSI target reconnection). If this happens, customizations
would be lost or applied to a different device.

Any workaround for this using centOS? sysctl, udev, anything else? It also
may be applied to Fiber Channel devices..

Thanks!

-- 
Santi Saez
http://woop.es

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux