<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openvz.org/index.php?action=history&amp;feed=atom&amp;title=Simfs_filesystem_for_Virtuozzo_7_Containers</id>
	<title>Simfs filesystem for Virtuozzo 7 Containers - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openvz.org/index.php?action=history&amp;feed=atom&amp;title=Simfs_filesystem_for_Virtuozzo_7_Containers"/>
	<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Simfs_filesystem_for_Virtuozzo_7_Containers&amp;action=history"/>
	<updated>2026-06-13T17:41:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.openvz.org/index.php?title=Simfs_filesystem_for_Virtuozzo_7_Containers&amp;diff=19171&amp;oldid=prev</id>
		<title>Sergey Bronnikov: Created page with &quot;so, this is the current situation with simfs:  First of all we cannot implement as it was previously (in OpenVZ 6, 2.6.32-x kernels). This is because there is no vzfs in Virtu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.openvz.org/index.php?title=Simfs_filesystem_for_Virtuozzo_7_Containers&amp;diff=19171&amp;oldid=prev"/>
		<updated>2016-01-28T10:11:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;so, this is the current situation with simfs:  First of all we cannot implement as it was previously (in OpenVZ 6, 2.6.32-x kernels). This is because there is no vzfs in Virtu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;so, this is the current situation with simfs:&lt;br /&gt;
&lt;br /&gt;
First of all we cannot implement as it was previously (in OpenVZ 6, 2.6.32-x kernels).&lt;br /&gt;
This is because there is no vzfs in Virtuozzo 7, but all quota related code used by simfs&lt;br /&gt;
was shared between vzfs and simfs, and maintaining that code for simfs only is definitely&lt;br /&gt;
not the thing we'd be happy to do.&lt;br /&gt;
Yes, we definitely want to reuse some mainstream (or write a mainstream-able) code for it.&lt;br /&gt;
&lt;br /&gt;
So, how this could be implemented?&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Old&amp;quot; simfs fs without quota - is just a bindmount =&amp;gt; this is a start point.&lt;br /&gt;
1st level quota for simfs-based Containers (the quota for the Container as a whole) can be&lt;br /&gt;
implemented using project quota which is going to be accepted to mainstream sooner or later.&lt;br /&gt;
&lt;br /&gt;
As for the 2nd level quota (per-user quota inside a CT), we had not found any good solution&lt;br /&gt;
during our internal discussions, so ideas from community are very welcome.&lt;br /&gt;
&lt;br /&gt;
So what do we have at the moment: you can create a simfs-based Container in Virtuozzo 7&lt;br /&gt;
(see instructions below), but cannot manage quota for it.&lt;br /&gt;
&lt;br /&gt;
What should be done further (that's what you can help us with):&lt;br /&gt;
&lt;br /&gt;
1. Take project quota kernel patches (which Stas Kinsbursky alredy ported to vz7 kernel&lt;br /&gt;
some time ago), apply them to current vz7 kernel - you'll get the kernel able to manage&lt;br /&gt;
project quota.&lt;br /&gt;
&lt;br /&gt;
2. Need to add project quota support to appropriate userspace tools: quota-tools and e2fsprogs&lt;br /&gt;
see details at https://bugs.openvz.org/browse/OVZ-6619&lt;br /&gt;
&lt;br /&gt;
Hope that helps to understand our plans on simfs in Virtuozzo 7&lt;br /&gt;
and looking forward for a hero who could drive this forward! :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
More formal feature description is below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature ==&lt;br /&gt;
&lt;br /&gt;
simfs filesystem for Virtuozzo 7 Containers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
* https://bugs.openvz.org/browse/OVZ-6613&lt;br /&gt;
* https://jira.sw.ru/browse/PSBM-40730&lt;br /&gt;
&lt;br /&gt;
[https://openvz.org/CT_storage_backends Differences] between recommended Containers disk backend (ploop) and simfs.&lt;br /&gt;
&lt;br /&gt;
Unlike previous versions of OpenVZ, simfs layout in Virtuozzo 7 is based on bindmounts. This means once you start a simfs-based Container, effectively &amp;quot;private&amp;quot; area of a Container is bindmounted to the &amp;quot;root&amp;quot; Container area. That's it.&lt;br /&gt;
&lt;br /&gt;
How to create a simfs-based Container:&lt;br /&gt;
&lt;br /&gt;
* set VEFSTYPE=simfs in the /etc/vz/vz.conf&lt;br /&gt;
* create container: vzctl create $VEID&lt;br /&gt;
&lt;br /&gt;
== Products ==&lt;br /&gt;
&lt;br /&gt;
Virtuozzo 7, libvzctl-7.0.170&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Testing ==&lt;br /&gt;
&lt;br /&gt;
just a validation:&lt;br /&gt;
&lt;br /&gt;
* create a Container&lt;br /&gt;
* start/stop the Container&lt;br /&gt;
* destroy the Container&lt;br /&gt;
&lt;br /&gt;
== Known issues ==&lt;br /&gt;
&lt;br /&gt;
* quota for simfs-based Containers is not implemented:&lt;br /&gt;
** 1st level quota (for the Container as a whole) is planned to be implemented via project quota in https://bugs.openvz.org/browse/OVZ-6619&lt;br /&gt;
** 2nd level quota (per-user quota inside a Container) is not planned&lt;br /&gt;
* online migration of a simfs-based Container is not implemented&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Feature owner ==&lt;br /&gt;
&lt;br /&gt;
* Kernel part:	Stanislav Kinsbursky &amp;lt;skinsbursky at virtuozzo.com&amp;gt;&lt;br /&gt;
* Userspace part: Igor Sukhih &amp;lt;igor at virtuozzo.com&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sergey Bronnikov</name></author>
		
	</entry>
</feed>