From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.saout.de (Postfix) with ESMTPS for ; Fri, 4 Apr 2014 23:40:05 +0200 (CEST) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WWBqF-0003Gb-AU for dm-crypt@saout.de; Fri, 04 Apr 2014 23:40:03 +0200 Received: from lawn-gw.rutgers.edu ([128.6.168.245]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Apr 2014 23:40:03 +0200 Received: from shivaramakrishnan740 by lawn-gw.rutgers.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Apr 2014 23:40:03 +0200 From: Shiva Date: Fri, 4 Apr 2014 21:34:08 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: [dm-crypt] verity setup on active device. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt@saout.de 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.