LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-14-2005, 06:56 PM   #1
heramboak
LQ Newbie
 
Registered: Oct 2005
Location: Hyderabad,India
Posts: 2

Rep: Reputation: 0
Unhappy detecting IDE tape drive


hi,

am using SuSE 9.3 professional and DELL Travan 40GB IDE tape drive.

Am not able to detect the tape drive even after rebooting the systesm.

Whenever I give

mt -f /dev/rmt0 status
it says
mt: /dev/rmt0: No such file or directory

pls help..

regards,
Heramb
 
Old 11-14-2005, 07:28 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
run dmesg | less and look for the tape drive entry. might be set as a SCSI device.
 
Old 11-14-2005, 07:31 PM   #3
heramboak
LQ Newbie
 
Registered: Oct 2005
Location: Hyderabad,India
Posts: 2

Original Poster
Rep: Reputation: 0
i was using /dev/st0 which is wrong. After using
mt -f /dev/ht0 it started working fine.

Can anybody tell me what is the command and syntax for taking full system level backup in SuSE 9.3 professional Linux?? I am looking for command similar to ufsdump in that of Solaris. Please help

regds
Heramb
 
Old 12-13-2005, 04:32 AM   #4
shredmaster
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
I'm having a very similar problem except i cannot get the drive to modprobe using 'modprobe ide-tape'

To do a tape backup you can use the command tar -cvf /dev/whateverdevice /directory/backupsdirectory
 
Old 01-27-2006, 07:42 AM   #5
sharonenoch
LQ Newbie
 
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19

Rep: Reputation: 0
try modprobe ide-iscsi. i guess it should work. Since i am working on Fedora core 3 i am not too sure
here the tape drive shows up as /dev/st0
and doing a mt -f /dev/st0 status will giev u more information

Last edited by sharonenoch; 01-27-2006 at 07:48 AM.
 
Old 01-28-2006, 02:36 PM   #6
tongro
LQ Newbie
 
Registered: Jan 2006
Location: Ireland
Distribution: Debian 3.1, Suse 8.2, Suse ES 9.3
Posts: 6

Rep: Reputation: 0
Yes, ide-scsi and /dev/st0 should work.

However, does anybody know how what needs to be done so that we don't need to do "modprobe ide-scsi" every time? I've heard it said that you just have to add "hdb=ide-scsi" (hdb being the 2nd IDE drive) to the kernel startup arguments (in /boot/grub/menu.lst), but that doesn't work for me. Any ideas anybody?

Thanks.
 
Old 01-30-2006, 04:50 AM   #7
sharonenoch
LQ Newbie
 
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19

Rep: Reputation: 0
I had to add the "hdc=ide-scsi" to the grub.conf and in /etc/rc.local
a added a line "modprobe ide-scsi"
by this i got it to work
but the easier way is trying to edit the /etc/modprobe.conf and adding the specified module there..
but i am not sure what ot give there

i just know that
"alias ........... ide-scsi"

the ... has to be filled in by the alias name
 
Old 01-30-2006, 09:06 AM   #8
sharonenoch
LQ Newbie
 
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19

Rep: Reputation: 0
tongro

i guess u will be able to help me on this too.. since i am also using a tape drive and i am trying to set the block size but to no avail...
i am using the mt command to do it
like
Code:
mt setblk 0
could u give me an insight on this
 
Old 01-30-2006, 09:20 AM   #9
tongro
LQ Newbie
 
Registered: Jan 2006
Location: Ireland
Distribution: Debian 3.1, Suse 8.2, Suse ES 9.3
Posts: 6

Rep: Reputation: 0
I don't know that you need to set the block size at all. I have been using tar to read/write the tape and have had no block-size issues. However, I'm now changing over to cpio (for better fault-tolerance) which allows you to set the block size to 5120 bytes instead of 512.
 
Old 01-30-2006, 09:29 AM   #10
sharonenoch
LQ Newbie
 
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19

Rep: Reputation: 0
i am able to access using the cpio command but not able to use the tar command it says i/o error
do u know why is this
 
Old 01-30-2006, 09:31 AM   #11
sharonenoch
LQ Newbie
 
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19

Rep: Reputation: 0
check this link it will give a detailed description of what all i tried to do to make the tar command to work... but still i am not able to get it to work

http://www.linuxquestions.org/questi...d.php?t=408535
 
Old 01-30-2006, 09:34 AM   #12
sharonenoch
LQ Newbie
 
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19

Rep: Reputation: 0
one more thing what was the synatx of the command u used to set the block size using the cpio command
 
Old 01-30-2006, 09:35 AM   #13
tongro
LQ Newbie
 
Registered: Jan 2006
Location: Ireland
Distribution: Debian 3.1, Suse 8.2, Suse ES 9.3
Posts: 6

Rep: Reputation: 0
Apparently tar has a -b option which allows you to set the block size to a multiple of 512 bytes. For example -b 10 sets the block size to 5120.

cpio uses -B to set block size to 5120.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
IDE Tape Drive problem DimHelmet Linux - Hardware 4 10-14-2005 11:51 AM
Travan 40 IDE Tape Drive Kaashar Mandriva 1 10-25-2004 05:34 PM
So close with my IDE tape drive. Help please! joseph.ervin Linux - Hardware 6 12-22-2003 04:01 PM
Detecting IDE drive... then it freezes PlatinumRik Linux - Hardware 4 05-30-2003 03:54 AM
Ide Tape drive problems edati Linux - General 9 02-26-2001 01:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 04:29 PM.

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