[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] dmsetup status not clear



> > 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 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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]