tape device unknown!!!!
-
- Posts: 73
- Joined: 2008/09/19 19:03:37
tape device unknown!!!!
Hi
I am new to linux. I realized that centOS does not support the mt command
So, I downloaded mt(1) package mt-st-0.9b-2.2.2
now, when i want to rewind the tape device using the command: mt -f /dev/st0 rewind
I receive the following: /dev/st0: No such file or directory
I found out that the device type is different for CentOS. that is sg0
but again when i type the command mt -f /dev/sg0 rewind
I receive this error: /dev/sg0: Operation not permitted
please help me
uname -a
Linux localhost.localdomain 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux
Regards
Saman
I am new to linux. I realized that centOS does not support the mt command
So, I downloaded mt(1) package mt-st-0.9b-2.2.2
now, when i want to rewind the tape device using the command: mt -f /dev/st0 rewind
I receive the following: /dev/st0: No such file or directory
I found out that the device type is different for CentOS. that is sg0
but again when i type the command mt -f /dev/sg0 rewind
I receive this error: /dev/sg0: Operation not permitted
please help me
uname -a
Linux localhost.localdomain 2.6.18-8.el5 #1 SMP Thu Mar 15 19:57:35 EDT 2007 i686 i686 i386 GNU/Linux
Regards
Saman
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: tape device unknown!!!!
Remove the foreign mt package and install the one that comes with CentOS.
yum install mt-st
yum install mt-st
-
- Posts: 73
- Joined: 2008/09/19 19:03:37
Re: tape device unknown!!!!
I did, I have already installed that package on my system using yum.
but I don't find the st0 device in /dev,
should i use a different one for CentOS?
but I don't find the st0 device in /dev,
should i use a different one for CentOS?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: tape device unknown!!!!
Does the drive show up in dmesg ?
If not, you probably need to load the driver for your scsi controller.
If not, you probably need to load the driver for your scsi controller.
-
- Posts: 73
- Joined: 2008/09/19 19:03:37
Re: tape device unknown!!!!
dmesg | grep sg0
sd 0:0:0:0: Attached scsi generic sg0 type 0
dmesg | grep st0
(nothing)
what should i do now?
is sg0 used in centos instead of st0? if it does, i cannot access the tape using : mt -f /dev/sg0 rewind
if not how can i use st0?
sd 0:0:0:0: Attached scsi generic sg0 type 0
dmesg | grep st0
(nothing)
what should i do now?
is sg0 used in centos instead of st0? if it does, i cannot access the tape using : mt -f /dev/sg0 rewind
if not how can i use st0?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: tape device unknown!!!!
If dmesg does not show anything identified as a tape drive, then
the proper driver is not loaded.
the proper driver is not loaded.
-
- Posts: 73
- Joined: 2008/09/19 19:03:37
Re: tape device unknown!!!!
how can i load tape device properly and backup my system?
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: tape device unknown!!!!
I don't know.
I have no idea what your scsi controller and
tape drive are.
I have no idea what your scsi controller and
tape drive are.
-
- Posts: 1478
- Joined: 2006/05/29 16:50:11
- Location: San Francisco, CA
Re: tape device unknown!!!!
Please show the output of "cat /proc/scsi/scsi"
Re: tape device unknown!!!!
hello guys...!!!
i am new on the linux and even though i am facing the same issue please help.
saman_artorious if you solve this problem then please help me too.
Thankyou in advance
i am new on the linux and even though i am facing the same issue please help.
saman_artorious if you solve this problem then please help me too.
Thankyou in advance