<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: &amp;quot;sar -d&amp;quot; devices - how to map to /dev/sdNNN devices? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649779#M41218</link>
    <description>Luv ya Matti.</description>
    <pubDate>Fri, 18 Jun 2010 18:07:29 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2010-06-18T18:07:29Z</dc:date>
    <item>
      <title>"sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649777#M41216</link>
      <description>&lt;!--!*#--&gt;"sar -d" gives out stats like:&lt;BR /&gt;&lt;BR /&gt;[alzhy@envy10 home]$ sar -d|awk '$7&amp;gt;10'|more&lt;BR /&gt;12:00:01 AM       DEV       tps  rd_sec/s  wr_sec/s  avgrq-sz  avgqu-sz     awai&lt;BR /&gt;t     svctm     %util&lt;BR /&gt;12:05:01 AM    dev8-0     65.98      2.27   1025.24     15.57      0.02      0.2&lt;BR /&gt;3      0.12      0.79&lt;BR /&gt;12:05:01 AM    dev8-2     65.98      2.27   1025.24     15.57      0.02      0.2&lt;BR /&gt;3      0.12      0.79&lt;BR /&gt;12:05:01 AM  dev8-240      0.54      0.00     10.73     19.73      0.00      7.4&lt;BR /&gt;4      2.41      0.13&lt;BR /&gt;&lt;BR /&gt;How do I translate devices like "dev8-240" to the usual nomenclature of /dev/sdNNN ?&lt;BR /&gt;&lt;BR /&gt;TIA!&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jun 2010 12:51:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649777#M41216</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-06-18T12:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: "sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649778#M41217</link>
      <description>Most likely "dev8-240" means a device with major number 8 and minor number 240.&lt;BR /&gt;&lt;BR /&gt;Run "ls -l /dev/sd*" and look at the device numbers between the group and the timestamp (regular files would have a file size in that position).&lt;BR /&gt;&lt;BR /&gt;Or look into Linux kernel documentation. If you install the "kernel-doc" package, the documentation files are typically at /usr/share/doc/kernel-doc. You'll want the file named "devices.txt".&lt;BR /&gt;&lt;BR /&gt;The documentation as it exist in the latest released Linux kernel version is available on the Web here:&lt;BR /&gt;&lt;A href="http://www.mjmwired.net/kernel/Documentation/devices.txt" target="_blank"&gt;http://www.mjmwired.net/kernel/Documentation/devices.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Because your command was "sar -d", we know these are block devices. Major number 8 contains the first 16 /dev/sd* disk devices (/dev/sda ... /dev/sdp). The minor number of "whole disk" devices is always divisible by 16.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;dev8-0 = /dev/sda&lt;BR /&gt;dev8-2 = /dev/sda2&lt;BR /&gt;dev8-240 = /dev/sdp&lt;BR /&gt;&lt;BR /&gt;You could also use "sar -dp" instead of "sar -d" to make sar translate the names of most disk devices automatically. Unfortunately it may not translate device-mapper devices (LVM, disk encryption, software RAID, dm-multipath) so you'll still have to figure them out by the major/minor numbers. The output of "dmsetup ls --tree" may be helpful there.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 18 Jun 2010 17:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649778#M41217</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-18T17:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: "sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649779#M41218</link>
      <description>Luv ya Matti.</description>
      <pubDate>Fri, 18 Jun 2010 18:07:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649779#M41218</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-06-18T18:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: "sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649780#M41219</link>
      <description>&lt;!--!*#--&gt;Matti, any idea what those "nodev" devices are?&lt;BR /&gt;&lt;BR /&gt;01:00:01        sddw1     13.89   2788.04    279.07    220.83      0.65     46.62     18.98     26.36&lt;BR /&gt;01:00:01         sddx     14.60   3269.15    315.73    245.51      0.77     52.54     20.08     29.31&lt;BR /&gt;01:00:01        sddx1     14.60   3269.15    315.73    245.51      0.77     52.54     20.08     29.31&lt;BR /&gt;01:00:01        nodev      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00&lt;BR /&gt;01:00:01        nodev      0.00      0.00      0.00      0.00      0.00      0.00      0.00      0.00&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Jun 2010 18:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649780#M41219</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2010-06-18T18:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: "sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649781#M41220</link>
      <description>I don't really know. "nodev" would suggest that they don't really have a device as such.&lt;BR /&gt;&lt;BR /&gt;They probably aren't loop-mounted disk images; as I understand, they would have entries like loop0 ... loop7, if the kernel supports statistics like this for them at all.&lt;BR /&gt;&lt;BR /&gt;They don't seem to be NFS mounts either, based on a quick bit of testing. (That wouldn't have made sense anyway, because NFS client/server interface is not really like a block device at all.)&lt;BR /&gt;&lt;BR /&gt;Perhaps they are statistics slots for LUNs/disks that once existed, but have since then been unpresented/hot-unplugged? The fact that the I/O statistics seem to be all zeroes for them would sort of tentatively agree with this guess.&lt;BR /&gt;&lt;BR /&gt;You might want to take a peek in /proc/diskstats (which is where sar -d gets its information) and /etc/sysstat/sysstat.ioconf (which is used by sar -d to translate the device names) for more clues.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 19 Jun 2010 09:39:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649781#M41220</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2010-06-19T09:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: "sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649782#M41221</link>
      <description>Hi Alzhy,&lt;BR /&gt;I suspect that if you're using SAN disks, that the nodev devices may be Storage controller devices.&lt;BR /&gt;Brendan</description>
      <pubDate>Sat, 19 Jun 2010 22:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/4649782#M41221</guid>
      <dc:creator>Brendan Murphy_5</dc:creator>
      <dc:date>2010-06-19T22:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: "sar -d" devices - how to map to /dev/sdNNN devices?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/6581194#M54642</link>
      <description>&lt;P&gt;sar -p -d&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-p (pretty print)&lt;/P&gt;</description>
      <pubDate>Thu, 21 Aug 2014 10:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/quot-sar-d-quot-devices-how-to-map-to-dev-sdnnn-devices/m-p/6581194#M54642</guid>
      <dc:creator>RomanKunz</dc:creator>
      <dc:date>2014-08-21T10:16:04Z</dc:date>
    </item>
  </channel>
</rss>

