Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This is a just upgraded Ubuntu 10.04.1 LTS machine.

The /dev/mapper/isw_dghbbcaabe_RAID_Volume11 is "new" to the upgrade but I don't know what physical drives/partitions are included in the "device".

I have tried:

root@barabasi:~# blkid   
/dev/sda1: UUID="8258e116-265a-4797-59d1-fae72a643620" TYPE="swap" 
/dev/sdb: TYPE="isw_raid_member" 
/dev/mapper/isw_dghbbcaabe_RAID_Volume11: UUID="1d4721b1-5649-4772-8a03-5c3db81eba1b" TYPE="ext3" 
/dev/mapper/isw_dghbbcaabe_RAID_Volume15: UUID="b9a639af-dee8-4e0c-90f6-15432efac4f2" TYPE="swap"


root@barabasi:~# ls -alh /dev/disk/by-uuid/  
total 0 
drwxr-xr-x 2 root root 100 2011-01-14 12:49 . 
drwxr-xr-x 5 root root 100 2011-01-14 12:49 .. 
lrwxrwxrwx 1 root root 41 2011-01-14 12:49 1d4721b1-5649-4772-8a03-5c3db81eba1b ->    ../../mapper/isw_dghbbcaabe_RAID_Volume11 
lrwxrwxrwx 1 root root 10 2011-01-14 12:49 8258e116-265a-4797-59d1-fae72a643620 -> ../../sda1 
lrwxrwxrwx 1 root root 41 2011-01-14 12:49 b9a639af-dee8-4e0c-90f6-15432efac4f2 -> ../../mapper/isw_dghbbcaabe_RAID_Volume15

But I still don't know what physical drives are involved.

share|improve this question
up vote 0 down vote accepted

You can use dmsetup. Invoke:

$ sudo dmsetup -v table /dev/mapper/isw_dghbbcaabe_RAID_Volume11

That will give you a list of sectors which are mapped to another device. In my case (encrypted root partition), I get the following output:

$ sudo dmsetup table /dev/mapper/hacki-mobile 
0 567028121 crypt aes-cbc-essiv:sha256 0000000000000000000000000000000000000000000000000000000000000000 0 8:6 2056

That means that sectors 0-567028121 are mapped to a device with major/minor number 8/6. That is the 6th partition on my sda drive, as you can see with:

$ ls -Al /dev/sda6
brw-rw---- 1 root disk 8, 6 2010-12-21 14:38 /dev/sda6

Your output from dmsetup maybe a bit different, as I'm on Ubuntu 10.04

share|improve this answer

Or just execute the following command:

$ sudo dmsetup ls --tree

which will show how your block devices are stacked.

share|improve this answer

This is just a hint! Because I came to this question and found an answer by myself.

Sometimes you can use ls -lha /dev/mapper/ or similar to see the mapped devices and you can use mount to resolve it.

share|improve this answer

Below are some examples.

lvs -o +devices
lvdisplay -m
lvdisplay | awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d);
print d,n;}'
share|improve this answer
You really should explain how this addresses the question. – guntbert Jul 15 at 20:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.