Hi.
Has anyone successfully setup MergerFS and SnapRaid on an LXC?
I'm hoping to have two disks mounted on an LXC. It will also have /mnt/disk1 /mnt/disk2, /mnt/storage and /mnt/parity1
The idea is to multiple disks shown as one. Most people do this with VM's and LXC's, but Proxmox LXC's aren't quite the same as LXC's outside Proxmox.
One thing that I am not sure about is MergerFS's fstab settings.
(Example of fstab)
To show up as:
I'd prefer to use LXC (if possible) because many of my applications utilise Mountpoints, and to not use mountpoints would become difficult, I am not sure how I would passthrough mountpoints in a VM.
---
Just another question, does anyone know if I am using MergerFS and SnapRaid, if all of my applications that will use the disk need to be on the same VM/LXC?
Say I have 2 LXC's writing to 1/2 of the mountpoints (disks), one has MergerFS and SnapRaid, the other doesn't .
If it needs to be all on one VM/LXC, is it possible to have MergerFS/SnapRaid on both LXC's/VM's?
Has anyone successfully setup MergerFS and SnapRaid on an LXC?
I'm hoping to have two disks mounted on an LXC. It will also have /mnt/disk1 /mnt/disk2, /mnt/storage and /mnt/parity1
The idea is to multiple disks shown as one. Most people do this with VM's and LXC's, but Proxmox LXC's aren't quite the same as LXC's outside Proxmox.
One thing that I am not sure about is MergerFS's fstab settings.
(Example of fstab)
# drive entries below abbreviated for formatting purposes
/dev/disk/by-id/ata-WDC_WD60...449UPL-part1 /mnt/parity1 ext4 defaults 0 0
/dev/disk/by-id/ata-WDC_WD60...V3-part1 /mnt/disk1 ext4 defaults 0 0
/dev/disk/by-id/ata-Hit...11YNG5SD3A-part1 /mnt/disk2 xfs defaults 0 0
/dev/disk/by-id/ata-WDC_WD...32015-part1 /mnt/disk3 xfs defaults 0 0
/dev/disk/by-id/ata-TOSH...3544DGKS-part1 /mnt/disk4 xfs defaults 0 0
/dev/disk/by-id/ata-WDC_WD...074096-part1 /mnt/disk5 xfs defaults 0 0
/mnt/disk* /mnt/storage fuse.mergerfs direct_io,defaults,allow_other,minfreespace=50G,fsname=mergerfs 0 0
To show up as:
/dev/sde1 5.5T 3.1T 2.1T 60% /mnt/parity1
/dev/sdh1 5.5T 3.1T 2.1T 60% /mnt/disk1
/dev/sdf1 2.8T 1.4T 1.4T 51% /mnt/disk2
/dev/sdg1 2.8T 2.1T 643G 77% /mnt/disk3
/dev/sda1 2.8T 2.1T 648G 77% /mnt/disk4
/dev/sdd1 2.8T 2.2T 641G 78% /mnt/disk5
mergerfs 17T 11T 5.4T 67% /mnt/storage
I'd prefer to use LXC (if possible) because many of my applications utilise Mountpoints, and to not use mountpoints would become difficult, I am not sure how I would passthrough mountpoints in a VM.
---
Just another question, does anyone know if I am using MergerFS and SnapRaid, if all of my applications that will use the disk need to be on the same VM/LXC?
Say I have 2 LXC's writing to 1/2 of the mountpoints (disks), one has MergerFS and SnapRaid, the other doesn't .
If it needs to be all on one VM/LXC, is it possible to have MergerFS/SnapRaid on both LXC's/VM's?
Last edited: