Re: [pve-devel] Maximum Bind-Mounts
Thanks, i test it and it worked for me, although to be able to see all mounts in the GUI, we probably have to change more than one line. 2018-01-23 10:55 GMT+01:00 Andreas Steinel: > After a discussion on the forums [1], @fabian suggested to reopen this one. > > What is the current way to import a whole ZFS tree into a container? My > solution was to have more bind mount devices and manually add each one of > the, stupid, but easy to implement. > > [1] > https://forum.proxmox.com/threads/lxc-more-than-10- > mount-points-possible.40213/ > ___ > pve-devel mailing list > pve-devel@pve.proxmox.com > https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel > ___ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
After a discussion on the forums [1], @fabian suggested to reopen this one. What is the current way to import a whole ZFS tree into a container? My solution was to have more bind mount devices and manually add each one of the, stupid, but easy to implement. [1] https://forum.proxmox.com/threads/lxc-more-than-10-mount-points-possible.40213/ ___ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
On Wed, May 18, 2016 at 5:42 AM, Dietmar Maurerwrote: > Not sure, but maybe http://bindfs.org/ can help here? > Could be, but fuse is not known for its speed. I'll stick with the normal bind mounts. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
> On May 18, 2016 at 12:10 AM Andreas Steinelwrote: > > > On Tue, May 17, 2016 at 3:47 PM, Dietmar Maurer wrote: > > > > Because ZFS filesystems are cheap and should be used everywhere ... at > > > least as I have read. > > > > But such setup it is really clumsy for container as long > > as there is no recursive bind mount. > > > > Unfortunately, that's right. Therefore, I increased the mount limit. Not sure, but maybe http://bindfs.org/ can help here? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
On Tue, May 17, 2016 at 3:47 PM, Dietmar Maurerwrote: > > Because ZFS filesystems are cheap and should be used everywhere ... at > > least as I have read. > > But such setup it is really clumsy for container as long > as there is no recursive bind mount. > Unfortunately, that's right. Therefore, I increased the mount limit. A bind mount should be more lightweight than a normal mount and I ran on several occasions in the loopback mount limit of 1024 in former kernel version. I never noticed any slowness. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
> Because ZFS filesystems are cheap and should be used everywhere ... at > least as I have read. But such setup it is really clumsy for container as long as there is no recursive bind mount. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
On Sun, May 15, 2016 at 11:48 AM, Dietmar Maurerwrote: > > I have a filesystem called images with child filesystems of each year > going > > back to the 80s. > > And what is the purpose of such setup? Wouldn't it be simpler to merge > those old child file systems into a single one? > Because ZFS filesystems are cheap and should be used everywhere ... at least as I have read. One simple thing would be rollback. If everything is on one system, this will be very tricky. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
> I have a filesystem called images with child filesystems of each year going > back to the 80s. And what is the purpose of such setup? Wouldn't it be simpler to merge those old child file systems into a single one? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
Hi Dietmar, On Sun, May 15, 2016 at 7:19 AM, Dietmar Maurerwrote: > > > I needed more (bind of ZFS filesystem with a lot of children) so I > > increased the maximum in /usr/share/perl5/PVE/LXC/Config.pm and it worked > > fine. > > Would you mind to explain why you need more that 10 mounts? How many > do you need exactly? > I have a filesystem called images with child filesystems of each year going back to the 80s. So, there quite a few filesystems that have to be bind-mounted inside the container. Due to the filesystem boundaries, the bind-mount of the parent filesystem does not propagate the children filesystem inside the container. And yes, I can do it via network, but I do not need additional layers of unwanted complexity and slowness. ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Re: [pve-devel] Maximum Bind-Mounts
> is there a reason for a the maximum of 10 bind mounts for lxc? mounting is slow and clumsy to handle, for example with snapshot backups ... > I needed more (bind of ZFS filesystem with a lot of children) so I > increased the maximum in /usr/share/perl5/PVE/LXC/Config.pm and it worked > fine. Would you mind to explain why you need more that 10 mounts? How many do you need exactly? ___ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel