Derek Andrews's picture

I wonder if someon can help?

Have successfully installed the base LXC system and added Samba and Joomla 2.5 and had a play. Flushed with success, I added 3 x 2TB disks to my system (HP micro server) with the intension of adding ZFS to the base LXC system and then re-installing Samba and Joomla and Wordpress. Configuring ZFS looks relatively straight forward, but installing it has been a pain. Have tried all the Linux "spells and Incantations" I have found on the web to install ZFS --- all have failed --- I am beginning to feel like Harry Potter at a "spellling" class --- I am worried if I continue I might turn myself into a frog.

Main failure seems to be that after all the incantatioins the zfs module cannot be found when executing modprobe zfs. Can anyone point me in the right direction so I can continue playing?

Thanking you in anticipation.

Derek

Forum: 
Jeremy Davis's picture

But running on the assumption that LXC is somewhat like OVZ in implementation, ZFS would have to be installed and working on the host system. In the case of OVZ (and I assume LXC too) as the container doesn't actually have it's own kernel (and drivers etc) it doesn't have it's own filesystem. As such it's really just piggy backing off the host.

As for installing ZFS on the host OS, assuming that you are using TurnKey then it should be the same for any default Debian install (v13.x = Wheezy; v12.x = Squeeze). I've never used it so I can;t really comment beyond that...

Derek Andrews's picture

Solved the problem by using Debian Server as the base system and installing lxc on top, then installed Joomla/Samba as turnkey lxc machines. Debian server can install zfs. Pity the basic turnkey LXC doesn't seem to support the installation of ZFS.

Jeremy Davis's picture

Because of the slimmed down TurnKey installer I understand why you can't do it during install, but once installed I don't understand why you couldn't install it. Other than a few custom packages, TurnKey is basically Debian (inc vanilla Debian kernel).

Regardless I'm glad you worked around your issue. Out of curiosity did you document what didn't work? And/or use a specific tutorial or something? It might be worth us working out why it doesn't work OOTB.

Add new comment