10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
mount -f nfs 1234:/export/ert /der/fr/ert
mount : /der/fr/ert: device busy
normally I will then do an
fuser filesystem
and kill the pids, which I did.
now if I do an fuser /der/fr/ert
I get the mount point and no pid
> fuser /der/fr/ert
/der/fr/ert:
but it... (1 Reply)
Discussion started by: goya
1 Replies
2. HP-UX
Hi,
Unable to make tape backup, please help.
/opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00
* Creating local directories for configuration files and archive.
======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery.
(Mon... (4 Replies)
Discussion started by: anuragr
4 Replies
3. 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
4. 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
5. UNIX for Dummies Questions & Answers
Hi,
I'm trying to do a sharity mount to mount a terastation network drive.
I'm getting a Device or resource busy message after my mount command. Please see output below...
# /usr/local/sharity3/bin/sharity mount smb://labbackup01/bakup_data /mnt/labbackup01
Device or resource busy.... (2 Replies)
Discussion started by: orahi001
2 Replies
6. 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
7. HP-UX
Anyone have any idea why I cannot umount a directory even though fuser shows no process attached to it?
fuser -cu /data/oracle/GMPSHRDM/export
/data/oracle/GMPSHRDM/export:
umount /data/oracle/GMPSHRDM/export
umount: cannot unmount /data/oracle/GMPSHRDM/export : Device busy
umount:... (2 Replies)
Discussion started by: keelba
2 Replies
8. 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
9. Solaris
Hi I have placed a CD into the rom and now I can not eject it.
when i type in
eject cdrom i get the follwing error
root@ssdb0009 # eject cdrom
/vol/dev/rdsk/c0t6d0/dp_a0500_solaris_7_and_8_cd: Device busy
Therefore i try and eject it with the -f option (eject -f cdrom) I still get the... (4 Replies)
Discussion started by: dennisca
4 Replies
10. UNIX for Dummies Questions & Answers
I'm trying to unmount a file system, but umount says the device is busy. A fuser -c /myfs tells me that nothing on this fs is in use. Any idea?
Oh, and btw, why isn't my signature beeing displayed? Show user's signature is enabled and I have entered one :/ (10 Replies)
Discussion started by: sTorm
10 Replies
eject(1) User Commands eject(1)
NAME
eject - eject media such as CD-ROM and floppy from drive
SYNOPSIS
eject [-dflqt] [ [device | nickname]]
DESCRIPTION
The eject utility is used for those removable media devices that do not have a manual eject button, or for those that might be locked due
to, for instance, being mounted. The device may be specified by its name or by a nickname. If no device is specified, the default device is
used.
Only devices that support eject under program control respond to this command.
When eject is used on media that can only be ejected manually, it does everything except remove the media, including unmounting the file
system if it is mounted. In this case, eject displays a message that the media can now be manually ejected.
Do not physically eject media from a device that contains mounted file systems. eject automatically searches for any mounted file systems
that reside on the device, and attempts to umount them prior to ejecting the media. See mount(1M). If the unmount operation fails, eject
prints a warning message and exits. The -f option can be used to specify an eject even if the device contains mounted partitions.
If you have inserted a floppy diskette, you might need to use volcheck(1) before ejecting the media to inform the system the floppy's pres-
ence.
OPTIONS
The following options are supported:
-d Display the name of the default device to be ejected.
-f Force the device to eject even if it is busy.
-l Display paths and nicknames of ejectable devices.
-q Query to see if the media is present.
-t Issues the drive a CD-ROM tray close command.
Not all devices support this command.
OPERANDS
The following operands are supported:
device Specifies which device to eject, by the name it appears in the directory /dev.
nickname Specifies which device to eject, by its nickname as known to this command.
Volume label or device type (for example, cdrom or floppy0) can be used as a nickname.
EXAMPLES
Example 1 Ejecting Media
The following example ejects media by its volume label:
example> eject 'My Pictures'
Example 2 Ejecting a Floppy Disk
The following example ejects a floppy disk from the first floppy drive:
example> eject floppy0
EXIT STATUS
The following exit codes are returned:
0 The operation was successful or, with the -q option, the media is in the drive.
1 The operation was unsuccessful or, with the -q option, the media is not in the drive.
2 Invalid options were specified.
3 An ioctl() request failed.
4 Manually ejectable media is now okay to remove.
FILES
/dev/diskette0 default diskette file
/dev/sr0 default CD-ROM file (deprecated)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
volcheck(1), mount(1M), rmmount(1M), ioctl(2), attributes(5)
SunOS 5.11 18 Sep 2006 eject(1)