[lxc-users] Btrfs - Disk quota and Ubuntu 15.10
Benoit GEORGELIN - Association Web4all
benoit.georgelin at web4all.fr
Thu Jun 30 14:19:33 UTC 2016
Yes, I have to idea in mind.
1- Using ZFS
I have to try how it looks with LXD/LXC. I wanted to give a try to btrfs .
With ZFS , are you using quotas ? Can you tell me what "df -h" looks into your container ?
With btrfs , the container see the disk size of the host, so you don't know how much space you are using, it's was not the best anyways.
2- LVM
A the beginning, it's the solution I was using. Finally it was not that bad.
By a script to create containers, I was doing :
- Create a new LVM Volume
- Mount the volume
- Install the container with "dir path"
So in the container you have one disk, it's the full size of the volume and act like a real disk including volume size information
Cordialement,
Benoît
De: "Sjoerd" <sjoerd at sjomar.eu>
À: "lxc-users" <lxc-users at lists.linuxcontainers.org>
Envoyé: Jeudi 30 Juin 2016 10:06:03
Objet: Re: [lxc-users] Btrfs - Disk quota and Ubuntu 15.10
On 30/06/2016 15:50, Benoit GEORGELIN - Association Web4all wrote:
> Yesterday I tried the kernel:v4.6.3-yakkety
>
> The command "lxc stop container" totaly crash the system . Hard reboot
> mandatory
>
> With v4.5.7-yakkety so far, everything looks fine, including the
> quota.
> But after what I read about btrfs, I'll find another FS for production
> system ready because I need the quota
Hmmm that doesn't sound prommising then :'(
Anyway for my local server I use ZFS on Linux (Ubuntu 16.04). Maybe
that's something for you too?
I don't use ZFS on my VPS, cause it doesn't have enough RAM (just 1GB)
Cheers,
Sjoerd
_______________________________________________
lxc-users mailing list
lxc-users at lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160630/8c93fd4e/attachment.html>
More information about the lxc-users
mailing list