Find the answer to your Linux question:
Results 1 to 3 of 3
Hello all, I have a very strange problem, we've got 2 SSD drives here is some info on the system etc: Code: OS: Centos 6 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2008
    Posts
    4

    Question Unable to set scheduler to noop


    Hello all,
    I have a very strange problem, we've got 2 SSD drives here is some info on the system etc:

    Code:
    OS: Centos 6
    2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux
    Code:
    fdisk /dev/sdb -l
    
    Disk /dev/sdb: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000c2827
    
       Device Boot      Start         End      Blocks   Id  System
    /dev/sdb1               1       13374   107426623+  83  Linux

    when I try doing "echo noop /sys/block/sdb/queue/scheduler"
    it doesn't do anything

    and then I found something interesting in the /var/log/messages :
    Code:
    Jul 19 09:00:32 173-231-59-66 kernel: sdc: sdc1
    Jul 19 09:01:24 173-231-59-66 kernel: EXT4-fs (sdc1): mounted filesystem with ordered data mode
    Jul 19 09:07:17 173-231-59-66 kernel: elevator: type noop anticipato not found
    Jul 19 09:07:17 173-231-59-66 kernel: elevator: switch to noop anticipatory deadline [cfq]
    Any ideas on what the issue is ?

    Thank you !

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,760
    when I try doing "echo noop /sys/block/sdb/queue/scheduler"
    Use a valid command?

    Linux Change The I/O Scheduler For A Hard Disk

    And check the results?

    Code:
    cat /sys/block/sda/queue/scheduler

  3. #3
    Just Joined!
    Join Date
    Oct 2008
    Posts
    4
    cat /sys/block/sdb/queue/scheduler
    noop anticipatory deadline [cfq]

    UHHH DUH, missing ">"

    MY BAD !

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •