context:
- prepared a NVMe (/dev/nvme1n1) drive on the PVE host
- created ext4 filesystem
- mounted on PVE host
- bind mount point the mounted directory on PVE host to Container (201)
-
- similarly did a pcie passthrough to a Virtual Machine (301)
- was able to log into VM-301, and see the drive
- created a folder and file using non-root user
- was able to log into the CT-201, and see the drive
question:
- when log into CT-201, unable to create/cat the contents of any files on this drive
resources:
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points
- prepared a NVMe (/dev/nvme1n1) drive on the PVE host
- created ext4 filesystem
- mounted on PVE host
- bind mount point the mounted directory on PVE host to Container (201)
-
Bash:
pct set 201 -mp0 /mnt/bindmounts/nvme1n1p1,mp=/mnt/nvme1n1p1-data
Bash:
qm set 301 -scsi2 /dev/disk/by-id/nvme-<device-id>
- created a folder and file using non-root user
- was able to log into the CT-201, and see the drive
question:
- when log into CT-201, unable to create/cat the contents of any files on this drive
resources:
https://pve.proxmox.com/wiki/Linux_Container#_bind_mount_points