Solved

Device or resource is busy error

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
lsuser for specific number of users listed in a file 11 103
llcommand 6 88
SQUD PROXY SERVER, UNIX, SLL/HTTPS 5 77
SCP a file to multiple machines using a script 4 19
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

863 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

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now