lxc.mount.entry vs mp0

j7b

New Member
Nov 16, 2023
2
0
1
What's the difference between these two configs? I've read the documentation but it's not clear in my head and they don't mention the former.

Code:
lxc.mount.entry: /dpool/data data none bind 0 0

Code:
mp0: /dpool/data,mp=/data

Our suspicion is that the later is a FUSE mount where-as the former could be a more direct mount. Just looking for clarification as I'm having some performance issues with the later that I want to diagnose.
 
both are bind mounts, the difference is that in the latter case PVE is aware of it, and in the former it's not.
 
  • Like
Reactions: j7b and flames
yes, exactly. bind mounts that PVE knows about will be handled in some fashion (depending on what you are doing, that might mean blocking certain actions, ignoring them, doing something with them), those that only LXC knows about not.
 
Does choosing one or the other impact how free space is reported to LXC's services? I installed Transmission and SAMBA into my privileged LXC, and both report 0 Bytes left in the mounted drive (Directory type storage), but there's plenty free space left.
 
no, that shouldn't make a difference, the cause is probably something else..