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-devel] udev

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>, <opensuse@xxxxxxxxxxxx>
Subject: [Xen-devel] udev
From: Stephan Böni <boeni@xxxxxx>
Date: Tue, 18 Oct 2005 13:32:34 +0200
Delivery-date: Tue, 18 Oct 2005 11:29:53 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXT16KTqXbsviMqSLGdLkOrsE+EbQ==
Thread-topic: udev
I have a problem mounting filesystems in a Xen3 domU. Often some device nodes are missing. Am i right, that normally udev creates the needed device nodes? It seams now, that udev in a domU does not work correct. Or has anyone a solution, why some devices are missing?
 
# ls -l /dev/hda*
brw-r-----  1 root disk 3,  1 Oct 18 11:19 /dev/hda1
brw-r-----  1 root disk 3, 11 Oct 18 11:19 /dev/hda11
brw-r-----  1 root disk 3, 14 Oct 18 11:19 /dev/hda14
brw-r-----  1 root disk 3,  8 Oct 18 11:19 /dev/hda8
 
Even if i try to create the missing device node with the mknod command, i cannot mount it.
 
# mknod /dev/hda3 b 3 3
# mount /dev/hda3
mount: /dev/hda3 is not a valid block device
 
Appending the needed devices in /etc/udev/static_devices.txt does not help.
 
Here is my domU configuration:
 
# cat inhouse | grep -v ^#
name    = "inhouse"
memory  = 2048
maxcpus = 1
kernel  = "/boot/vmlinuz-xen"
ramdisk = "/boot/initrd-xen"
vif  = [ 'mac=aa:cc:00:00:00:01, bridge=xenbr0' ]
hostname = name
disk = [ 'phy:xenvg/inhouse-root,hda1,w',
         'phy:xenvg/inhouse-cdb,hda2,w',
         'phy:xenvg/inhouse-comserver,hda3,w',
         'phy:xenvg/inhouse-docarchive,hda4,w',
         'phy:xenvg/inhouse-home,hda5,w',
         'phy:xenvg/inhouse-journal,hda6,w',
         'phy:xenvg/inhouse-mailserver,hda7,w',
         'phy:xenvg/inhouse-pos,hda8,w',
         'phy:xenvg/inhouse-pub,hda9,w',
         'phy:xenvg/inhouse-srv,hda10,w',
         'phy:xenvg/inhouse-tmp,hda11,w',
         'phy:xenvg/inhouse-transfer,hda12,w',
         'phy:xenvg/inhouse-usr,hda13,w',
         'phy:xenvg/inhouse-var,hda14,w',
         'phy:xenvg/inhouse-swap,hdb1,w',
         'phy:xenvg/susedvd,hdc1,r' ]
root    = "/dev/hda1"
extra   = "3"
 
I have no hda devices configured in my dom0.
 
Now i'm looking very puzzled, because on every restart of my domU there are other hda devices missing. Does anyone know how to solve this problem?
 
Stephan
 
 
 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>