home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / hp / 12775 < prev    next >
Encoding:
Internet Message Format  |  1992-11-10  |  3.6 KB

  1. Path: sparky!uunet!munnari.oz.au!metro!usage!sserve!manuel.anu.edu.au!coombs!sean
  2. From: sean@coombs.anu.edu.au (Sean Sebastian Batt)
  3. Newsgroups: comp.sys.hp
  4. Subject: sysdiag(1m) and LDEV for SCSI disks
  5. Date: 11 Nov 92 05:54:37 GMT
  6. Organization: Australian National University
  7. Lines: 75
  8. Message-ID: <sean.721461277@coombs>
  9. NNTP-Posting-Host: 150.203.76.2
  10. Summary: I can't get they syntax right for specifying a SCSI disc as an LDEV
  11. Keywords: sysdiag(1m), LDEV, PDEV, SCSI discs
  12.  
  13. Dear Colleagues,
  14.  
  15. In trying to solve a problem with bad blocks on a 3rd party SCSI disc
  16. (described in <sean.721458579@coombs>), I had an abortive play with
  17. sysdiag(1m) and the SCSIDSK2 diagnostic program (for which I have no
  18. documentation :-| ). I couldn't get anything interesting (well,
  19. anything at all, actually) out of it because I don't know how to
  20. specify an LDEV or PDEV for the disc device in question. The disc is
  21. at SCSI id 2 on the internal SCSI port of my 9000/750.
  22.  
  23. The disc I want to look at is a Hitachi DK516C at SCSI id 2, the disc
  24. at SCSI id 6 is a Micropolis 1528 supplied by HP as the boot disc for
  25. our '750. Note that the HP disc would have been tested before
  26. installation, probably on July 3rd (from the date on the
  27. /dev/diag/dsk/c32d6 file). So the /dev/diag files seem to be OK.
  28.  
  29. root> ls -l /dev/dsk/[26]s0
  30. brw-r-----   1 root     sys        7 0x201200 Dec 27  1991 /dev/dsk/2s0
  31. brw-r-----   1 root     sys        7 0x201600 Dec 26  1991 /dev/dsk/6s0
  32. root> ls -l /dev/rdsk/[26]s0
  33. crw-r-----   1 root     sys       47 0x201200 Nov  9 14:27 /dev/rdsk/2s0
  34. crw-r-----   1 root     sys       47 0x201600 Nov  5 12:45 /dev/rdsk/6s0
  35. root> ls -l /dev/diag/dsk/c32d[26]
  36. crw-r--r--   1 root     other     47 0x201200 Dec 27  1991 /dev/diag/dsk/c32d2
  37. crw-r--r--   1 root     other     47 0x201600 Jul  3 15:32 /dev/diag/dsk/c32d6
  38.  
  39. In sysdiag(1m) I've tried the following lines for LDEV:
  40.  
  41. DUI> scsidsk2 ldev 2s0
  42. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  43. DUI> scsidsk2 ldev=2s0
  44. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  45. DUI> scsidsk2 ldev dsk/2s0
  46. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  47. DUI> scsidsk2 ldev=dsk/2s0
  48. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  49. DUI> scsidsk2 ldev rdsk/2s0
  50. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  51. DUI> scsidsk2 ldev=rdsk/2s0
  52. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  53. DUI> scsidsk2 ldev /dev/dsk/2s0
  54. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  55. DUI> scsidsk2 ldev=/dev/dsk/2s0
  56. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  57. DUI> scsidsk2 ldev /dev/rdsk/2s0
  58. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  59. DUI> scsidsk2 ldev=/dev/rdsk/2s0
  60. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  61. DUI> scsidsk2 ldev c32d2
  62. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  63. DUI> scsidsk2 ldev=c32d2
  64. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  65. DUI> scsidsk2 ldev dsk/c32d2
  66. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  67. DUI> scsidsk2 ldev=dsk/c32d2
  68. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  69. DUI> scsidsk2 ldev diag/dsk/c32d2
  70. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  71. DUI> scsidsk2 ldev=diag/dsk/c32d2
  72. *** LDEV SPECIFICATION EXPECTED (DUISERR 536)
  73. DUI> scsidsk2 ldev /dev/diag/dsk/c32d2
  74. *** INVALID LDEV SPECIFIED (DUIERR 322)
  75. DUI> scsidsk2 ldev=/dev/diag/dsk/c32d2
  76. *** INVALID LDEV SPECIFIED (DUIERR 322)
  77.  
  78. So I'm getting close, but not quite close enough :-(
  79.  
  80. Any help in solving this minor annoyance would be really appreciated!
  81.  
  82. Sean Batt
  83. --
  84. ------------- Sean Sebastian Batt - sean@coombs.anu.edu.au --------
  85. -------- Coombs Computing Section - Telephone: +61 6 249 3296 -----
  86. -- Australian National University - GPO Box 4 Canberra City 2601 --
  87. -------------------------------------------------------------------
  88.