On 02/19/2015 09:27 AM, Tim Dunphy wrote:
And I want to correlate that to the output of fdisk -l, so that I can feed
the disk partition I want to iostat, how would I go about that?
lvdisplay --maps /dev/mapper/MysqlVG-MysqlVol
That'll show you which PVs are used for the LV. But, just given your
fdisk output, I'd guess that you're going to find that all of the
extents are on /dev/cciss/c0d1p1, and watching that will produce exactly
the same output as watching /dev/mapper/MysqlVG-MysqlVol.
Try it:
iostat -x 2 /dev/mapper/MysqlVG-MysqlVol /dev/cciss/c0d1p1
Or just watch all of your block devices by not naming any:
iostat -x 2
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos