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] /home on domU

To: "rajarshi das" <dazio_r@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-users] /home on domU
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Tue, 17 Oct 2006 17:27:17 +0200
Delivery-date: Tue, 17 Oct 2006 08:29:30 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061017151340.829.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
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
Thread-index: Acbx/3aNNnTH4booQRC1fE6QZKInngAACaCw
Thread-topic: [Xen-users] /home on domU
 


From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of rajarshi das
Sent: 17 October 2006 16:14
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] /home on domU

Hi,
 
On SLES10, I have a separate /home partition on dom0 which is mounted read - write.
1) How do I mount a /home partition on domU? Do I need to create a file - backed VBD?
 
The second entry for disk=[ '/dev/....' ] in the sample xmexample corresponds to /usr. How do I create a entry for /home? 
 
I started by answering #2 below, but the answer here applies as well. /usr/... is almost allways read-only (unless you're instaling new applications or something), so it's feasible to mount this Read-Only across multiple domains - if the file-system is read-only by all clients, it's fine to mount it multiple times from different places, since the content isn't going to chnge ...
 
 
 
2) I created a file - backed VBD for the / partition on domU. Is it possible to mount the / (root) partition of dom0 as root partition in domU, and be able to write to it?  
 
 
Not unless your Dom0-root is an NFS-mounted "partition" (and I doubt that you'd use the word partition in that case).
 
Any read-write mounted file-system needs to have ONE AND ONLY ONE mountee - otherwise you'll end up with a crashed file-system, because there are BIG race-conditions that are cared for by locks inside the file-system driver, but if you're using two different file-system drivers with different address spaces, that isn't going to work.
 
Read-only filesystems can be mounted multiple times, and there are "special" file-systems that are capable of supporting multiple clients, but that's not your average rootfs for Dom0... It's either a case of "copy-on-write" implementations, or "cluser-file-system" [which may be COW-implementation, of course].
 
Filesystem choice is quite frequently discussed on this mailing list, so searching the archive would probably give you more answers than you can have questions...
--
Mats
 
 
Thanks in advance,
Rajarshi


Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>