All of lore.kernel.org
 help / color / mirror / Atom feed
* [dm-crypt] verity setup on active device.
@ 2014-04-04 21:34 Shiva
  2014-04-05 18:39 ` Milan Broz
  0 siblings, 1 reply; 8+ messages in thread
From: Shiva @ 2014-04-04 21:34 UTC (permalink / raw)
  To: dm-crypt

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.

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

end of thread, other threads:[~2014-04-07  3:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04 21:34 [dm-crypt] verity setup on active device Shiva
2014-04-05 18:39 ` 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

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.