Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Hardware

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 02:29 PM
Robert Mazur
 
Posts: n/a
Default Trouble configuring SCSI DAT on Ultra 60

I am trying to configure an external SCSI DAT drive to an Ultra60 w/
Solaris 9. It is a Dell Powervault 100T, which I find to be a
re-branded Seagate STD6401LW.

I Google'd the config details I would need for the /kernel/drv/st.conf
entry and found:

tape-config-list=
"SEAGATE DAT 06240-XXX", "Seagate DAT Drive", "SEAGATE_DAT";
SEAGATE_DAT = 1,0x34,0,0xd639,4,0x00,0x8C,0x8C,0x8C,3;

Following a handful of usenet posts I found, I placed that detail into
st.conf, rebooted, used STOP-A, and at OK prompt used:

setenv auto-boot? false
reset
probe-scsi-all

Solaris gave:
-------------------
/pci@1f, 4000/scsi@3,1
Target 4
Unit 0 Removable Tape Archive Python 06408-xxx8071

/pci@1f, 4000.scsi@3
Target 0
Unit 0 Disk Seagate <my 1st hard disk info....>

Target 1
Unit 0 Disk Seagate <my 2nd hard disk info....>

Target 6
Unit 0 Sony CD-Rom <etc...>
-------------------

I was happy to see something recognized, but I suppose I was a little
suprised to see it listing "Python" rather than a Seagate device.
Nonetheless I carried on with:

setenv auto-boot? true
boot -r

I noticed a handful of entries in /dev/rmt/. I attempted writing to the
drive with:
tar cvf /dev/rmt/0 /export/home/my_name/test/*

and got back: tar: /dev/rmt/0: I/O error

Having a look in /var/adm/messages I see:
Sep 19 11:38:36 sunking scsi: [ID 365881 kern.info]
/pci@1f,4000/scsi@3,1/st@4,0 (st11):
Sep 19 11:38:36 sunking <Archive Python 4mm Helical Scan>
Sep 19 11:38:36 sunking scsi: [ID 193665 kern.info] st11 at glm1: target
4 lun 0
Sep 19 11:38:36 sunking genunix: [ID 936769 kern.info] st11 is
/pci@1f,4000/scsi@3,1/st@4,0

So, do you think the details above are pointing me at having the wrong
config lines in my st.conf? Or, are the details from probe-scsi-all
suggesting I am stepping on the same SCSI id? I have the switch on the
back of the DAT drive set to "4"...I don't know if the scsi@3 part in
the probe-scsi-all results is significant to my problem.

Thanks for any pointers.
Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 02:29 PM
Tristram Scott
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

Robert Mazur <no-one@no-domain.com> wrote:
> I am trying to configure an external SCSI DAT drive to an Ultra60 w/
> Solaris 9. It is a Dell Powervault 100T, which I find to be a
> re-branded Seagate STD6401LW.
>

[snip]

> I was happy to see something recognized, but I suppose I was a little
> suprised to see it listing "Python" rather than a Seagate device.


[snip]

That seems quite likely. Archive Python and Seagate have been
interchangeable names for these things form many years, I think usually
depending on the flavour of the firmware in the drive.

The SCSI id could well be the problem. Pull off the connector to the
switch and use a couple of jumpers. Some devices have the bit order
reversed from others, so you switch may well be dialling up the wrong
number.


--
Dr Tristram J. Scott
Energy Consultant
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 02:30 PM
Robert Mazur
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

Tristram Scott wrote:
> Robert Mazur <no-one@no-domain.com> wrote:
>
>>I am trying to configure an external SCSI DAT drive to an Ultra60 w/
>>Solaris 9. It is a Dell Powervault 100T, which I find to be a
>>re-branded Seagate STD6401LW.
>>

>
> [snip]
>
>
>>I was happy to see something recognized, but I suppose I was a little
>>suprised to see it listing "Python" rather than a Seagate device.

>
>
> [snip]
>
> That seems quite likely. Archive Python and Seagate have been
> interchangeable names for these things form many years, I think usually
> depending on the flavour of the firmware in the drive.
>
> The SCSI id could well be the problem. Pull off the connector to the
> switch and use a couple of jumpers. Some devices have the bit order
> reversed from others, so you switch may well be dialling up the wrong
> number.
>
>


Thanks for the note.

When attempting to write to the drive and getting "I/O error" as a
result, I am getting out of /var/adm/messages:

Sep 20 06:57:12 sunking scsi: [ID 365881 kern.info]
/pci@1f,4000/scsi@3,1/st@4,0 (st11):
Sep 20 06:57:12 sunking <Archive Python 4mm Helical Scan>
Sep 20 06:57:12 sunking scsi: [ID 193665 kern.info] st11 at glm1:
target 4 lun 0
Sep 20 06:57:12 sunking genunix: [ID 936769 kern.info] st11 is
/pci@1f,4000/scsi@3,1/st@4,0

I am guessing here, but it looks like Solaris is recognizing my DAT
drive at scsi id 4, with the piece that says "st@4". Am i right? Of
course, I am not sure what the "(st11)" means afterward.

Thanks,
Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 02:30 PM
Darren Dunham
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

Robert Mazur <no-one@no-domain.com> wrote:
> I Google'd the config details I would need for the /kernel/drv/st.conf
> entry and found:


> tape-config-list=
> "SEAGATE DAT 06240-XXX", "Seagate DAT Drive", "SEAGATE_DAT";
> SEAGATE_DAT = 1,0x34,0,0xd639,4,0x00,0x8C,0x8C,0x8C,3;


You generally don't need to add stuff like this unless you're having
trouble with it.

> Target 4
> Unit 0 Removable Tape Archive Python 06408-xxx8071


> I was happy to see something recognized, but I suppose I was a little
> suprised to see it listing "Python" rather than a Seagate device.


Since the first string in tape-config-list has to match the device, your
entry is probably not being used.

> I noticed a handful of entries in /dev/rmt/. I attempted writing to the
> drive with:
> tar cvf /dev/rmt/0 /export/home/my_name/test/*


> and got back: tar: /dev/rmt/0: I/O error


> Having a look in /var/adm/messages I see:
> Sep 19 11:38:36 sunking scsi: [ID 365881 kern.info]
> /pci@1f,4000/scsi@3,1/st@4,0 (st11):
> Sep 19 11:38:36 sunking <Archive Python 4mm Helical Scan>
> Sep 19 11:38:36 sunking scsi: [ID 193665 kern.info] st11 at glm1: target
> 4 lun 0
> Sep 19 11:38:36 sunking genunix: [ID 936769 kern.info] st11 is
> /pci@1f,4000/scsi@3,1/st@4,0


This indicates that it's using the entries in the st driver, not yours.
(The item in <> should be the second field of the tape-config-list
entry).

% strings /kernel/drv/st | grep Python
ARCHIVE Python 04106
ARCHIVE Python 28388
ARCHIVE Python
Archive Python 4mm Helical Scan

So this entry is included.

Can you do mt -f <drive> status with a tape inserted? Can you read from
a known good tape? Is there any chance the drive itself is damaged?

You can try modifying the st.conf entry's first field to match your
drive, but I'm unfamiliar with that model.

> So, do you think the details above are pointing me at having the wrong
> config lines in my st.conf?


Your line is definitely not matching the drive.

> Or, are the details from probe-scsi-all suggesting I am stepping on
> the same SCSI id?


I don't see how that would happen.

> I have the switch on the back of the DAT drive set to "4"...I don't
> know if the scsi@3 part in the probe-scsi-all results is significant
> to my problem.


No. That's just an internal address for the scsi controller itself.
The 'st@4,0' is the part that says target 4, lun 0.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 02:30 PM
Darren Dunham
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

Robert Mazur <no-one@no-domain.com> wrote:
> /pci@1f,4000/scsi@3,1/st@4,0


> I am guessing here, but it looks like Solaris is recognizing my DAT
> drive at scsi id 4, with the piece that says "st@4". Am i right?


Yes.

> Of course, I am not sure what the "(st11)" means afterward.


That's the device that the kernel has mapped to it (from the st
driver). For the most part, you don't care about that number. You can
see the mapping in /etc/path_to_inst, but that's not usually important.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 02:30 PM
Robert Mazur
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

Darren Dunham wrote:
> This indicates that it's using the entries in the st driver, not yours.
> (The item in <> should be the second field of the tape-config-list
> entry).
>
> % strings /kernel/drv/st | grep Python
> ARCHIVE Python 04106
> ARCHIVE Python 28388
> ARCHIVE Python
> Archive Python 4mm Helical Scan
>
> So this entry is included.
>
> Can you do mt -f <drive> status with a tape inserted? Can you read from
> a known good tape? Is there any chance the drive itself is damaged?
>


Thanks for the help. I have this resolved, but in an unexpected way.

Upon your suggestion, I tried accessing the tape using mt. As usual, I
got an I/O error when trying /dev/rmt/0. I was not clear (still aren't)
on what all the other symbolic links were in my /dev/rmt/
directory....items like:
0, 0b, 0bn, 0c, 0cb, 0cbn, 0cn, 0h,.....etc.

So I started trying mt -f /dev/rmt/<each_of_the_entries_above>

When I got to /dev/rmt/0l, we had contact, and I could make full use of
some tar commands. I saw in a doc somewhere that using /dev/rmt/0n
would prevent the tape from rewinding after the tape was written to.
What is the meaning of all the other entries/links?

So, either the drive was working all along and I was trying to change
/kernel/drv/st.conf a few dozen times for no reason, or maybe changes
were required even before I stumbled on /dev/rmt/0l? I suspect the
former, but some trial and error would let me know.

For now, I have some backing up to do. Thanks for all the help guys.

Rob
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2008, 02:30 PM
Frank Langelage
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

> Thanks for the help. I have this resolved, but in an unexpected way.
>
> Upon your suggestion, I tried accessing the tape using mt. As usual, I
> got an I/O error when trying /dev/rmt/0. I was not clear (still aren't)
> on what all the other symbolic links were in my /dev/rmt/
> directory....items like:
> 0, 0b, 0bn, 0c, 0cb, 0cbn, 0cn, 0h,.....etc.
>
> So I started trying mt -f /dev/rmt/<each_of_the_entries_above>
>
> When I got to /dev/rmt/0l, we had contact, and I could make full use of
> some tar commands. I saw in a doc somewhere that using /dev/rmt/0n
> would prevent the tape from rewinding after the tape was written to.
> What is the meaning of all the other entries/links?
>


execute "man st" and go to the bottom of page 11 to see the meaning of
this device entries.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-16-2008, 02:30 PM
Darren Dunham
 
Posts: n/a
Default Re: Trouble configuring SCSI DAT on Ultra 60

Robert Mazur <no-one@no-domain.com> wrote:
> Upon your suggestion, I tried accessing the tape using mt. As usual, I
> got an I/O error when trying /dev/rmt/0. I was not clear (still aren't)
> on what all the other symbolic links were in my /dev/rmt/
> directory....items like:
> 0, 0b, 0bn, 0c, 0cb, 0cbn, 0cn, 0h,.....etc.


The 'st' man page has all the answers. There's a density flag
(l|m|h|u|c) a BSD compatibility flag (b) and the selection of the
non-rewind device (n). I'd use 0cbn unless you had a reason not to.

> So I started trying mt -f /dev/rmt/<each_of_the_entries_above>


> When I got to /dev/rmt/0l, we had contact, and I could make full use of
> some tar commands.


What was the output on one of the devices that didn't work?

> I saw in a doc somewhere that using /dev/rmt/0n
> would prevent the tape from rewinding after the tape was written to.
> What is the meaning of all the other entries/links?


No. 0n leaves the tape in position after being written to (so you can
write something else afterward). 0 (no n) automatically rewinds the
tape after the first write is complete. That can cause problems if you
don't expect it.

> So, either the drive was working all along and I was trying to change
> /kernel/drv/st.conf a few dozen times for no reason, or maybe changes
> were required even before I stumbled on /dev/rmt/0l? I suspect the
> former, but some trial and error would let me know.


Not all drives make use of all the density flags. Some drives (like the
mammoth 8mm) treat them all identically. When they're used to
distinguish between different densities, l is the bottom. Think (l)ow,
(m)edium, (h)igh, and ((u)ltra high or (c)ompressed).

For instance the DLT7000 drive will write a tape in uncompressed DLT4000
compatibility mode (20GB capacity) when using the 'l' density. It will
write in compressed DLT7000 mode (~70GB capacity) when using the 'u' or
'c' density.

I would normally expect the 'c' device (usually as 'cbn') to be the
correct one. Some combinations of drive and media may not be valid for
all densities.

> For now, I have some backing up to do. Thanks for all the help guys.


Good luck.

--
Darren Dunham ddunham@taos.com
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:08 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705