On Tue, 2002-07-30 at 00:00, Sweet Chuck wrote: > > I have a Sony Tape Stacker attached to an adaptec 2940UW. When booting > it detected the medium changer and the tape drive. Also, if I 'cat > /proc/scsi/scsi' I get the following: > > Attached devices: > Host: scsi0 Channel: 00 Id: 04 Lun: 00 > Vendor: SONY Model: TSL-A500C Rev: L201 > Type: Sequential-Access ANSI SCSI revision: 02 > Host: scsi0 Channel: 00 Id: 04 Lun: 01 > Vendor: SONY Model: TSL-A500C Rev: L201 > Type: Medium Changer ANSI SCSI revision: 02 > > However, I cannot determine what device it is configured as, and also > Netbackup was unable to detect any storage devices in the system. The > tape drive was previously working fine attached to a Sun system running > NetBackup 4.5. > > Anyone have any suggestions, I an no guru when it comes to configuring > devices in Linux. In Sun, you explicitly tell the kernel to probe for > specific targets and luns, which is controlled by an ascii file. I see > nothing like this in Linux.
I just checked the config for the kernel supplied with 7.1 and SCSI tape support is enabled as a module. That's probably the case for other recent kernels, but I would suggest you check the config for the kernel you are running to be sure. It looks like you have enabled luns on the SCSI adapter. If you hadn't, I don't think it would have noticed the changer and you will not be able to use it as a changer. The device should be /dev/st0 (the rewind device - automatically rewinds on a close. There's also /dev/nst0 which doesn't rewind.) and is probably owned by root. I don't know anything about Netbackup, but if you ran it as root and it does a scan for devices when it starts, it should be able to find it as long as it understands the particular device you have. Are you sure Netbackup supports your Sony tape drive? Are there any configuration options in Netbackup that might help it figure out what device to use? Also, I would suggest using mt to see if you can make a tape in the tape drive do something (like forward space, backspace, or rewind). If not, do an lsmod to see if the st module is loaded and if not try doing a modprobe. Linus -- redhat-list mailing list Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list