ProxMox Synology Tips

Tips and tricks for setting up DSM on ProxMox. Xpenology configuration script snippets included.

7 min read
AIMachine LearningPython

ProxMox Synology Tips

Import ARPL.IMG

qm importdisk 100 /var/lib/vz/template/iso/arpl.img local

Hard Drive Passthrough

Run the following commands in the terminal of your choice. Must ssh or use web UI.

apt install lshw
ls -l /dev/disk/by-id/

This will give you a list of all your disk ids. You can look in the GUI to find the correct Model & Serial.

Untitled

ls -al /dev/disk/by-id | grep "serial or product”

Assign Drives to VM

Find your vm’s ID in Proxmox. It will be in parenthesis next to the vm name. Your first vm should be number 100. Mine is 102 in the next few lines.

qm set 100 -scsi0 /dev/disk/by-id/ata-OOS12000G_00008LSX
qm set 100 -scsi1 /dev/disk/by-id/ata-OOS12000G_0000CTXW
qm set 100 -scsi2 /dev/disk/by-id/ata-WDC_WD40EZRZ-00GXCB0_WD-WCC7K1JLTECU

Manually activate Active Backup For Business

API Login:

http://ip:port/webapi/entry.cgi?api=SYNO.API.Auth&version=6&method=login&account=username&passwd=password&format= cookie

If password contains special characters, you must encode.

https://meyerweb.com/eric/tools/dencoder/

If it works, you should see a session id along with a bunch of other data. Look for “success”:true at the end of the line.

Untitled

Activate with Serial Number

http://ip:port/webapi/entry.cgi?api=SYNO.ActiveBackup.Activation&method=set&version=1&activated=true&serial_number=yourserialnumberfoundinsettings

This serial number is found within DSM under Control Center, Info Center