MooseFS on Proxmox.
- Natively use MooseFS storage on Proxmox.
- Support for MooseFS clusters with passwords and subfolders
- Live migrate VMs between Proxmox hosts with the VMs living on MooseFS storage
- Cleanly unmounts MooseFS when removed
- Instant snapshots and rollbacks
- MooseFS block device (
mfsbdev
) support for high performance
This is HIGHLY EXPERIMENTAL! I'm running it in production, but you should be careful.
Call it pre-alpha quality.
Do not use snapshots with your MooseFS storage, as they are actively being worked on and not ready yet
Adding as storage | Viewing a MooseFS storage target |
---|---|
![]() |
![]() |
Perform the following steps on your Proxmox host(s):
Easy:
- Upgrade to Proxmox 8.3.5
- Install the attached .deb file in Releases.
Harder:
- Upgrade to Proxmox 8.3.5
- Clone this Git repository and enter it with
cd
- Make the Debian package:
make
- Install the Debian package:
dpkg -i *.deb
Now mount the storage! You can use the Proxmox GUI for this.
- Go to Datacenter -> Storage
- Click Add -> MooseFS and follow the wizard.
Now mount the storage via command line:
pvesm add moosefs moosefs-vm-storage --path /mnt/mfs
In this example, we create a custom storage called "moosefs-vm-storage" using the moosefs plugin we just installed.
You can apply the following optional settings:
- --mfsmaster mfsmaster.my.hostname - Set the mfsmaster IP or hostname to help MooseFS find the metadata server(s).
- --mfspassword mypasswordhere - If your MooseFS exports require a password to mount MooseFS, set this.
- --mfssubfolder media - If you need to use a folder within MooseFS instead of pointing at the root of the filesystem, set this.
- --mfsport 9421 - If you're running the mfsmaster on a custom port, you can set this. Note: Currently unused 🚧
Huge thanks to the following contributors:
- @anwright - Major fixes, snapshots, general cleanup
- @pkonopelko - General advice
Thanks to the following sources for code contributions:
- https://github.com/mityarzn/pve-storage-custom-mpnetapp - Initial plugin skeleton, packaging
- https://forums.servethehome.com/index.php?threads/custom-storage-plugins-for-proxmox.12558/ - Also used building the skeleton
- Proxmox GlusterFS and CephFS plugins - Also used in building the skeleton
v0.1.0 - Initial release
- Major features
- Mount, unmount and setup shared MooseFS storage on your Proxmox cluster
- Snapshots not working in this build
v0.1.1 - Bug fixes
- Add 'container' as an option in the Proxmox GUI to allow containers to be stored on MooseFS
- Allow leading
/
on mfssubfolder