All of lore.kernel.org
 help / color / mirror / Atom feed
* Not able to create a device mapper target node
@ 2013-06-24  7:19 monica g
  2013-06-25  8:19 ` Zdenek Kabelac
  2013-06-27 14:02 ` Mikulas Patocka
  0 siblings, 2 replies; 3+ messages in thread
From: monica g @ 2013-06-24  7:19 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 814 bytes --]

Hi,

I wrote a basic device mapper driver which caches reads.

I gave dm msg prefix as below
 #define DM_MSG_PREFIX "cacheread".

When i try to create a device mapper node using the below command
echo "0 `blockdev --getsize /dev/sda2` cacheread /dev/sda2 0" | dmsetup
create cacheread

the system hangs.I am not getting any error messages.

When i try to create a device mapper node for linear target(this target is
already present with the device mapper code) using below command

echo "0 `blockdev --getsize /dev/sda2` linear /dev/sda2 0" | dmsetup create
linear
it succeeds and creates device node linear in /dev/mapper directory.

I am stuck with this issue and not able to proceed furthur.

Please let me know if you have any suggestions.

Any help is truely appreciated.

Thanks in advance.

Regards,
Monica

[-- Attachment #1.2: Type: text/html, Size: 1184 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-27 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-24  7:19 Not able to create a device mapper target node monica g
2013-06-25  8:19 ` Zdenek Kabelac
2013-06-27 14:02 ` Mikulas Patocka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.