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] Can't mount across doms

To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Can't mount across doms
From: "Mike A. Kenny" <mike@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 26 Apr 2006 12:35:05 +0200 (SAST)
Delivery-date: Wed, 26 Apr 2006 03:35:49 -0700
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 am trying to share a disk (/dev/hdb7) across dom0 and my domUs as 
/zen/local.But me creation of the VM fails with:

Using config file "subversion/subversion.xen".
Error: Device 833 (vbd) could not be connected.
Device /dev/hdb7 is mounted read-write in the privileged domain,
and so cannot be mounted read-only by a guest.

According to my /etc/fstab on dom0 I am mounting this as read-only. And the 
output of my mount command also confirms this (this is shown below). Any idea 
what I am doing wrong? This isn't a showstopper for me, it would just be neat 
to not have to recreate everything across VMs. Otherwise I am incredibly 
impressed with this software.
Oh and BTW xm info produces:

system                 : Linux
host                   : frankenstein
release                : 2.6.16-1.2096_FC5xen0
version                : #1 SMP Wed Apr 19 05:49:52 EDT 2006
machine                : i686
nr_cpus                : 2
nr_nodes               : 1
sockets_per_node       : 2
cores_per_socket       : 1
threads_per_core       : 1
cpu_mhz                : 3200
hw_caps                : bfebfbff:20000000:00000000:00000180:0000641d
total_memory           : 2048
free_memory            : 108
xen_major              : 3
xen_minor              : 0
xen_extra              : .0
xen_caps               : xen-3.0-x86_32
platform_params        : virt_start=0xfc000000
xen_changeset          : unavailable
cc_compiler            : gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)
cc_compile_by          : bhcompile
cc_compile_domain      : build.redhat.com
cc_compile_date        : Wed Apr 19 05:11:40 EDT 2006

/etc/fstab:

/dev/VolGroup00/LogVol00 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
tmpfs                   /dev/shm                tmpfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
sysfs                   /sys                    sysfs   defaults        0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults        0 0
/dev/hdb1               /VirtualMachines        reiserfs        defaults        
0 0
/dev/hdb5               /LinuxSoftware          ext3            defaults        
0 0
/dev/hdb6               /SVNRepository          ext3            defaults        
0 0
/dev/hdb7               /xen/local              ext3            ro      0 0
                                                           *******

output from mount:

/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
/dev/hdb1 on /VirtualMachines type reiserfs (rw)
/dev/hdb5 on /LinuxSoftware type ext3 (rw)
/dev/hdb6 on /SVNRepository type ext3 (rw)
/dev/hdb7 on /xen/local type ext3 (ro)
                             *********
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
automount(pid2153) on /net type autofs (rw,fd=4,pgrp=2153,minproto=2,maxproto=4)


-- 
mike kenny
Linux Registered User #381724
LPI ID# 80080

"Hell, there are no rules here, we're just trying to accomplish something"
                                                       Thomas Edison 


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Can't mount across doms, Mike A. Kenny <=