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] xen-tools: does not unmount disks and mounts proc into the n

To: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] xen-tools: does not unmount disks and mounts proc into the new VM - why?
From: Alexander Menk <alex.menk.lists2@xxxxxxxxxxxxxx>
Date: Wed, 01 Jul 2009 09:37:06 +0300
Delivery-date: Tue, 30 Jun 2009 23:37:53 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=eSaFECOvC1N8jhWZGOwjEj1Y0LtnIYluJZg/a6+J/og=; b=OnBwBbxxmS6lWnSe8aVmqhB97au8HmiSnw1q46+yhEQhTBVaAFD0e5RZeFg1YpdBGg 4OaAydBGh5qLzo3uH1Gg5036r4iOSf0laWe6I252IIPNmUL/3hiag+XZHw9sAIZ1EPLE /nzLJADy3D/N1FXXqyU4jxIEdVYPKg8BhZXuQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=iqPZ14M2LSdvQ1uK8FSy1nly1L8ALyL3qwSBPCq9gSSEeB6ct089t8mVdqDuhPzASG NBR4Kp7zO2rmKJM9FAcba6uIc8rsv97zIZPezyViw0VOkxoSg3k80cuBPnd6n8hmfieN 7Hlm1+TbKpKveVeDXn09q5grRvmgeCibbHf0Y=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi!

I am using xen-tools version: 3.9-4 to create domUs:

1. time xen-create-image --verbose --dist=lenny
--install-source=/mnt/xen-file-images/lenny-64-template-debootstrap-30Jun09-fix2.tar
 --hostname dummy --ip xxx.xxx.xxx.xxx --force

2. xm create dummy.cfg

Then I get the message 

Device /dev/vg0/dummy-disk is mounted in the privileged domain,
and so cannot be mounted by a guest.

3. When I tried to umount, I got "device busy".

4. I am really surprised about the output of mount on my dom0:


dom0:~# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/mapper/vg0-linux--images on /mnt/linux-images type xfs (rw)
/dev/mapper/vg0-xen--file--images on /mnt/xen-file-images type xfs (rw)
/dev/mapper/vg0-dummy--disk on /tmp/1UNYuVP7WO type ext3 (rw)
/proc on /tmp/1UNYuVP7WO/proc type none (rw,bind)


Why is /proc mounted to /tmp/1U.... that is in fact the disk of the new
VM? That looks really dangerous. 

Did anybody see this before?

I used --force because on the first call I did a mistake and the logical
volumes already existed. Maybe --force is not a good idea?

Thanks,
  Alex







_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xen-tools: does not unmount disks and mounts proc into the new VM - why?, Alexander Menk <=