Overlay filesystems in OpenVZ kernel [message #47463] |
Sun, 12 August 2012 19:31 |
xaxaxa
Messages: 11 Registered: August 2012 Location: Vancouver, BC
|
Junior Member |
|
|
Does anyone know if there are any overlay filesystems(overlayfs, unionfs, aufs, mini_fo, etc) that work with openvz? I'm using the latest stable RHEL6 kernel.
I've tried compiling aufs but all the patches fail to apply.
The filesystem needs to be in-kernel(not FUSE) for performance reasons.
I'm looking for an open source alternative to vzfs which is proprietary .
[Updated on: Sun, 12 August 2012 19:36] Report message to a moderator
|
|
|
Re: Overlay filesystems in OpenVZ kernel [message #47602 is a reply to message #47463] |
Mon, 20 August 2012 00:19 |
xaxaxa
Messages: 11 Registered: August 2012 Location: Vancouver, BC
|
Junior Member |
|
|
UPDATE:
I tried using unionfs-fuse, and the performance was REALLY bad.
Then I tried applying the aufs patch on the openvz kernel, but none of them applied cleanly (I tried the patches for kernel versions from 2.6.32 to 2.6.38).
Unionfs didn't work either; the patched applied cleanly, but there were a few compilation errors; I corrected the errors (most of them are quite trivial, for example a new parameter was introduced in file_operations::fsync, which was never used in the unionfs code);
The kernel booted fine, and I could mount unionfs filesystems, but as soon as I tried to access any files under the unionfs mount, there was a deadlock and the process just hung).
I didn't try to fix the deadlock as I'm not a kernel hacker.
|
|
|