Solved

Device or resource is busy error

Posted on 1998-10-28
1
556 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

729 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