All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shiva <shivaramakrishnan740@gmail.com>
To: dm-crypt@saout.de
Subject: [dm-crypt] verity setup on active device.
Date: Fri, 4 Apr 2014 21:34:08 +0000 (UTC)	[thread overview]
Message-ID: <loom.20140404T230751-983@post.gmane.org> (raw)

Hello,

I have a requirement.

I have two devices . (/dev/sdb) and (/dev/sdc).

I have few files in /dev/sdb1. These files are created via nfs.

Now I want to use verity setup tool.

It needs to be able to perform the integrity check on /dev/sdb.

I wanted to  perform integrity check for a partition which is mounted.

1. I did the following.Installed the dm-verity from source.

2. My nfs-share was initially mounted .

(mount /dev/sdb1 /nfs-share)

3.I unmounted it.

4. veritysetup --debug format /dev/sdb /dev/sdc.
Got the "root hash".

5.Used the root hash in this command.
veritysetup --debug create nfs /dev/sdb /dev/sdc "root hash"

Everything works well.
My problem is I am not able to perform step5 for a mounted partition.

I require a mounted partition since nfs-share will use this partition.
(For addition and deletion)

Is there a command switch that needs to be performed in order to achieve this?

Any help/direction is greatly appreciated.

             reply	other threads:[~2014-04-04 21:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04 21:34 Shiva [this message]
2014-04-05 18:39 ` [dm-crypt] verity setup on active device Milan Broz
2014-04-05 22:11   ` Shivaramakrishnan Vaidyanathan
2014-04-05 22:26     ` Shivaramakrishnan Vaidyanathan
2014-04-06  7:53       ` Milan Broz
2014-04-06 23:13         ` Shivaramakrishnan Vaidyanathan
2014-04-06  7:44     ` Milan Broz
2014-04-07  3:11       ` Shivaramakrishnan Vaidyanathan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20140404T230751-983@post.gmane.org \
    --to=shivaramakrishnan740@gmail.com \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.