How does one view the dm-{n} names wrt the actual dev names? I assume it involves dmsetup but I cant figure it out. I am using iostat to track some busy disk io and don't know which dm-{n} to watch :) Thanks! jlc
On Mon, 9 Jun 2008, Joseph L. Casale wrote:> How does one view the dm-{n} names wrt the actual dev names? > I assume it involves dmsetup but I cant figure it out. I am using iostat > to track some busy disk io and don't know which dm-{n} to watch :) > > Thanks! > jlctry multipath -ll ------------------------------------------------------------------------ Jim Wildman, CISSP, RHCE jim at rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine
On Mon, Jun 9, 2008 at 8:31 PM, Joseph L. Casale <JCasale at activenetwerx.com> wrote:> How does one view the dm-{n} names wrt the actual dev names? > I assume it involves dmsetup but I cant figure it out. I am using iostat > to track some busy disk io and don't know which dm-{n} to watch :)Try ls -l /dev/mapper/ The minor number will correspond to the {n} in dm-{n}. For instance, this: $ ls -l /dev/mapper/ brw-rw---- 1 root disk 253, 1 Apr 30 15:32 sysvg-home indicates that dm-1 is /dev/sysvg/home HTH, Filipe