Synology NAS¶
Synology provides an iScsi storage that is used by the Proxmox Backup Server. This storage is identified with the "pve-2_iscsi_storage" and is shared to all Proxmox nodes.
Updating Synology¶
Synology is updated from its web GUI. Navigate to https://synology.refol.us and open Control Panel > Update & Restore. The page will indicate whether an update is available.
Before applying the update make sure to logout any iSCSI session to avoid any possible data corruption. For example, the iSCSI session used by the Proxmox Backup Server must be logged out.
From the pve-2 terminal, execute the following to logout of the iSCSI session.
sudo iscsiadm -m node --logout -T iqn.2000-01.com.synology:synology-0.Target-1.76fd697e949
After the update, 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
Verify that the iSCSI session is active,
sudo iscsiadm --mode session --print=1
It should output something like the following.
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
Mount the iSCSI drive.
sudo mount /mnt/datastore/backups/