TSF – Giải pháp IT toàn diện cho doanh nghiệp SMB | HCM

Nas - How to Configure Disk Passthrough in Proxmox for Synology DSM

n this guide, you’ll learn how to configure disk passthrough in Proxmox for Synology DSM safely and correctly.
Disk passthrough is essential if you want DSM to fully control your hard drives without performance loss.
Many users make critical mistakes that can lead to data corruption or missing disks.
This tutorial explains the difference between passthrough methods and when to use each one.
You’ll see step-by-step how to identify disks, configure Proxmox, and attach them to DSM properly.
This setup is ideal for NAS, backup servers, and homelab environments.
Whether you’re running Xpenology or a test DSM system, this method ensures stability.
Follow along to build a reliable NAS solution on Proxmox with confidence.

Step 1: Create VM

Disk VM SATA 5G  storage local-lvm
Write the arc.img file to this SATA disk.
dd if=/var/lib/vz/template/iso/arc.img of=/dev/pve/vm-106-disk-0 bs=4M status=progress

Step 2: Identify the physical disk passthrough

SSH to TrueNas and identify the disk name (sda, sdb, sdc,…)
lsblk

sdb, sdc

The disk to be passthrough is named Samsung
Once you have the disk name, you can identify the disk ID using the command:
ls -l /dev/disk/by-id/

ata-SAMSUNG_MZ7LN256HAJQ-000L7_S3S7NE0KA13973

If the disk HAS DATA – you want to FORMAT it:
sgdisk –zap-all /dev/disk/by-id/ata-SAMSUNG_MZ7LN256HAJQ-000L7_S3S7NE0KA13973


Step 3: Assign the disk to the VM

qm set 106 -scsi0 /dev/disk/by-id/ata-SAMSUNG_MZ7LN256HAJQ-000L7_S3S7NE0KA13973

scsi0  First disk
Disk Boot is sata0

Step 4: Start VM

At this point, you can use the passthrough disk as disk storage for your NAS data, or if you haven’t installed it yet, you can use it as the NAS OS disk.