Jeff Dean on Sat, 10 Mar 2001 13:50:17 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] SCSI tape question


Use dmesg:

  [root@smp /root]# dmesg|grep tape
  Detected scsi tape st0 at scsi1, channel 0, id 3, lun 0     

Or check your messages:

  [root@smp /root]# grep tape
  /var/log/messages.1:Mar  2 00:10:23 smp kernel: 
  Detected scsi tape st0 at scsi1,  channel 0, id 3, lun 0  

At 3/10/01 11:34 AM, you wrote:
>I've been putting together this old 486 box to use as a backup server.  I've 
>got the SCSI card to work, but I have no idea how to tell if the tape drive 
>itself is being seen.  Part of the problem is that I have no experience with 
>character devices (I have gotten my Orb drive to work with it).  The other 
>problem is I have no idea what entry in the /dev dirctory the thing is on-- 
>if any.
>
>How do you tell (or is there a utility to show) what node a given device is 
>on?  I'm running a modified RH7 with the 2.4.2 kernel.  I've looked in 
>several sources but they are pretty vague as to whether something would be 
>/dev/st1 or /dev/nst or what.  There's got to be a better way than trying tar 
>to all possible devices.
>
>Isn't there?
>
>Thanks in advance.
>
>-- 
>-----BEGIN GEEK CODE BLOCK-----
>Version: 3.1
>GIT/MU/CS/PA d s:++ a C++ UA$ P+++ L++>++++ E W++ N++ o-- K w--- O- M+ V-- PS+
>PE Y+ PGP+ t+ 5-- X- R* !tv b++ DI++ D+ G++ e+ h--- r+++ y++++
>-----END GEEK CODE BLOCK-------
>For translation:  http://www.kluge.net/ungeek.html
>
>
>______________________________________________________________________
>Philadelphia Linux Users Group       -      http://www.phillylinux.org
>Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
>General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug


Jeff Dean
jdean@ieee.org


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug