LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-28-2013, 05:27 PM   #1
dmz1213
Member
 
Registered: Aug 2012
Posts: 37

Rep: Reputation: Disabled
DM device on virtual machine


On a virtual redhat, command
# fdisk -l
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 33 265041 83 Linux
/dev/sda2 34 2610 20699752+ 8e Linux LVM
#
# iostat 1 10

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 96.00 4624.00 0.00 4624 0
sda1 0.00 0.00 0.00 0 0
sda2 96.00 4624.00 0.00 4624 0
dm-0 6.00 248.00 0.00 248 0
dm-1 0.00 0.00 0.00 0 0

dm-6 0.00 0.00 0.00 0 0
dm-7 543.00 4344.00 0.00 4344 0
dm-8 1.00 8.00 0.00 8 0
How can I identify what those dm devices are? Especially dm-7. It has quite bit I/O activity. This is a virtual machine (ESX).
# service multipathd status
multipathd is stopped
Red Hat Enterprise Linux Server release 5.5 (Tikanga).
Thanks.
 
Old 01-28-2013, 05:34 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,568

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Here is some info:


https://access.redhat.com/knowledge/...onfigfile.html
https://access.redhat.com/knowledge/...ce_mapper.html


Basically the device mapper config file should have the device mappings to the dm-* names.

You can also try using the dmsetup info device name command.
 
Old 01-28-2013, 06:19 PM   #3
dmz1213
Member
 
Registered: Aug 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
Thanks to Kustom42.
Command dmsetup info and dmsetup ls provide good information.
To confirm that, I compare Major/minor number that dmsetup info shows to /sys/block/dm-7/dev. dm-7 is swaplv
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] I cannot connect to a virtual machine using XEN through shared physical device gonet Linux - Networking 1 01-20-2012 10:07 AM
VirtualBox: Use a host block device in the virtual machine Kenny_Strawn Linux - Virtualization and Cloud 4 11-21-2010 05:00 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Virtualbox USB device not available to virtual machine - FC7 speedsrfr Linux - Software 2 09-22-2007 12:02 PM
virtual machine can't find cdrom device bruno buys Linux - Software 0 05-26-2004 06:58 PM


All times are GMT -5. The time now is 03:07 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration