[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] nfs mountpoints



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thank you all for your answers,

as a first selection, i'm trying to get cownfsd working. The
serverpart (cownfsd itself) seems to work pretty simple, but i've got
problems to mount it...
I didn't find any documentation about cownfs, neither at the xen-*
lists nor at google at all.
As written on russross.com, cownfsd has been developed with xen in
mind, i'm wondering that
there's no discussion about it's use?
Did some of you work with it succesfully? If so, how does it interact
with the existing rpc.mountd/
rpc.nfsd ?
Russ wrote, that the native rpc.mountd has to be killed, but if i do
so, an example

xen-02:~# mount -t nfs xen-01:/xenvm/mosiXen-01 /mnt

will lead (on every host, even on localhost) to:

mount: RPC: Program/version mismatch; low version = 3, high version = 3

i recompiled the nfs-utils and the util-linux (2.12r) on every dom0,
but this didn't show any effect, the dmesg shows everytime the same
message:

nfs warning: mount version older than kernel

on the server, cownfsd shows following error(?) :

xen-01:~# cownfsd -debug /xenvm/mosiXen-01
fsinfo (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
getattr (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
fsinfo (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
getattr (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
fsinfo (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
timings:
    getattr: count=      2 total=     0.00072622 avg=     0.00036311
     fsinfo: count=      3 total=     0.06539297 avg=     0.02179766

getattr (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
fsinfo (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error
getattr (fhToFake failed in nfs_api_debug.ml) -> nfs3err_stale error


i left the whole log intact, since i don't know how (or even when) the
"timings" msg
appears. every single trial to mount results in two lines (fsinfo...
and getaddr ...)


Just as additional info, a complete rootfs, which can be chroot'ed or
with kernel-nfs used in a domU, is natively at /xenvm/mosiXen.
/xenvm/mosiXen-01 is an empty directory with one single file named
.mount with one line:

write "/xenvm/mosiXen"

All things are currently done as root. rpc is running as shown below:

on dom0 at xen-01 (currently the nfs server):

xen-01:~# ps xa | grep rpc
 4321 ?        S<     0:00 [rpciod/0]
 4453 ?        Ss     0:00 /sbin/rpc.statd
 5141 pts/3    S+     0:00 grep rpc
xen-01:~# rpcinfo -p
   Program Vers Proto   Port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100003    2   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100021    1   udp   1024  nlockmgr
    100021    3   udp   1024  nlockmgr
    100021    4   udp   1024  nlockmgr
    100021    1   tcp   1025  nlockmgr
    100021    3   tcp   1025  nlockmgr
    100021    4   tcp   1025  nlockmgr
    100024    1   udp   1026  status
    100024    1   tcp   1026  status
    100005    3   udp    944  mountd
    100003    3   udp    944  nfs
    100005    3   tcp    947  mountd
    100003    3   tcp    947  nfs

on dom0 at xen-02 (an example "client"):

xen-02:~# ps xa | grep rpc
 4671 ?        Ss     0:00 /sbin/rpc.statd
 4857 ?        S<     0:00 [rpciod/0]
14591 pts/0    S+     0:00 grep rpc
xen-02:~# rpcinfo -p
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp   1024  status
    100024    1   tcp   1025  status
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100021    1   udp   1026  nlockmgr
    100021    3   udp   1026  nlockmgr
    100021    4   udp   1026  nlockmgr
    100021    1   tcp   1027  nlockmgr
    100021    3   tcp   1027  nlockmgr
    100021    4   tcp   1027  nlockmgr


Well, i know that this is not exactly a xen problem, but i assume it's
very xen-related.

Maybe someone can point me to a solution?

Thanks!

Stephan Seitz


M.A. Williamson schrieb:

> Why not just export your LVM-ified COW volume over NFS?
>
> Alternatively: * Russ Ross worked on a COW NFS server:
> http://www.russross.com/CoWNFS.html * You could export the CoW
> volume directly from the server using enbd. You could import this
> at the destination dom0 and export it to the guest as a VBD - the
> guest wouldn't know about the network, or the COW. The block-enbd
> scripts in the unstable tree automate the network device binding
> and exporting to the guest: they should "just work" without manual
> setup (including during migrate).
>
> Cheers, Mark
>
> On Nov 15 2005, Stephan Seitz wrote:
>

> hi there!
>
> i'm currently building a clustered environment of dom0 for domU's
> possible to migrate between them. by now, the domU's rootfs is
> mounted via nfs from one single nfsd w/ reiser4 in the net. this
> works nice, but a COW-fs would do it better :) . i found very rare
> infos about this parallax fs integration in xen, but this seems to
> be under heavy development and not going to get productive right
> now? another solution with COW support, that works LOCALLY was a
> lvm setup (well only one vg over one pv) with the rootfs as real
> lv. the VM's rootfs has been done via "lvmcreate -s" as snapshot.
> Well, as said, this did it LOCALLY and -except of some unremovable
> snapshots- worked also very well. I'm searching for a solution with
> networktransparent COW support. I've only found the gfs via gndb /
> ccs from the RedHat Clustersite. This looks interresting, but i
> think this thingy will lead me to some headaches :) Does someone
> here do know a netwide mountable COW fs? Or, maybe some better idea
> of solving/performing this issue?
>
> Thanks in advance
>
> Stephan Seitz
>
>
>>
>>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfFSZ0MKSfkbzHDYRAugwAKCxLSQLwcd0bGV7B2UNAYXN9jGtmACeNd51
CpYI2Bu0/kWdot3ilgn1D3k=
=abtz
-----END PGP SIGNATURE-----


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.