Re: ZFS, Qemu, and XP & Linux clients



In article <qDVVl.6426$Xl4.1232@xxxxxxxxxxxxxxxxxxxxxx>,
rd <162144@xxxxxxxxx> wrote:
hawk@xxxxxxxx wrote:
> 1) Will I be able to successfully serve the ZFS file system with
permissions to the clients? (particularly, I want to avoid the problems
of complete lack of user/permission when windows uses ext2)

What about SMB for Windows and NFS for Linux?

OK; that makes sense. But won't the SMB need user input for
authentication every time a user logs into the virtual machine? Or can I
set it so that user george on windows automatically gets smb access to
/home/george and so forth without providing new credentials?


2) Will the resulting clients be "fully" networked to the host and local
network? Particulrly, XP has to be able to talk to a local network
printer (the linux driver installed nicely, but takes several minuts for
a simple document due to ghostscript, while XP prints instantly), and
linux needs to be able to run firefox on the FreeBSD screen (and
possibly to print; there may be driver problems with FreeBSD).

I haven't used XP with qemu or virtualbox at all, but I've recently
gotten Linux and Solaris running as clients in qemu VMs on a Linux
host. I'm working the same thing right now with a FreeBSD host (compiling
qemu outside of ports tree control on an older FreeBSD box).

I had the easiest time getting the networking going by using VDE: Virtual
Distributed Ethernet. I use VDE to create a vde_switch connected to a
tap device. The virtual machines have their NICs connected to the
vde_switch. At that point, it's just a matter of using the host OS networking
to perform forwarding and routing and such. The networking is ``full.''

Thanks. I'd seen a hint or three about only parts working.

Installing CentOS into a VM should look something like this:

vdeq qemu -hda centos-fbsd.img -net nic,vlan=0,macaddr=00:40:05:07:52:30 \
-net vde,vlan=0,sock=/tmp/vde.ctl -cdrom CentOS-5.3-i386-bin-DVD.iso -boot d


Thanks. Is there a good/comprehensible guide for setting them up?

And can I set up the virtual linux & xp running on consoles 9 & 10, or
will they need to log into FreeBSD first? Or would that be too much to
leave running with "only" 4G of RAM and zfs?

thanks

hawk

--
Richard E. Hawkins, J.D. Ph.D., Esq. /"\ ASCII ribbon campaign
hawk@xxxxxxxx (702) 434-3557 \ / against HTML mail
Find commentary on law, economics, and X and postings.
other issues of the day at dochawk.org! / \
.



Relevant Pages

  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)
  • Re: wine
    ... > results to running in linux and windows. ... > performance gap in freebsd. ... The linux version under redhat 9 gives me a better framerate ... Its a shame we can't get native games for freebsd. ...
    (freebsd-questions)
  • RE: BSD Questions.
    ... >Cc: Daniel A.; Andy Sjostrom ... >>> I suggest that you use Linux, as FreeBSD ... >>> replacement for Windows, as they somehow have ...
    (freebsd-questions)
  • Re: Linux Networking is a Ball of Confusion.
    ... them under Windows or Linux, so I can't comment on how easy the Linux ... > I have a printer attached to one of the Linux machines and it works fine ... But it sounds like you want to set up a client-server networking or peer ...
    (alt.os.linux.suse)
  • Re: Linux Networking is a Ball of Confusion.
    ... them under Windows or Linux, so I can't comment on how easy the Linux ... > I have a printer attached to one of the Linux machines and it works fine ... But it sounds like you want to set up a client-server networking or peer ...
    (alt.os.linux)