Verifying Srp; Verifying Srp Functionality - Cisco GEM318P User Manual

Host drivers for linux
Table of Contents

Advertisement

Chapter 4
SCSI RDMA Protocol

Verifying SRP

This section describes how to verify SRP functionality and verify SRP host-to-storage connections with
the Element Manager GUI and includes the following sections:

Verifying SRP Functionality

To verify SRP functionality, perform the following steps:
Log in to your SRP host.
Step 1
Create a disk partition.
Step 2
The following example shows how to partition a disk by using approximately half of the first SRP disk:
host1# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 8200.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/sdb: 8598 MB, 8598847488 bytes
64 heads, 32 sectors/track, 8200 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-8200, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-8200, default 8200): 4000
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
Create a file system on the partition.
Step 3
The following example shows how to create a file system on the partition:
host1 # mke2fs -j /dev/sdb1
mke2fs 1.35 (28-Feb-2004)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
OL-12309-01
Verifying SRP Functionality, page 4-7
Verifying with Element Manager, page 4-8
Cisco SFS InfiniBand Host Drivers User Guide for Linux
Verifying SRP
4-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

St373307lcSfs infiniband

Table of Contents