lkml.org 
[lkml]   [2012]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectMD and rotational attribute

    Hi Neil,

    I guess that something is wrong with MD. If you create a RAID on ssd
    (or scsi_debug in my example) than MD device is reported as rotational.
    Simple example:

    modprobe scsi_debug dev_size_mb=500
    fdisk /dev/sdb
    ...
    mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb{1,2}

    # cat /sys/block/sdb/queue/rotational
    0
    # cat /sys/block/md0/queue/rotational
    1

    It seems like a bug.

    Karel

    --
    Karel Zak <kzak@redhat.com>
    http://karelzak.blogspot.com


    \
     
     \ /
      Last update: 2012-02-20 13:23    [W:0.018 / U:0.128 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site