White Papers

11
Rescanning session [sid: 1, target: iqn.2001-05.com.equallogic:
0-8a0906-beee66602-27e79218c634bfec-sles1, portal:
10.10.5.7,3260]
4) Confirm the modified volume size was recognized:
# dmesg | tail
sdb: detected capacity change from 42954915840 to 53697576960
SCSI device sdb: 104878080 512-byte hdwr sectors (53698 MB)
sdb: Write Protect is off
sdb: Mode Sense: 91 00 00 00
SCSI device sdb: drive cache: write through
5) Resize the filesystem:
# resize2fs /dev/sdb
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/sdb is mounted on /mnt/sles1; on-line
resizing required
Performing an on-line resize of /dev/sdb to 13109760 (4k)
blocks.
The filesystem on /dev/sdb is now 13109760 blocks long.
6) Verify the volume’s new size:
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
50786940 3710700 44454800 8% /
/dev/sda1 101086 12538 83329 14% /boot
tmpfs 8216020 0 8216020 0% /dev/shm
/dev/sdb 51615928 184272 48816128 1% /mnt/sles1
Task #3 - Access a Snapshot
1) Use the Group Manager GUI to take a snapshot:
Select the volume (sles1) -> Snapshots -> Create snapshot now
NOTE: Set snapshot online
2) Discover the new volume (slesl-date-timestamp):
# iscsiadm -m discovery -t sendtargets -p 10.10.5.7
10.10.5.7:3260,1 iqn.2001-05.com.equallogic:0-8a0906-f57496702-
6a5ebc924194b842-vss-control
10.10.5.7:3260,1 iqn.2001-05.com.equallogic:0-8a0906-
beee66602-27e79218c634bfec-sles1
10.10.5.7:3260,1 iqn.2001-05.com.equallogic:0-8a0906-ae2e66602-
b156e11d6b04c0e7-sles1-2010-06-08-13:16:18.6512
3) Login to the discovered target, use the iSCSI qualified name <iqn> returned by the
discovery command (above):
# iscsiadm -m node -T <iqn> -p 10.10.5.7 --login