LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-13-2006, 12:06 AM   #1
pau_kacang
Member
 
Registered: May 2005
Location: Malaysia
Posts: 33

Rep: Reputation: 15
hp usb dds tape


hello,
i'm just configured hp proliant server as a linux box. this box as a domain, web, proxy & mail server. my problem is i dunno how to mount usb dds tape on slack. can any body help me.
 
Old 02-13-2006, 07:38 AM   #2
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
what's the outpust of 'lsusb' ? once you know it's connected then you need to look at dmesg or syslog to get a device name (try connecting it after boot time, when the system is not writing to the logs to make it easier)

you need to find the device name. i'm surprised its usb and not scsi....
 
Old 02-17-2006, 08:53 PM   #3
pau_kacang
Member
 
Registered: May 2005
Location: Malaysia
Posts: 33

Original Poster
Rep: Reputation: 15
after i type lsusb this output

Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 03f0:0125 Hewlett-Packard

plsssssss, i dun know how to mount the backup tape
 
Old 02-18-2006, 11:48 AM   #4
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
reboot with the device unplugged.

after the system settles, plug the usb device back in. then do 'dmesg'. it should tell you what the /dev name of the device is. then you can use it. you won't have to mount it as such. just, divert the output of cpio etc to it....
 
Old 02-19-2006, 07:45 PM   #5
pau_kacang
Member
 
Registered: May 2005
Location: Malaysia
Posts: 33

Original Poster
Rep: Reputation: 15
i follow ur instruction n the output here


shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
hub.c: new USB device 00:1d.7-3, assigned address 2
usb.c: USB device 2 (vend/prod 0x3f0/0x125) is not claimed by any active driver.
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
scsi3 : SCSI emulation for USB Mass Storage devices
Vendor: HP Model: C7438A Rev: ZU5A
Type: Sequential-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2
USB Mass Storage support registered.



i still dun know how to write file to backup tape. pls help me. tq
 
Old 02-20-2006, 02:08 AM   #6
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
if you don't have any other scsi devices, the device is probably called /dev/sda1


you can write something like

cpio -ocudB "/tmp/*" > /dev/sda1

important to get the device name 1st tho!
 
Old 02-20-2006, 03:53 AM   #7
pau_kacang
Member
 
Registered: May 2005
Location: Malaysia
Posts: 33

Original Poster
Rep: Reputation: 15
here my fstab

/dev/sda1 swap swap defaults 0 0
/dev/sda2 / ext3 defaults 1 1
/dev/sda3 /usr/partition/sda3 ext3 defaults 1 2
/dev/sda4 /usr/partition/sda4 ext3 defaults 1 2
/dev/sdb1 /usr/partition/sdb1 ext3 defaults 1 2
/dev/sdb2 /usr/partition/sdb2 ext3 defaults 1 2
/dev/sdb3 /usr/partition/sdb3 ext3 defaults 1 2
/dev/cdrom /mnt/cdrom auto noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0


i'm still blank n can u show me step by step. i tried ur command but the answer is no such device. pls help me. i'm begginer in slack
 
Old 02-20-2006, 04:28 AM   #8
satinet
Senior Member
 
Registered: Feb 2004
Location: England
Distribution: Slackware 14.2
Posts: 1,491

Rep: Reputation: 50
ok. sigh.

reboot the system.
log in.
plug in the usb drive
wait 2 mintues
run 'ls -lsrt /dev/ | tail'

that should give you the device name that is created. however, i reckon you will still need scsi tape drive support if the device is being emulated as scsi (as your post above describes.) I don't think that option is a included in the default slackware kernel.


this drive won't be in your /etc/fstab as it is not written to in the same way as a conventional drive / cd.
 
Old 04-20-2006, 08:54 AM   #9
Gault LaRue
Member
 
Registered: Jul 2005
Location: Columbia, MD
Distribution: Slackware 10.2 / 11.0 / 12.0
Posts: 38

Rep: Reputation: 15
I just installed the same usb tape drive on my Slackware 10.2 (2.4.31 kernel) system. The CD that came with the drive had some useful documentation on it (for a change). After connecting the drive to the usb port (and waiting a minute or two), I typed "lsmod | grep usb-storage". Type "modprobe usb-storage" if it's not there, but it was present on my system.

Then, type "lsmod | grep st". Several lines with "st" in them were returned, but none with simply "st". So, I typed "modprobe st" to add it to the system. Typing "dmesg", I then got a message saying "Attached scsi tape st0 at scsi1, channel 0, id 0...". So...success!

But before I could use the tape drive as a regular user, I had to "chmod 666 /dev/st0". Now anyone on my system can back their stuff up by typing "tar -cvf /dev/st0 {files}".

Hope it helped,
GL
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation of internal HP DAT 40i DDS internal tape drive netkepala Linux - Hardware 3 11-08-2004 12:22 PM
How to use a DDS-2 tape on Linux??? NeoY2k Linux - Hardware 1 10-24-2003 12:13 PM
RH9: formatting a DDS tape cleaner416 Linux - Hardware 0 09-21-2003 12:23 PM
installing a DDS/4 Tape drive dokkk_d Linux - Newbie 0 09-19-2002 08:02 PM
USB tape backup fly.fisher Linux - Distributions 0 07-16-2001 09:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration