White Papers

12
Logging in to [iface: default, target: iqn.2001-
05.com.equallogic:0-8a0906-ae2e66602-b156e11d6b04c0e7-sles1-
2010-06-08-13:16:18.6512, portal: 10.10.5.7,3260]
Login to [iface: default, target: iqn.2001-05.com.equallogic:0-
8a0906-ae2e66602-b156e11d6b04c0e7-sles1-2010-06-08-
13:16:18.6512, portal: 10.10.5.7,3260]: successful
4) Find the iSCSI device name of the snapshot:
# iscsiadm -m session -P3
iSCSI Transport Class version 2.0-871
version 2.0-871
Target: iqn.2001-05.com.equallogic:0-8a0906-ae2e66602-
b156e11d6b04c0e7-sles1-2010-06-08-13:16:18.6512
Current Portal: 10.10.5.13:3260,1
Persistent Portal: 10.10.5.7:3260,1
< SNIP Lines omitted >
************************
Attached SCSI devices:
************************
Host Number: 15 State: running
scsi15 Channel 00 Id 0 Lun: 0
Attached scsi disk sdc State: running
Target: iqn.2001-05.com.equallogic:0-8a0906-1b9e66602-
cbb6e11d2a34c0d1-sles1
Current Portal: 10.10.5.13:3260,1
Persistent Portal: 10.10.5.7:3260,1
< SNIP Lines omitted >
************************
Attached SCSI devices:
************************
Host Number: 8 State: running
scsi8 Channel 00 Id 0 Lun: 0
Attached scsi disk sdb State: running
The command output indicates that for this test configuration /dev/sdb is the device
name of the original volume and /dev/sdc is the device name of the snapshot volume,
both highlighted in RED above.
5) Create the mount point and mount the volume:
# mkdir /mnt/slessnap
# mount t ext3 /dev/sdc /mnt/slessnap
6) Check to see if the snapshot is mounted:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
50786940 3710672 44454828 8% /