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

Re: [Xen-users] Problem: mount: none already mounted or /dev/pts busy ??

To: Gnatbite <gnatbite@xxxxxxxxxxxx>
Subject: Re: [Xen-users] Problem: mount: none already mounted or /dev/pts busy ??
From: Dylan Martin <dmartin@xxxxxxxxxxxx>
Date: Tue, 17 Apr 2007 10:39:42 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 17 Apr 2007 10:38:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4625003B.3090309@xxxxxxxxxxxx>
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>
References: <4625003B.3090309@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.2.2i
I thought you couldn't specify partitions in a domU config file.  
[ 'phy:/dev/lvg1/dummy_root,hda1,w', 
  'phy:/dev/lvg1/dummy_usr,hda2,w',
  'phy:/dev/lvg1/dummy_home,hda3,w' ]

The guest OS will think /dev/hda1, /dev/hda2, /dev/hda3 etc.. are
whold block devices and not partitions on a single block device.  That
would cause what you are seeing, I think.  I think you need a single
lv that you partition up, or multiple lvs that act as multiple block
devices.

AmI wrong about that?  I'm pretty new to Xen, and I'm playing with
that exact thing, so I'd love to know if I'm wrong.

-Dylan

> Hi guys, I have been using xen for a while. Till now I never had
> problems but today as i wanted to install a new Guest (domU), there was
> and still is a problem. Im using xen in combination with lvm.
> 
> Xen3.04(2.6.16.33) on Debian Sarge
> 
> I installed Debian (etch) on some LVM-Volumes. The following shows my
> /etc/fstab for the new guest.
> 
> #/etc/fstab
> =================================================================
> proc /proc proc defaults 0 0
> none /dev/pts devpts gid=5,mode=620 0 0
> /dev/hda1 / ext3 defaults 0 0
> /dev/hda2 /usr ext3 defaults 0 0
> /dev/hda3 /home ext3 defaults 0 0
> /dev/hda5 /var ext3 defaults 0 0
> /dev/hda6 /tmp ext3 defaults 0 0
> /dev/hda7 none swap sw 0 0
> =================================================================
> 
> Accordantly to this I created the following guest-config
> 
> #/etc/xen/vm_dummy.sxp
> =================================================================
> name="vm_dummy"
> kernel="/boot/vmlinuz-2.6-xenU"
> root="/dev/hda1"
> memory=384
> disk=[
> 'phy:/dev/lvg1/dummy_root,hda1,w',
> 'phy:/dev/lvg1/dummy_usr,hda2,w',
> 'phy:/dev/lvg1/dummy_home,hda3,w',
> 'phy:/dev/lvg1/dummy_var,hda5,w',
> 'phy:/dev/lvg1/dummy_tmp,hda6,w',
> 'phy:/dev/lvg1/dummy_swap,hda7,w'
> ]
> 
> # network
> vif=[ '' ]
> dhcp="off"
> ip="88.198.XXX.XXX"
> netmask="255.255.255.248"
> gateway="88.198.XXX.XXX"
> hostname="dummy"
> extra="3"
> =================================================================
> I set it up like always but it doesnt work. There are some other guests
> which are all working and set up in the same way. I really cant see what
> the problem is?
> 
> Thats what I get when i try to start the guest. The startup works fine
> till the following point:
> =================================================================
> Setting kernel variables...done.
> Mounting local filesystems...mount: none already mounted or /dev/pts busy
> mount: according to mtab, devpts is already mounted on /dev/pts
> mount: special device /dev/hda2 does not exist
> mount: special device /dev/hda3 does not exist
> mount: special device /dev/hda5 does not exist
> mount: special device /dev/hda6 does not exist
> failed.
> Activating swapfile swap...done.
> Setting up networking....
> Configuring network interfaces...done.
> /etc/rcS.d/S55bootmisc.sh: line 28: /var/run/utmp: No such file or directory
> INIT: Entering runlevel: 3
> INIT: Switching to runlevel: 0slogd
> INIT: Sending processes the TERM signal
> error: '/etc/init.d/rc' exited outside the expected code flow.
> Saving the system clock..
> Stopping kernel log daemon: klogd.
> Stopping system log daemon: syslogd.
> =================================================================
> 
> The system hangs at the last message "Stopping system log daemon:
> syslogd." and I cannot do anything about it?
> 
> I hope one of you guys can help me out.
> 
> Cheers,
> 
> gnatbite
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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