Guest User

santisaez

a guest
Nov 28th, 2008
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.39 KB | None | 0 0
  1. # $Id: 99-san.rules.udev 13 2008-11-28 10:20:32Z santi $
  2. # Set "noop" as I/O scheduler for iSCSI and Fiber Channel devices
  3. ACTION=="add", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-iscsi-*", RUN+="/bin/sh -c 'echo noop > /sys$DEVPATH/queue/scheduler'"
  4. ACTION=="add", ENV{ID_FS_USAGE}!="filesystem", ENV{ID_PATH}=="*-fc-*",    RUN+="/bin/sh -c 'echo noop > /sys$DEVPATH/queue/scheduler'"
Advertisement
Add Comment
Please, Sign In to add comment