[dm-devel] dmsetup status not clear

Asif Iqbal vadud3 at gmail.com
Thu Mar 5 19:29:02 UTC 2009


On Thu, Mar 5, 2009 at 12:15 PM, Konrad Rzeszutek
<konrad at virtualiron.com> wrote:
>> > cat /proc/dmstatus should give you some details.
>>
>> ~# cat /proc/dmstatus
>> cat: /proc/dmstatus: No such file or directory
>
> Ugh. /proc/mdstat I think.

# cat /proc/mdstat
cat: /proc/mdstat: No such file or directory

>
>
> .. 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.
>
> --
> dm-devel mailing list
> dm-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?




More information about the dm-devel mailing list