Re: [CentOS] Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)

2010-03-03 Thread John R Pierce
Jobst Schmalenbach wrote:
> I use a lot of tapes but never a USB, 

me neither... all the DAT and better tape drives I've ever seen have 
been SCSI (or FC at the high end).  I wonder if that USB DAT72 actually 
has a USB-SCSI chip in it, then the drive is on the SCSI...   no, 
this 
http://h18006.www1.hp.com/products/quickspecs/11883_div/11883_div.html  
says its native USB, huh.   elsewhere onn their site, they say its 
compatible with RHEL 5.4 applications includinig native tar, cpio, and 
no driver is required.  they do have firmware upgrades for the drives, 
and a diagnostic CD you can download.  
http://h2.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=501426&prodTypeId=12169&prodSeriesId=63890&swLang=13&taskId=135&swEnvOID=4006
 





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)

2010-03-02 Thread Jobst Schmalenbach

I use a lot of tapes but never a USB, but from my knowledge I would try

 lsusb

then read the output and look at the id's, find the one that
has the usb tape drive attached to it, then use

 lsusb -vv

and find the matching id to get more info.

You could also try:

 modprobe usb_storage

then

 modbrobe st

and then do 

  "lsmod | grep storage"
  "lsmod | grep st"

that they are loaded (st should require to load the scsi stuff too).
You could also look into /dev and look at the major numbers (from
memory 9 is tapes??).

  ls -al /dev/tape/by-id

and

  ls -la /dev/.udev

and look through all of those.

check whether there is something with "usb-st" or so.

jobst













On Tue, Mar 02, 2010 at 06:13:01PM +0300, Muro, Sam (resea...@businesstz.com) 
wrote:
> Hello there
> I have been trying to install HP Storageworks DAT72 on CentOS 5 in vain.
> On system reboot, neither /dev/st not /dev/sg is available. May you please
> lead me through as this is my first time trying to do it
> 
> lsmod
> Module  Size  Used by
> ipv6  267617  40
> xfrm_nalgo 13381  1 ipv6
> crypto_api 12609  1 xfrm_nalgo
> autofs429253  2
> hidp   23105  2
> dahdi_echocan_mg2  10248  0
> wanec 306712  0
> af_wanpipe 38080  0
> wanpipe   459296  64
> wanrouter  42336  6 wanec,af_wanpipe,wanpipe
> dahdi 192392  128 dahdi_echocan_mg2,wanpipe
> crc_ccitt   6337  1 dahdi
> sdladrv79648  2 wanpipe,wanrouter
> rfcomm 42457  0
> l2cap  29505  10 hidp,rfcomm
> bluetooth  53925  5 hidp,rfcomm,l2cap
> sunrpc145533  1
> dm_multipath   24909  0
> scsi_dh11713  1 dm_multipath
> video  21193  0
> hwmon   7365  0
> backlight  10049  1 video
> sbs18533  0
> i2c_ec  9025  1 sbs
> i2c_core   23745  1 i2c_ec
> button 10705  0
> battery13637  0
> asus_acpi  19289  0
> ac  9157  0
> parport_pc 29157  0
> lp 15849  0
> parport37513  2 parport_pc,lp
> hpilo  13389  0
> bnx2  173133  0
> serio_raw  10693  0
> pcspkr  7105  0
> dm_raid45  67145  0
> dm_message  6977  1 dm_raid45
> dm_region_hash 15681  1 dm_raid45
> dm_mem_cache9537  1 dm_raid45
> dm_snapshot22885  0
> dm_zero 6209  0
> dm_mirror  24265  0
> dm_log 14657  3 dm_raid45,dm_region_hash,dm_mirror
> dm_mod 63225  11
> dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
> cciss  67909  3
> sd_mod 25281  0
> scsi_mod  141717  3 scsi_dh,cciss,sd_mod
> ext3  125001  2
> jbd57065  1 ext3
> uhci_hcd   25549  0
> ohci_hcd   24809  0
> ehci_hcd   34125  0
> 
> 
> #cat /etc/modprobe.conf
> alias eth0 bnx2
> alias eth1 bnx2
> alias eth2 bnx2
> alias eth3 bnx2
> alias scsi_hostadapter cciss
> alias scsi_hostadapter1 usb-storage
> install usb-storage :
> ---
> 
> #ls -l /dev
> [r...@scb-dr-pbx01 ~]# ll /dev/
> total 0
> crw--- 1 root root  10,62 Mar  2 18:06 autofs
> drwxr-xr-x 3 root root 60 Mar  2 18:06 bus
> drwxr-xr-x 2 root root100 Mar  2 18:06 cciss
> crw--- 1 root root   5, 1 Mar  2 18:07 console
> lrwxrwxrwx 1 root root 11 Mar  2 18:06 core -> /proc/kcore
> drwxr-xr-x 2 asterisk asterisk   1360 Mar  2 18:06 dahdi
> drwxr-xr-x 4 root root 80 Mar  2 18:06 disk
> lrwxrwxrwx 1 root root 13 Mar  2 18:06 fd -> /proc/self/fd
> crw-rw-rw- 1 root root   1, 7 Mar  2 18:06 full
> srwxrwxrwx 1 root root  0 Mar  2 18:06 gpmctl
> crw--- 1 root root  10,   228 Mar  2 18:06 hpet
> drwxr-xr-x 2 root root200 Mar  2 18:06 hpilo
> prw--- 1 root root  0 Mar  2 18:06 initctl
> drwxr-xr-x 2 root root160 Mar  2 18:06 input
> crw--- 1 root root   1,11 Mar  2 18:06 kmsg
> srw-rw-rw- 1 root root  0 Mar  2 18:06 log
> brw-r- 1 root disk   7, 0 Mar  2 18:06 loop0
> brw-r- 1 root disk   7, 1 Mar  2 18:06 loop1
> brw-r- 1 root disk   7, 2 Mar  2 18:06 loop2
> brw-r- 1 root disk   7, 3 Mar  2 18:06 loop3
> brw-r- 1 root disk   7, 4 Mar  2 18:06 loop4
> brw-r- 1 root disk   7, 5 Mar  2 18:06 loop5
> brw-r- 1 root disk   7, 6 Mar  2 18:06 loop6
> brw-r-

Re: [CentOS] Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)

2010-03-02 Thread Muro, Sam
John Doe wrote:
> From: "Muro, Sam" 
>> I have been trying to install HP Storageworks DAT72 on CentOS 5 in vain.
>> On system reboot, neither /dev/st not /dev/sg is available. May you
>> please
>> lead me through as this is my first time trying to do it
>
> What does lsusb show?
I have lost the connection to the server but I will post this output later
today

> Just a thought; did you check in the BIOS if there are USB options (legacy
> and such)?
> Maybe install 'HP StorageWorks LTT' (Library and Tape Tools); it might
> help testing...
I have also downloaded the utility and shall let you know how it goes

>
> JD
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)

2010-03-02 Thread John Doe
From: "Muro, Sam" 
> I have been trying to install HP Storageworks DAT72 on CentOS 5 in vain.
> On system reboot, neither /dev/st not /dev/sg is available. May you please
> lead me through as this is my first time trying to do it

What does lsusb show?
Just a thought; did you check in the BIOS if there are USB options (legacy and 
such)?
Maybe install 'HP StorageWorks LTT' (Library and Tape Tools); it might help 
testing...

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Using USB Tape drive on Centos 5.3 (kernel 2.6.18-164.10.1.el5PAE)

2010-03-02 Thread Muro, Sam
Hello there
I have been trying to install HP Storageworks DAT72 on CentOS 5 in vain.
On system reboot, neither /dev/st not /dev/sg is available. May you please
lead me through as this is my first time trying to do it

lsmod
Module  Size  Used by
ipv6  267617  40
xfrm_nalgo 13381  1 ipv6
crypto_api 12609  1 xfrm_nalgo
autofs429253  2
hidp   23105  2
dahdi_echocan_mg2  10248  0
wanec 306712  0
af_wanpipe 38080  0
wanpipe   459296  64
wanrouter  42336  6 wanec,af_wanpipe,wanpipe
dahdi 192392  128 dahdi_echocan_mg2,wanpipe
crc_ccitt   6337  1 dahdi
sdladrv79648  2 wanpipe,wanrouter
rfcomm 42457  0
l2cap  29505  10 hidp,rfcomm
bluetooth  53925  5 hidp,rfcomm,l2cap
sunrpc145533  1
dm_multipath   24909  0
scsi_dh11713  1 dm_multipath
video  21193  0
hwmon   7365  0
backlight  10049  1 video
sbs18533  0
i2c_ec  9025  1 sbs
i2c_core   23745  1 i2c_ec
button 10705  0
battery13637  0
asus_acpi  19289  0
ac  9157  0
parport_pc 29157  0
lp 15849  0
parport37513  2 parport_pc,lp
hpilo  13389  0
bnx2  173133  0
serio_raw  10693  0
pcspkr  7105  0
dm_raid45  67145  0
dm_message  6977  1 dm_raid45
dm_region_hash 15681  1 dm_raid45
dm_mem_cache9537  1 dm_raid45
dm_snapshot22885  0
dm_zero 6209  0
dm_mirror  24265  0
dm_log 14657  3 dm_raid45,dm_region_hash,dm_mirror
dm_mod 63225  11
dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
cciss  67909  3
sd_mod 25281  0
scsi_mod  141717  3 scsi_dh,cciss,sd_mod
ext3  125001  2
jbd57065  1 ext3
uhci_hcd   25549  0
ohci_hcd   24809  0
ehci_hcd   34125  0


#cat /etc/modprobe.conf
alias eth0 bnx2
alias eth1 bnx2
alias eth2 bnx2
alias eth3 bnx2
alias scsi_hostadapter cciss
alias scsi_hostadapter1 usb-storage
install usb-storage :
---

#ls -l /dev
[r...@scb-dr-pbx01 ~]# ll /dev/
total 0
crw--- 1 root root  10,62 Mar  2 18:06 autofs
drwxr-xr-x 3 root root 60 Mar  2 18:06 bus
drwxr-xr-x 2 root root100 Mar  2 18:06 cciss
crw--- 1 root root   5, 1 Mar  2 18:07 console
lrwxrwxrwx 1 root root 11 Mar  2 18:06 core -> /proc/kcore
drwxr-xr-x 2 asterisk asterisk   1360 Mar  2 18:06 dahdi
drwxr-xr-x 4 root root 80 Mar  2 18:06 disk
lrwxrwxrwx 1 root root 13 Mar  2 18:06 fd -> /proc/self/fd
crw-rw-rw- 1 root root   1, 7 Mar  2 18:06 full
srwxrwxrwx 1 root root  0 Mar  2 18:06 gpmctl
crw--- 1 root root  10,   228 Mar  2 18:06 hpet
drwxr-xr-x 2 root root200 Mar  2 18:06 hpilo
prw--- 1 root root  0 Mar  2 18:06 initctl
drwxr-xr-x 2 root root160 Mar  2 18:06 input
crw--- 1 root root   1,11 Mar  2 18:06 kmsg
srw-rw-rw- 1 root root  0 Mar  2 18:06 log
brw-r- 1 root disk   7, 0 Mar  2 18:06 loop0
brw-r- 1 root disk   7, 1 Mar  2 18:06 loop1
brw-r- 1 root disk   7, 2 Mar  2 18:06 loop2
brw-r- 1 root disk   7, 3 Mar  2 18:06 loop3
brw-r- 1 root disk   7, 4 Mar  2 18:06 loop4
brw-r- 1 root disk   7, 5 Mar  2 18:06 loop5
brw-r- 1 root disk   7, 6 Mar  2 18:06 loop6
brw-r- 1 root disk   7, 7 Mar  2 18:06 loop7
lrwxrwxrwx 1 root root 13 Mar  2 18:06 MAKEDEV ->
/sbin/MAKEDEV
drwxr-xr-x 2 root root100 Mar  2 18:06 mapper
brw-r- 1 root disk   9, 0 Mar  2 18:06 md0
crw-r- 1 root kmem   1, 1 Mar  2 18:06 mem
drwxr-xr-x 2 root root 60 Mar  2 18:06 net
crw-rw-rw- 1 root root   1, 3 Mar  2 18:06 null
crw-rw 1 root root  10,   144 Mar  2 18:06 nvram
crw--- 1 root root   1,12 Mar  2 18:06 oldmem
crw-rw 1 root lp99, 0 Mar  2 18:06 parport0
crw-rw 1 root lp99, 1 Mar  2 18:06 parport1
crw-rw 1 root lp99, 2 Mar  2 18:06 parport2
crw-rw 1 root lp99, 3 Mar  2 18:06 parport3
crw-r- 1 root kmem   1, 4 Mar  2 18:06 port
crw--- 1 root root 108, 0 Mar  2 18:06 ppp
crw-rw-rw- 1 root tty5, 2