OpenVZ Forum


Home » General » Support » UnionFS and OpenVZ
UnionFS and OpenVZ [message #644] Tue, 03 January 2006 21:15 Go to next message
wimalopaan is currently offline  wimalopaan
Messages: 15
Registered: January 2006
Junior Member
Hi,

I'm using UnionFS together with VServer for some time, and I want to use UnionFS also with OpenVZ. But, sadly, UnionFS supports only kernels >= 2.6.9.

Are there OpenVZ-Versions >= 2.6.9 to experiment with?

--
Wilhelm
Re: UnionFS and OpenVZ [message #714 is a reply to message #644] Sat, 07 January 2006 12:23 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

It is not currently available, but in some time there will be OpenVZ based on more recent kernel (like, say, 2.6.14). I can not give you any estimations yet, it may be a month or a few months.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: UnionFS and OpenVZ [message #754 is a reply to message #644] Mon, 09 January 2006 08:37 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

to tell the truth, 2.6.9 and 2.6.8 are too much the same in VFS area, so I don't forsee any problems here. Try to compile unionfs.


http://static.openvz.org/userbars/openvz-developer.png
Re: UnionFS and OpenVZ [message #755 is a reply to message #714] Mon, 09 January 2006 10:05 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Hi!

Can you, please, describe future politic of new release openvz kernel?

Will you continue to update current 2.6.8 kernel, like you do it now?

I meen what about stability...




Thank you.
Re: UnionFS and OpenVZ [message #756 is a reply to message #755] Mon, 09 January 2006 10:08 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

sure, 2.6.8 kernel will be supported for at least 1-2 years.
at the same time more recent kernel will probably appear soon, but I would recommend to stick with 2.6.8 in production until we announce another stable kernel.


http://static.openvz.org/userbars/openvz-developer.png
Re: UnionFS and OpenVZ [message #757 is a reply to message #754] Mon, 09 January 2006 10:16 Go to previous messageGo to next message
wimalopaan is currently offline  wimalopaan
Messages: 15
Registered: January 2006
Junior Member
seems not to be that simple:

gs unionfs-20060108-0200 # make
************************************************************ ******************
If you have questions about or problems building Unionfs, please read INSTALL.
************************************************************ ******************

make -C /lib/modules/2.6.8-022stab050-smp/build SUBDIRS=/root/lmeier/Software/UnionFS/unionfs-20060108-0200 FISTDEVMK=/root/lmeier/Software/UnionFS/unionfs-20060108-020 0/fistdev.mk modules
make[1]: Entering directory `/usr/src/linux-2.6.8-openvz-022.050'
CC [M] /root/lmeier/Software/UnionFS/unionfs-20060108-0200/subr.o
CC [M] /root/lmeier/Software/UnionFS/unionfs-20060108-0200/dentry.o
CC [M] /root/lmeier/Software/UnionFS/unionfs-20060108-0200/file.o
CC [M] /root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.o
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: In function `inode_permission':
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: 838: error: too few arguments to function
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: 852: error: too few arguments to function `vfs_permission'
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: At top level:
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: 984: warning: initialization from incompatible pointer type
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: 1000: warning: initialization from incompatible pointer type
/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.c: 1009: warning: initialization from incompatible pointer type
make[2]: *** [/root/lmeier/Software/UnionFS/unionfs-20060108-0200/inode.o ] Error 1
make[1]: *** [_module_/root/lmeier/Software/UnionFS/unionfs-20060108-0200 ] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-openvz-022.050'
make: *** [unionfs.ko] Error 2
gs unionfs-20060108-0200 #
Re: UnionFS and OpenVZ [message #758 is a reply to message #757] Mon, 09 January 2006 10:24 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

it's easy. in OpenVZ kernel we added one more argument to vfs_permission(), but since no UnionFS were there it was not patched by us.
Just add one more argument to vfs_permission(... , NULL)


http://static.openvz.org/userbars/openvz-developer.png
Re: UnionFS and OpenVZ [message #759 is a reply to message #758] Mon, 09 January 2006 13:47 Go to previous messageGo to next message
wimalopaan is currently offline  wimalopaan
Messages: 15
Registered: January 2006
Junior Member
I made some modifications to unionfs to be compatible to kernel-2.6.8. First tests showed, that it is possible to use unionfs for unification of openvz-vps's now. I will do some more tests and then publish also the patches.
Re: UnionFS and OpenVZ [message #761 is a reply to message #759] Mon, 09 January 2006 14:16 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

thanks a lot!
feel free to ask any questions/help!


http://static.openvz.org/userbars/openvz-developer.png
Re: UnionFS and OpenVZ [message #2914 is a reply to message #644] Wed, 26 April 2006 20:34 Go to previous messageGo to next message
Griffon26 is currently offline  Griffon26
Messages: 4
Registered: April 2006
Location: Eindhoven, The Netherland...
Junior Member
Just in case anyone is still looking for a solution, I have attached
a patch for unionfs snapshot 20060423-1600 and openvz 026.007.

I've not tested it yet, it just gets unionfs to compile.
Re: UnionFS and OpenVZ [message #2917 is a reply to message #2914] Thu, 27 April 2006 07:08 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

your help is very much appreciated!
can you post the results then/some HOWTO on this?


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: server crash
Next Topic: Clock Issues
Goto Forum:
  


Current Time: Tue Nov 05 08:02:48 GMT 2024

Total time taken to generate the page: 0.03483 seconds