SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-14-2005, 06:56 PM
|
#1
|
LQ Newbie
Registered: Oct 2005
Location: Hyderabad,India
Posts: 2
Rep:
|
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
|
|
|
11-14-2005, 07:28 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
run dmesg | less and look for the tape drive entry. might be set as a SCSI device.
|
|
|
11-14-2005, 07:31 PM
|
#3
|
LQ Newbie
Registered: Oct 2005
Location: Hyderabad,India
Posts: 2
Original Poster
Rep:
|
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
|
|
|
12-13-2005, 04:32 AM
|
#4
|
LQ Newbie
Registered: Dec 2005
Posts: 1
Rep:
|
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
|
|
|
01-27-2006, 07:42 AM
|
#5
|
LQ Newbie
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19
Rep:
|
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.
|
|
|
01-28-2006, 02:36 PM
|
#6
|
LQ Newbie
Registered: Jan 2006
Location: Ireland
Distribution: Debian 3.1, Suse 8.2, Suse ES 9.3
Posts: 6
Rep:
|
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.
|
|
|
01-30-2006, 04:50 AM
|
#7
|
LQ Newbie
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19
Rep:
|
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
|
|
|
01-30-2006, 09:06 AM
|
#8
|
LQ Newbie
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19
Rep:
|
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
could u give me an insight on this
|
|
|
01-30-2006, 09:20 AM
|
#9
|
LQ Newbie
Registered: Jan 2006
Location: Ireland
Distribution: Debian 3.1, Suse 8.2, Suse ES 9.3
Posts: 6
Rep:
|
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.
|
|
|
01-30-2006, 09:29 AM
|
#10
|
LQ Newbie
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19
Rep:
|
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
|
|
|
01-30-2006, 09:31 AM
|
#11
|
LQ Newbie
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19
Rep:
|
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
|
|
|
01-30-2006, 09:34 AM
|
#12
|
LQ Newbie
Registered: Jan 2006
Location: Chennai, India
Distribution: Fedora Core 3 & 4
Posts: 19
Rep:
|
one more thing what was the synatx of the command u used to set the block size using the cpio command
|
|
|
01-30-2006, 09:35 AM
|
#13
|
LQ Newbie
Registered: Jan 2006
Location: Ireland
Distribution: Debian 3.1, Suse 8.2, Suse ES 9.3
Posts: 6
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 04:29 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|