/usr/syno/etc/rc.iscsi start
#You can get the targetname with iscsiadm -m discovery -t st -p IpAdress
iscsiadm -m node --targetname "iqn.2000-01.com.synology:MyRemoteServer.Target-1.0b6d4f7c32" --portal "IpAdress:3260" --login
##checks
#tail -f /var/log/messages
#fdisk -l
synospace --partition --add-to-system -o /dev/isda
#make synology 3 partitions on LUN
synospace --partition --do --level=single_disk -o /dev/isda
#check with fdisk -l
mkfs.btrfs /dev/isda3
or only one partition with parted
parted /dev/isda
>mklabel gpt
>mkpart primary btrfs 2048s 100%
>resizepart 1 100%
>quit
Web gui : Task scheduler > new boot-up task :
/usr/syno/etc/rc.iscsi start
iscsiadm -m node --targetname "iqn.2000-01.com.synology:MyRemoteServer.Target-1.0b6d4f7c32" --portal "IpAdress:3260" --login
sleep 5 #need some time to connect
mount /dev/isda3 /volume2
#make the new mount available in the webgui
sed -i '$ i\ <space path="\/dev\/isda3" reference="\/volume2"><device><\/device><reference><volume path="\/volume2" dev_path="\/dev\/isda3" type="btrfs"><\/volume><\/reference><\/space>' /tmp/space/space_mapping.xml
#add a share
synoshare --add iscsi_test "iscsi target mounted from another syno" /volume2/iscsi_test "" "rwuser" "" 1 0