[Lustre-discuss] Lustre IOkit newbie: sgpdd-survey

Ms. Megan Larko dobsonunit at gmail.com
Tue Jul 22 12:03:07 PDT 2008


Hi,

I am a neophyte trying to benchmark new hardware for a Lustre setup.
I got the Lustre IOkit noarch rpm and installed it onto the OSS.  I
edited the file /usr/bin/sgpdd-survey (attached) to meet the
description of our OSS (RAM is 16Gb, sample new hardware detected at
/dev/sdg).

My initial running of sgpdd-survey produced the following errors:
[root at oss4 ~]# sgpdd-survey
Can't find SG device for /dev/sdg1, testing for partition
/usr/bin/sgpdd-survey: line 105: CAPACITY
trying
0x200: syntax error in expression (error token is "trying
0x200")
/usr/bin/sgpdd-survey: line 106: [: ==: unary operator expected
Tue Jul 22 14:46:48 EDT 2008 sgpdd-survey on /dev/sdg1 from oss4.crew.local
/usr/bin/sgpdd-survey: line 134: rsz*1024/bs: division by 0 (error token is "s")

System Info:
[root at oss4 ~]# uname -a
Linux oss4.crew.local 2.6.18-53.1.13.el5_lustre.1.6.4.3smp #1 SMP Sun
Feb 17 08:38:44 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
[root at oss4 ~]# cat /etc/redhat-release
CentOS release 5 (Final)

The physical device is there.  I did format it into two 7Tb partitions
just to give it an earlier test.  Do I have to un-format it for
sgpdd-survey?

[root at oss4 ~]# parted /dev/sdg
GNU Parted 1.8.1
Using /dev/sdg
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print

Model: LSI MegaRAID 8888ELP (scsi)
Disk /dev/sdg: 14.0TB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name  Flags
 1      17.4kB  7000GB  7000GB  ext3         sdg1
 2      7000GB  14.0TB  6986GB  ext3         sdg2

(parted) q
Information: Don't forget to update /etc/fstab, if necessary.

Any advice for testing a new system with sgpdd-survey?

Advice appreciated!
megan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OSS4.sgpdd-survey.sh
Type: application/x-sh
Size: 6081 bytes
Desc: not available
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20080722/942035ed/attachment.sh>


More information about the lustre-discuss mailing list