I want to be able to have a shared drive that the VMs can access from the host machine. Basically I have downloaded install files from the internet into a directory on the host and would like to copy them to the VM to run vs re-downloading them from the internet. Thanks for pointing me in the right direction. -- Thomas Miller Chrome Portal Project Manager CPCUG Programmers SIG Chairperson (formally Delphi) Delphi Client/Server Certified Developer BSS Accounting & Distribution Software BSS Enterprise Accounting FrameWork http://www.bss-software.com http://programmers.cpcug.org/ http://sourceforge.net/projects/chromeportal/ http://sourceforge.net/projects/uopl/ http://sourceforge.net/projects/dbexpressplus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Sat, 2006-12-23 at 23:31 -0500, Thomas Miller wrote:> I want to be able to have a shared drive that the VMs can access from > the host machine. > > Basically I have downloaded install files from the internet into a > directory on the host and would like to copy them to the VM to run vs > re-downloading them from the internet. > > Thanks for pointing me in the right direction. >Do the guests need to be able to write to this shared storage? Or is this a read only need? Just plain old NFS on an ext3 file system can accomplish what you described if I read your need correctly. If they need to also write / update this shared storage, you''d do much better with using a cluster FS like ocfs2. GFS would work but is a little more tricky to get working. ocfs2 has a really simple and (almost) idiot proof configuration. If you give a little more info the list can point you to specifics of either way. One word of warning that I can share, avoid using file backed VBD''s for shared storage, they seem to break 100x more often vs using partition/lvm backed vbds when more than one guest is reading (or writing) to it.. regardless of the FS type in use. Also, what OS are your guests using , how about dom-0? Best, -Tim _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Miller wrote:> I want to be able to have a shared drive that the VMs can access from > the host machine. > > Basically I have downloaded install files from the internet into a > directory on the host and would like to copy them to the VM to run vs > re-downloading them from the internet. > > Thanks for pointing me in the right direction. >Samba? FTP? scp? Just pick any network service - not really a Xen issue. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Thomas Miller wrote:> I want to be able to have a shared drive that the VMs can access from > the host machine. > > Basically I have downloaded install files from the internet into a > directory on the host and would like to copy them to the VM to run vs > re-downloading them from the internet. > > Thanks for pointing me in the right direction. >Why not simply have one domU or the dom0 share a Samba network directory? _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Andrew McGregor wrote:> Thomas Miller wrote: >> I want to be able to have a shared drive that the VMs can access from >> the host machine. >> >> Basically I have downloaded install files from the internet into a >> directory on the host and would like to copy them to the VM to run vs >> re-downloading them from the internet. >> >> Thanks for pointing me in the right direction. >> > > Samba? FTP? scp? Just pick any network service - not really a Xen > issue. >I am really new to all this stuff and wasn''t sure if there was a trick way with Xen or some standard method. I will probably use Samba as I have that already set up. Thanks all of you. -- Thomas Miller Chrome Portal Project Manager CPCUG Programmers SIG Chairperson (formally Delphi) Delphi Client/Server Certified Developer BSS Accounting & Distribution Software BSS Enterprise Accounting FrameWork http://www.bss-software.com http://programmers.cpcug.org/ http://sourceforge.net/projects/chromeportal/ http://sourceforge.net/projects/uopl/ http://sourceforge.net/projects/dbexpressplus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Dec 24 2006, Thomas Miller wrote:>Andrew McGregor wrote: >> Thomas Miller wrote: >>> I want to be able to have a shared drive that the VMs can access from >>> the host machine. >>> >>> Basically I have downloaded install files from the internet into a >>> directory on the host and would like to copy them to the VM to run vs >>> re-downloading them from the internet. >>> >>> Thanks for pointing me in the right direction. >>> >> >> Samba? FTP? scp? Just pick any network service - not really a Xen >> issue. >> >I am really new to all this stuff and wasn''t sure if there was a trick >way with Xen or some standard method. I will probably use Samba as I >have that already set up. Thanks all of you.Didn''t get round to responding to this earlier, but thought I''d add my $0.02 worth... When doing any kind of communication between two domains, it''s almost always appropriate to think of them as being two separate machines. As a result, you generally share files in the same way as with separate servers. The three main approaches of this type being: 1) scp ;-) 2) use some kind of network block device and a cluster filesystem [in the Xen case, you might also share the same block device directly, to avoid the overhead of virtual network] 3) network filesystem - usually NFS or Samba Direct sharing of disk drives can be an option, but sharing block-level drives without using a cluster filesystem can easily cause upsets. You can have multiple read-only users of a block device, or a lone writeable user. You can''t mix readers and writers at the same time (it confuses the readers) and you certainlycan''t have multiple writers (it trashes the FS). Careful read-only exporting of block devices, and careful use of the mount command can help to prevent you from breaking things if you go down this route... Finally, there''s my pet project: XenFS. This behaves to the user much like NFS, but is implemented to use Xen''s shared memory protocols directly, instead of using the virtual network. I imagine this is the kind of thing you might have had in mind when you asked your original question ;-) XenFS is a long way off being stable though, so unless you like to play with hairy code I''d recommend you stick with your network filesystem approach :-) Sorry for rambling, it''s getting late! Cheers, Mark _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users