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

Brian J. Murrell Brian.Murrell at Sun.COM
Wed Jul 30 07:12:01 PDT 2008


On Tue, 2008-07-29 at 15:43 -0400, Ms. Megan Larko wrote:
> Hi,
> 
> Additional info.
> 
> If I use "scsidevs=/dev/sdj" in /usr/bin/sgpdd-survey in place of the
> /dev/sg16

Yes, this is the correct syntax.

> I receive the following result:
> Tue Jul 29 15:40:47 EDT 2008 sgpdd-survey on /dev/sdj from oss4.crew.local
> total_size 17487872K rsz 1024 crg     1 thr     4 write 1 failed read 1 failed
> total_size 17487872K rsz 1024 crg     1 thr     8 write 1 failed read 1 failed
> total_size 17487872K rsz 1024 crg     1 thr    16 write 1 failed read 1 failed
> total_size 17487872K rsz 1024 crg     2 thr     4 write 2 failed read 2 failed
> total_size 17487872K rsz 1024 crg     2 thr     8 write 2 failed read 2 failed
> total_size 17487872K rsz 1024 crg     2 thr    16 write 2 failed read 2 failed
> total_size 17487872K rsz 1024 crg     2 thr    32 write 2 failed read 2 failed
> total_size 17487872K rsz 1024 crg     4 thr     4 write 4 failed read 4 failed
> total_size 17487872K rsz 1024 crg     4 thr     8 write 4 failed read 4 failed
> total_size 17487872K rsz 1024 crg     4 thr    16 write 4 failed read 4 failed
> total_size 17487872K rsz 1024 crg     4 thr    32 write 4 failed read 4 failed
> total_size 17487872K rsz 1024 crg     4 thr    64 write 4 failed read 4 failed
> total_size 17487872K rsz 1024 crg     8 thr     8 write 8 failed read 8 failed
> total_size 17487872K rsz 1024 crg     8 thr    16 write 8 failed read 8 failed
> total_size 17487872K rsz 1024 crg     8 thr    32 write 8 failed read 8 failed
> total_size 17487872K rsz 1024 crg     8 thr    64 write 8 failed read 8 failed
> total_size 17487872K rsz 1024 crg    16 thr    16 write 16 failed read 16 failed
> total_size 17487872K rsz 1024 crg    16 thr    32 write 16 failed read 16 failed
> total_size 17487872K rsz 1024 crg    16 thr    64 write 16 failed read 16 failed
> total_size 17487872K rsz 1024 crg    32 thr    32 write 32 failed read 32 failed
> total_size 17487872K rsz 1024 crg    32 thr    64 write 32 failed read 32 failed
> total_size 17487872K rsz 1024 crg    64 thr    64 write 64 failed read 64 failed
> 
> All writes and reads fail but it indicates that it found the device....

Indeed.  So the question is, why are the reads and writes failing.

Do you have any files in /tmp named:

/tmp/sgpdd_survey_$(date)_$(uname -n).detail

If so, can you paste one here?

Alternatively you can try using sgp_dd to read a device.  The following
should work:

# sgp_dd /dev/sg16 /dev/null count=10 bs=512 time=1

and paste the result here.

b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20080730/e1e625a3/attachment.pgp>


More information about the lustre-discuss mailing list