Solved

Device or resource is busy error

Posted on 1998-10-28
1
554 Views
Last Modified: 2008-03-17
I am backing up a RedHat Linux-based server to a Hewlett Packard DLT 40e SCSI-based drive.  I have been just using the tar cvf /dev/st0 / command to initiate a backup and tar xvf....... to restore from it.  For two months this has been working fine.  All of a sudden I am getting a 'device or resource is busy' error after I type in the tar cvf....command.  I am new to Unix and Linux and am not that familiar with kernel and device manipulation/problem solving. Would anyone know why this would happen all of a sudden?  
0
Comment
Question by:nolan102898
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 4

Accepted Solution

by:
davidmwilliams earned 50 total points
ID: 2007606
 If the device or resource is busy, then it is in use.  For example, if you mounted an NFS volume, then used cd to move into it, and then tried to umount it, you would get this error.
  It sounds like your device /dev/st0 is in use when you type your command - could it be you have another window or process open that is reading from the device in some way?
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question