Requirements:

  • A working snapshot
  • A snapshot turned online in equallogic
  • A Linux server using iscsiadm

Connecting to snapshot:

#Make sure equallogic snapshot is online before starting

#View current sessions to see what is connected iscsiadm -m session

#Make sure you have an empty temporary directory first such as /temp/ #Connect to equallogic snapshots(This connects to all available volumes) iscsiadm -m discovery -t st -p <ip address discovery portal> #Verify 4 connections exist if using multipath iscsiadm -m session #Check fdisk to see available mount points fdisk -l #mount to temp directory using mount point ie: /dev/sdc/ mount /dev/sdc /temp/ #Verify that files exist ls /temp/

Copy all needed files from snapshot over to server.

Disconnecting from snapshot:

#Unmount temporary directory
umount /temp/

#verify that no files exist in temp directory
ls /temp/

#gather iqn and ip address from discovery
iscsiadm -m discovery -t st -p <ip address discovery portal>

#logout from snapshot iqn
iscsiadm -m node -T <iqn> -p <ip address> -u

#view current sessions to make sure snapshot is no longer there
iscsiadm -m session

#set snapshot to offline in equallogic MAKE SURE THIS IS DONE CORRECTLY AS TO NOT CAUSE ANY ISSUES