All of lore.kernel.org
 help / color / mirror / Atom feed
From: Milan Broz <gmazyland@gmail.com>
To: Shiva <shivaramakrishnan740@gmail.com>, dm-crypt@saout.de
Subject: Re: [dm-crypt] verity setup on active device.
Date: Sat, 05 Apr 2014 20:39:21 +0200	[thread overview]
Message-ID: <53404DD9.2020101@gmail.com> (raw)
In-Reply-To: <loom.20140404T230751-983@post.gmane.org>

On 04/04/2014 11:34 PM, Shiva wrote:
...
> 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?

I am afraid this is not possible. Dm-verity was designed to provide
verification of (read-only) device (to provide verified boot path),
all IOs must go through dm-verity.
(So it must be in the stack from the beginning).

You cannot just add it later or run it parallel with mounted partition.
And how this can work if some data are already in page/fs cache?

Milan

  reply	other threads:[~2014-04-05 18:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-04 21:34 [dm-crypt] verity setup on active device Shiva
2014-04-05 18:39 ` Milan Broz [this message]
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=53404DD9.2020101@gmail.com \
    --to=gmazyland@gmail.com \
    --cc=dm-crypt@saout.de \
    --cc=shivaramakrishnan740@gmail.com \
    /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.