π¦ Synology NAS¶
The Synology NAS provides iSCSI storage that is integrated with the Proxmox Backup Server.
This storage is identified as pve-2_iscsi_storage and is shared across all Proxmox nodes, ensuring centralized, resilient backup storage.
π Updating Synology¶
Synology devices are updated through the web GUI:
- Navigate to https://synology.refol.us.
- Open Control Panel β Update & Restore.
- The interface will indicate whether an update is available.
β οΈ Important: Before applying updates, log out of all active iSCSI sessions to prevent data corruption. For example, the iSCSI session used by the Proxmox Backup Server must be disconnected.
π Logging Out of iSCSI Sessions¶
From the pve-2 terminal, log out of the active iSCSI session:
sudo iscsiadm -m node --logout -T iqn.2000-01.com.synology:synology-0.Target-1.76fd697e949
π Restoring iSCSI Sessions After Update¶
Once the update is complete, restore the iSCSI session:
sudo iscsiadm -m node --targetname iqn.2000-01.com.synology:synology-0.Target-1.76fd697e949 --portal 192.168.2.240 --login
β Verifying iSCSI Session Status¶
Confirm that the iSCSI session is active:
sudo iscsiadm --mode session --print=1
Expected output:
Target: iqn.2000-01.com.synology:synology-0.Target-1.76fd697e949 (non-flash)
Current Portal: 192.168.2.240:3260,1
Persistent Portal: 192.168.2.240:3260,1
**********
Interface:
**********
Iface Name: default
Iface Transport: tcp
Iface Initiatorname: iqn.1993-08.org.debian:01:6865e8684bf6
Iface IPaddress: 192.168.2.202
Iface HWaddress: default
Iface Netdev: default
SID: 2
iSCSI Connection State: LOGGED IN
iSCSI Session State: LOGGED_IN
Internal iscsid Session State: NO CHANGE
π Mounting the iSCSI Drive¶
Finally, mount the iSCSI drive to make the backup datastore available:
sudo mount /mnt/datastore/backups/
β Summary¶
This workflow ensures safe updates to the Synology NAS while maintaining reliable iSCSI connectivity for the Proxmox Backup Server:
- Preβupdate: Log out of iSCSI sessions.
- Postβupdate: Restore sessions and verify connectivity.
- Final step: Mount the datastore for backup operations.