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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] How is a file-backed FreeBSD filesystem mounted for a Fr

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] How is a file-backed FreeBSD filesystem mounted for a FreeBSD XenU?
From: Daniel Hulme <dh286@xxxxxxxxx>
Date: 2005年7月14日 10:20:57 +0100
Delivery-date: 2005年7月14日 09:19:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200507132354.41811.mark.williamson@xxxxxxxxxxxx>
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>
References: <6B628149FCE1B543A3AB351A29DC7D8E95FCB8@xxxxxxxxxxxxxxxxxxx> <200507132354.41811.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > I've been able to mount the /root.fs filesystem under FC4 ("mount -o
> > loop root.fs /debian.root"), but that doesn't work for the
> > /freebsd.fs file, even using the "-t ufs -o ufstype=44bsd" options. 
> > I also don't know how to mount it on our FreeBSD systems.
>
> Just a guess: if the FreeBSD rootfs is sliced (BSD partitions) then
> won't Linux have trouble mounting it?
The FreeBSD rootfs is indeed sliced. Note in /sbin/start_freebsd.sh that
it maps the filesystem to hda rather than to hda1 as you usually would.
> > 1) How is /freebsd.fs hooked to the FreeBSD XenU on the XenDemo CD? 
> > If I know how this is done I can do a quick demo of a FreeBSD XenU
> > on our Linux FC4 system.
>
> The same way you'd hook a disk file to a Linux domU: add a 
> 'file:/blah/blah/foo,target_dev,w' to the disks line in the config
> file. I'm not sure what syntax is supported for specifying the
> target dev for FreeBSD. the FreeBSD config file on the demo CD
> should be useful as a template.
The demo CD uses some exciting DM snapshotting to produce a CoW
filesystem so it's probably not that useful as a config template. I'm
not a FreeBSD user myself, but if you want to give it a file on a proper
filesystem as file-backed storage, file:/freebsd.fs,hda,w should just
work AFAIK.
> I'd suggest that to start with you copy the filesystem image from the
> demo CD,
I'd agree with this suggestion, but the filesystem on the demo CD
doesn't appear to boot under Xen unstable at the moment. This could be
just me, though, I'll have to check it more fully.
HTH,
Daniel
-- 
"The rules of programming are transitory; only Tao is eternal.
 Therefore you must contemplate Tao before you receive enlightenment."
"How will I know when I have received enlightenment?" asked the novice.
"Your program will then run correctly," replied the master.

Attachment: pgpYWvSxasBS4.pgp
Description: PGP signature

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] DMTF CIM/WBEM extensions for virtual machines , Brian J. Watson
Next by Date: [Xen-devel] Re: 1850/2850 hangs under I/O load , Keir Fraser
Previous by Thread: Re: [Xen-devel] How is a file-backed FreeBSD filesystem mounted for a FreeBSD XenU? , Mark Williamson
Next by Thread: [Xen-devel] DMTF CIM/WBEM extensions for virtual machines , Brian J. Watson
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /