Do you think it will be added in the future ?
No, nobody is working on that. Why not use ZFS?
Do you think it will be added in the future ?
No, nobody is working on that. Why not use ZFS?
Is there anyway to get user quotas to work with LXC so we can install applications that require them such as Directadmin?
Are the zfs subvolumes set up automatically by proxmox during container creation?We do not use raw images for zfs container root.
You are right, if you use local-zfs, it is the best what can be. Here is a citation which explaining it:We do not use raw images for zfs container root. Instead, we use zfs subvolumes. So I do not really understand your complain?
Your "local-zfs" is a ZFS storage, which means that when you create a disk, it will create a ZFS volume to store the raw data. This is the most efficient storage you can have for this purpose, and you can use ZFS feature individually on each such volume (such as setting compression, snapshots and zfs send/receive to copy them, etc.) You see your vm-100 disk is built this way
The raw image versus subdirectory discussion is only for those who do not want to use zfs for some reason
I have been using rdiff-backup for incremental file / folder / full recoveries of openvz containers for years without fail, But that automation requires the subdirectories view in containers.
Reading through this thread, what I am still not clear about is, which storage options in Proxmox provide the same chroot view capability as openvz for LXC containers?
Aren't the user and group quotas for the subvol itself? Like, it is impossible to set individual user quotas inside the subvol.@moxfan: ZFS has user and group quotas (both for used space, and since 0.7 also for used ZFS objects) - see "man zfs". they just don't use the same tools for setup as ext4, so it's not integrated in software like "cPanel".
The question is, is it possible to replace or add files to the mounted raw file from the host (from a backup, for example) without disturbing the user quotas, in the same way that it is possible to do with OpenVZ (simfs) containers.If a raw image is used, it can be also mounted by hand using command describe in this thread above
Aren't the user and group quotas for the subvol itself? Like, it is impossible to set individual user quotas inside the subvol.
It is the same issue with XFS in OpenVZ 6 (simfs) containers; there is no support for user quotas if the storage device has been formatted with XFS.
Yes. As you've said it, can't set quotas on individual files/directories if:you cannot set quotas on indiviual files/directories in a dataset, if that is what you mean?
Yes. As you've said it, can't set quotas on individual files/directories if:
* the container has been formatted with XFS (raw image) or resides in a partition formatted with XFS (openvz6-simfs)
* the container is a ZFS subvolume
So basically, XFS and ZFS are unusable if second-level user quotas are a must. Will be glad to hear if someone has created a work-around to these.