<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    On 02/07/2018 09:50 AM, Ravi Prakash Putchala wrote:<br>
    <blockquote type="cite"
cite="mid:CABRTiaigM23mYm2dZEtPpwTUsm3RdmD0e3pCf+E6LAJsj2eNJQ@mail.gmail.com">
      <div dir="ltr">Thank you, Milan. Will try these.<br>
        <br>
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <blockquote class="gmail_quote" style="margin:0px 0px 0px
                0.8ex;border-left:1px solid
                rgb(204,204,204);padding-left:1ex">
                If you need experiment over a memory device, use either
                ramdisk, scsi_debug module to it.<br>
                Another alternative is to create dm-zero device and use
                plain dm-crypt (not LUKS).<span class="gmail-HOEnZb"></span><br>
              </blockquote>
              <div><br>
                create dm-zero device:  How do I do this? Sorry, I do
                not have much expertise in Linux.<br>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    E.g. 10TiB "zero" mapped device (pick your name instead of 'z'):<br>
    <br>
    dmsetup create z --table "0 $((10*1024*1024*1024*2)) zero"<br>
    <br>
    Block device node for this is:<br>
    <br>
     /dev/mapper/z<br>
    <br>
    <br>
    See dmsetup(8) and device-mapper target documentation in kernel
    source,<br>
    for instance Documentaion/device-mapper/zero.txt.<br>
    <br>
    Heinz<br>
    <br>
    <blockquote type="cite"
cite="mid:CABRTiaigM23mYm2dZEtPpwTUsm3RdmD0e3pCf+E6LAJsj2eNJQ@mail.gmail.com">
      <div dir="ltr">
        <div>
          <div class="gmail_extra">
            <div class="gmail_quote">
              <div><br>
              </div>
              <div>Ravi<br>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">--
dm-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:dm-devel@redhat.com">dm-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/dm-devel">https://www.redhat.com/mailman/listinfo/dm-devel</a></pre>
    </blockquote>
    <br>
  </body>
</html>