Using fuse and webdav on linux vps

1

I have a 20GB VPS running Linux 2.6.32-042stab124.2 The server is used to automatically analyze big firmware files, therefore I want to mount my 1TB webdav using davfs2.

Davfs2 depends on fuse, I have fuse installed but I get this error:

modprobe: ERROR: ../libkmod/libkmod.c:508 kmod_lookup_alias_from_builtin_file() could not open builtin file '/lib/modules/2.6.32-042stab124.2/modules.builtin.bin' modprobe: FATAL: Module fuse not found.

This is due to my linux kernel being quite old but my vps provider does not allow installing a newer kernel.

Is there anything I can do to still extend the storage without having to pay my VPS provider for expensive storage?

Nicolai VdS

Posted 2018-05-29T12:43:12.953

Reputation: 11

Answers

0

Your VPS is an OpenVZ/Virtuozzo virtual machine, which is a container. You can tell from the kernel version (2.6.32-042stab124.2), which is a numbering scheme you'll only find with OpenVZ.

The nature of a container means that only the kernel modules loaded on the host may be used, and even those may have some restrictions because root access on your container itself is restricted.

I don't think you can do your own mounts on your current VPS.


My recommendation to you is to find a different VPS plan or hosting provider that will allow you to use the kernel modules you want to use.

Since containers do not allow you to load your own kernel modules, you'll need to find a plan based on a hypervisor. Hypervisors provide an environment where an independent kernel can run, which crucially lets you load the fuse module you want into that kernel so that you can do the davfs2 mount.

These are some popular hypervisors that may show up in the marketing for VPS plans:

  • KVM
  • Xen
  • VMware
  • Hyper-V

Hypervisor-based VPS hosting is often more expensive than container-based VPS hosting because of the overhead of virtualized hardware. Resources such as RAM and disk space are more likely to be allocated to just your VPS instead of shared among all containers, which doesn't allow the hosting provider to cram as many virtual machines into one host.

That said, you may see these container technologies in budget VPS plans, which you should not choose if you want to run your own kernel:

  • OpenVZ
  • Virtuozzo
  • LXD/LXC
  • Docker
  • anything with the word "container"

Deltik

Posted 2018-05-29T12:43:12.953

Reputation: 16 807

Aside: Container hosting providers tend to do nasty tricks to increase density and cut costs, so you may not even get the advertised specs.

– Deltik – 2018-05-29T14:49:11.207