WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] use of encrypted filesystem

To: "Xen Users" <Xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] use of encrypted filesystem
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Thu, 28 Dec 2006 02:22:28 +0530
Delivery-date: Wed, 27 Dec 2006 12:52:28 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=VHUk/oMXjdLHmvEtZOQkDb1ZN0DnSM9+ZkWWWwUEYqII0Pt8CEB7jZE16jw/tqjhsROrYI2Gzh1p7ofpR2UVm7QMgfE3pS1tgT6tEspYwgjmySjotdTDIj+l0/Ud2fzp0eaZ4a/uYodTcZsKizOh3Y4aqxPzYnjvma9IAvq7UTw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I was wondering if there is a way to use encrypted filesystem inside a domU ? I tried to look around and whatever guides i found required me to patch the kernel.

I also found about cryptoloop, however when i try to use it inside domU, it gives me an error

losetup -e cryptoloop /dev/loop0 /dev/sda2
Password:
ioctl: LOOP_SET_STATUS: Invalid argument

I also tried various combinations

losetup -e des /dev/loop0 /dev/sda2
losetup -e aes128 /dev/loop0 /dev/sda2
losetup -e aes-256 /dev/loop0 /dev/sda2

However all the above result in the same error.

How should i setup the encrypted fs ? Any help would be appreciated.

--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>