On Wed, Jun 24, 2009 at 9:32 AM, Pallab Chakrabarty<pchakrabarty@spikesource.com> wrote:> I want to use a flat file system as disk instead of an image, like: > > disk = [''file:/tmp/server,sda1,w'', … ] > > > Pls advice if this is doable ..It''s doable, with some caveats: - consistency-wise, file: is not recommended. You should use tap:aio: - mapping as sda1 instead of sda means you need to use templates (like from jailtime.org). You won''t be abe to use installer (like with virt-manager). - I/O performance will be slower compared to block-based vbd using phy:/ -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Pallab Chakrabarty wrote:> disk = [''tap:aio:/tmp/pallab,sda1,w'', ''phy:/dev/xen_vg/lv-swap,sda2,w'' ]am i wrong, or /tmp/pallab is a directory? if so, then no, that won''t work. you can use NFS/Samba/etc. -- Javier _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Fajar A. Nugraha
2009-Jun-24 06:06 UTC
Re: [Xen-users] flat file system[directory] as disk
On Wed, Jun 24, 2009 at 12:47 PM, Pallab Chakrabarty<pchakrabarty@spikesource.com> wrote:> > > For reference I’m posting the console below:It seems I misunderstood your question. Sorry about that. If by "flat file system" you mean "a directory on dom0, where all domU''s files are located", then no, it''s not possible. Not easily anyway. Using nfs root should be possible, but AFAIK RHEL/Centos5 has a bug which prevents doing it easily. -- Fajar _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users