09-24-2003
Hi denisca,
Unix never lies. It realy means the device is busy. It can have several causes. Your current working directory resides on the mounted CD. Or maybe your previous ksh still resides in there. fuser -cu /SD_CDROM should tell you more. This shows you the current runnning prcesses on this FS. ps -ef and than look for possible processes running on this FS might clear out some as well.
It is very important to first make sure all processes have stopped on this FS before stoppping and restarting mountd.
Good luck
Regs David
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm using AIX and I'm looking for a command that can eject the tape. Any help is highly appreciated.
Regards,
BS (3 Replies)
Discussion started by: bbhavis
3 Replies
2. Shell Programming and Scripting
Anyone know if there is a way to keep the "/dev/floppy/... can now be ejected" messages from coming up on the screen? I'm using Solaris 8 and it pops a message up, which is fine, but it also writes text in the terminal session... that is what I'm trying to avoid. I have tried running in silent... (4 Replies)
Discussion started by: Serious_Lee
4 Replies
3. Solaris
We have just got a Sun L8 tape library and I was trying to script a couple of things. One was to eject (export) a tape from the machine. nsrjb seems to have an enormous amount of options but this is one thing I have not been able to do. Anybody ever managed to do it?
Cheers (1 Reply)
Discussion started by: Argus
1 Replies
4. AIX
Now i have a prolem!
I double click on my zip file from cdrom.
System can not read my zip file and i can not eject my cdrom.
How can i manage process and can i end a process
or how can i eject my cdrom?
please have me! thanks (4 Replies)
Discussion started by: leenguyen0101
4 Replies
5. Solaris
Hi,
When I insert a cd to CDROM drive in SF V210 Solaris 10 it took seconds then eject it auto!
How can I solve this issue?
Thanks
Regards :) (8 Replies)
Discussion started by: HishamN
8 Replies
6. AIX
does someone knows how to eject a dvd/cd device?
thx (2 Replies)
Discussion started by: jcpetela
2 Replies
7. Filesystems, Disks and Memory
Hi
i´m working with aix 6.1 and DL4100 (virtual tape library from EMC) and i makes backups (mksysb) into virtual drive (virtual standalone drive). I need eject de tape when backup is finished and I don't now what command use. Thanks for your help. The commands mt and tctl doesn't works.... (0 Replies)
Discussion started by: wolaf
0 Replies
8. Solaris
Hi,
I've seen similar posts on this board about ejecting CDROMs but I've tried the solutions people suggested but still cannot eject the CD. It's stuck in a production box so I can't reboot it...
bash-3.00# eject -f cdrom
/vol/dev/dsk/c0t0d0/sol_10_106_sparc/s0: Device busy
bash-3.00#... (14 Replies)
Discussion started by: jimmy54321
14 Replies
9. Solaris
Hey everyone, I currently have a sparcstation 5, and am trying to run some scripts on it without booting off the hard drive.
Currently I am using a Solaris 8 install cd to boot into single user mode. However, the scripts I have are on a different CD.
What I would like to do is to use the... (6 Replies)
Discussion started by: idlechatter
6 Replies
10. Solaris
The green cdrom light is blinking on our Sun Solaris server. I tried the eject command to eject cdrom:
eject cdrom
cdrom: No such file or directory
bash-2.05# eject
No default media available
bash-2.05# eject cdrom0
cdrom0: No such file or directory
The message log file shows:
Oct 19... (6 Replies)
Discussion started by: agarcia19
6 Replies
fuser(1M) fuser(1M)
NAME
fuser - list processes using a file or file structure
SYNOPSIS
file ... file ...] ...
DESCRIPTION
The command lists the process IDs of processes that have each specified file open. For block special devices, all processes using any file
on that device are listed. The process ID may be followed by a letter, identifying how the file is being used, as follows:
file is current directory of the process.
file is the root directory of the process, as set up by the command (see chroot(1M)).
The process has
file open.
The process has
file memory mapped.
file is the text file of the process.
The process IDs associated with each file are printed to standard output as a single line separated by spaces and terminated with a single
newline. All other output -- the file name, the letter, and the user name -- is written to standard error.
Options
has the following options:
Display the use of a mount point and any file beneath that
mount point. Each file must be a file system mount point.
Display the use of the named file only,
not the files beneath it if it is a mounted file system. This is the default.
Display the login user name in parentheses following each process ID.
Send the
signal to each process using each file. You must have appropriate privileges to kill processes that you do not own.
You can respecify options between groups of files. The new set of options replaces the old set. A dash by itself cancels all options cur-
rently in force.
Operands
has the following operand:
file One of the following values:
o With the option, the name of a file.
o With the option, the name of a mounted file system or special file.
o With the option, the name of a file system mount point.
NETWORKING FEATURES
You can use with NFS file systems or files. If the file name is in the format used in to identify an NFS file system, treats the NFS file
system as a block special device and identifies any process using that file system.
If contact with an NFS file system is lost, fails, since contact is required to obtain the file system identification. Once the NFS file
system is recontacted, stale file handles from the previous contact can be identified, provided that the NFS file system has the same file
system identification.
EXAMPLES
Terminate all processes that are preventing disk drive 1 from being unmounted, listing the process ID and login name of each process being
killed.
List process IDs and login names of processes that have the password file open.
Combine both the above examples into a single command line.
If the device is mounted on directory list the process IDs and login names of processes using the device. Alternately, if is the mount
point for an NFS file system, list process IDs and login names of processes using that NFS file system.
If is an NFS file system, list all processes using any file on that file system. If it is not an NFS file system, treat it as a regular
file.
SEE ALSO
ps(1), mount(1M), kill(2), signal(2).
STANDARDS CONFORMANCE
fuser(1M)