Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Devise Reset, Device is busy
sir
post Nov 16 2005, 05:27 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 16-November 05
Member No.: 5,743



Device is busy - but there is no obvious task for it.
I know there is some sort of command - but d'not remember it.
HELP please, I gonna be killed fot not knowing it.
=_))
Go to the top of the page
 
+Quote Post
michaelk
post Nov 16 2005, 07:06 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Information please... what device?
Go to the top of the page
 
+Quote Post
sir
post Nov 16 2005, 09:11 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 16-November 05
Member No.: 5,743



ThanXX for aswering..
The problem is: Linux based sys sees the tape drives.
U know the big things operating with magneto tapes.
But while commensing some data aquiring from it - reports that there are no data on the tape - but for shore theree are.
Mainly question is the same:
HOW TO RESET THE TAPEDRIVE.
i know there sort of the command like
tapeopt or something but not shure for that....
Rgrds.
Go to the top of the page
 
+Quote Post
michaelk
post Nov 16 2005, 11:55 AM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



Still need some information:
Is the something that you have done in the past but it is not working now?
What type of tape drive i.e. make / model and how does it interface to the PC? IDE, SCSI etc.
What is the application your using to reterive data from tape?
Do you know the device ID of the tape drive? i.e /dev/st0 etc.

Assuming a SCSI drive what is the output of the following command:
mt -f /dev/st0 status

How about just pushing the tape eject button on the drive and reinserting the tape.
Go to the top of the page
 
+Quote Post
sir
post Nov 16 2005, 07:05 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 16-November 05
Member No.: 5,743



-Do you know the device ID of the tape drive? i.e /dev/st0 etc.
Exactly it is. It's scsi tape drive

- Assuming a SCSI drive what is the output of the following command:
- mt -f /dev/st0 status
Yes, it's the most common command to deal with the tapes, but it's still should be another on.
I'm not that goog at programming, but take a look at -st- man, there would be a MTRESET command,
I just wonder how to run it with mt.
And shurely I'v put in _mt -f /dev/st0 status_ wich give the msg: device busy

-How about just pushing the tape eject button on the drive and reinserting the tape.
Yeah you could even reset the drive manually by pressing on/off butt, but there should be more gentle way to do it from software.
=_)
Go to the top of the page
 
+Quote Post
michaelk
post Nov 16 2005, 09:05 PM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



My basic tools are dd, tar and mt. There appears to be some other tools and library functions but googling has not found anything.

You might have a hardware problem where either the tape drive or the tape is malfunctioning. In this case there isn't anything gentle...
Go to the top of the page
 
+Quote Post
sir
post Nov 16 2005, 09:19 PM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 16-November 05
Member No.: 5,743



Anyway THANX a lot for taking time.
I'll post any new info if I'll only have one.
But the problem is definetly not in Hardware -
Bcourse I figured that there is one process stil controlling the drive, while not using it.
It just grabbed tape drive by the mistake of the operator - so i have to wait till the end of this process.
So there should be definetly some memory buffer operation.
I now for shure that there are sort of that kind commands for the thermoprinter - oyo,
When you can reset it's buffer memory.
Cheers.
And let the Great Pinguin save your soul. =_))
Go to the top of the page
 
+Quote Post
michaelk
post Nov 16 2005, 10:50 PM
Post #8


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,797
Joined: 23-January 03
Member No.: 360



I am courious as to what process is controller the tape drive. You should be able to kill the process via the kill or killall command.
Go to the top of the page
 
+Quote Post
sir
post Nov 17 2005, 01:47 AM
Post #9


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 16-November 05
Member No.: 5,743



Huh, That was the main reason to make it gently - becourse I couldn't kill the process.
Anyway the solvation came from the process itself it just has ended and finally freed the drive, and it's now working ok.
But I'm still waiting for the comments from my friends, course I know for shure there is some special command.
Cheers.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2017 - 03:18 AM