[dm-devel] dmsetup status not clear

Konrad Rzeszutek konrad at virtualiron.com
Thu Mar 5 17:15:26 UTC 2009


> > cat /proc/dmstatus should give you some details.
> 
> ~# cat /proc/dmstatus
> cat: /proc/dmstatus: No such file or directory

Ugh. /proc/mdstat I think.


.. snip ..
> iqbala at ftp0:~$ sudo dmsetup status
> nvidia_eeffhbef5: 0 6458067 linear
> nvidia_eeffhbef1: 0 149838192 linear
> nvidia_eeffhbef: 0 156301486 mirror 2 8:0 8:16 1193/1193 1 AA 1 core
> 
> It was '1183/1193 1 AD 1 core' and now '1193/1193 1 AA 1 core'
> 
> What are the differences? Is there some doc where I can read more about this?

It is divided in two groups. The first is the
type and the size (0 156301486 mirror): meaning 156301486 sectors, or:
76319MB, and the kernel module that oversears this device is 'dm-mirror'.

The next group of data is from 'mirror_status' function (from the dm-raid1 module, which
actually registers itself as 'dm-mirror'). Take a look
at drivers/md/dm-raid1.c and the above mentioned function - that should
give you an idea what is what.




More information about the dm-devel mailing list