Skip to content

Instantly share code, notes, and snippets.

View JSinghDev's full-sized avatar

Jp JSinghDev

  • Ritam Steels
  • Delhi
View GitHub Profile

Mount Volumes into Proxmox VMs with Virtio-fs

Part of collection: Hyper-converged Homelab with Proxmox

Virtio-fs is a shared file system that lets virtual machines access a directory tree on the host. Unlike existing approaches, it is designed to offer local file system semantics and performance. The new virtiofsd-rs Rust daemon Proxmox 8 uses, is receiving the most attention for new feature development.

Performance is very good (while testing, almost the same as on the Proxmox host)

VM Migration is not possible yet, but it's being worked on!

@JSinghDev
JSinghDev / wg-client1.conf
Created June 10, 2024 20:36 — forked from lanceliao/wg-client1.conf
Sample WireGuard configuration files
[Interface]
Address = 10.200.200.3/32
PrivateKey = [Client's private key]
DNS = 8.8.8.8
[Peer]
PublicKey = [Server's public key]
PresharedKey = [Pre-shared key, same for server and client]
Endpoint = [Server Addr:Server Port]
AllowedIPs = 0.0.0.0/0
@JSinghDev
JSinghDev / onlyofficeDocsLXCBuster.md
Created May 17, 2022 17:47 — forked from tavinus/onlyofficeDocsLXCBuster.md
OnlyOffice Docs into a LXC Debian 10
@JSinghDev
JSinghDev / 9p_virtio.md
Last active March 12, 2024 22:19 — forked from bingzhangdai/9p_virtio.md
Set up VirtFS (9p virtio) for sharing files between Guest and Host on Proxmox VE (Share a ZFS dataset)

How-to

  1. Prep Check if 9pnet_virtio module is loded using the command
modinfo 9pnet_virtio

if it's not loaded check trouble shooting step 1. below

  1. On Host(PVE), edit /etc/pve/qemu-server/VMID.conf
@JSinghDev
JSinghDev / LXCBindMount.md
Last active November 1, 2025 14:00 — forked from ajmassi/LXCBindMount.md
Create a bind mount from a Proxmox host on an unprivileged lxc container

Proxmox Assign Bind Mount To Unprivileged Container

In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.

Bind Mount dataset to LXC

Add the following line to /etc/pve/lxc/<CT_ID>.conf

mp0:/mount/point/on/host,mp=/mount/point/on/lxc

OR

pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared