Sponsored Content
Operating Systems Solaris CDROM will not eject - says device busy Post 302362805 by jp2542a on Saturday 17th of October 2009 07:20:48 PM
Old 10-17-2009
It's a matter of best practices.

As pointed out by the document referenced by the link, sigkill cannot be caught. Hence, a process cannot exit nicely. This is not a good thing on a mission critical system.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

umount, device busy, but..

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

2. Solaris

cdrom will not eject

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

3. AIX

Eject CDROM?

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

4. HP-UX

Cannot umount - device busy

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

5. Solaris

SF V210 CDROM drive auto eject!

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. UNIX for Dummies Questions & Answers

Device or resource busy??

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

7. Solaris

How to eject boot cdrom after booting from it?

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

8. Solaris

Trying to eject cdrom

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

9. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

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

10. UNIX for Beginners Questions & Answers

Mount : Device busy

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
ct_ctl_adopt(3CONTRACT)                                                                                                    ct_ctl_adopt(3CONTRACT)

NAME
ct_ctl_adopt, ct_ctl_abandon, ct_ctl_newct, ct_ctl_ack, ct_ctl_qack - common contract control functions SYNOPSIS
cc [ flag... ] file... -D_LARGEFILE64_SOURCE -lcontract [ library... ] #include <libcontract.h> int ct_ctl_adopt(int fd); int ct_ctl_abandon(int fd); int ct_ctl_newct(int fd, uint64_t evid); int ct_ctl_ack(int fd, uint64_t evid); int ct_ctl_qack(int fd, uint64_t evid, int templatefd); These functions operate on contract control file descriptors obtained from the contract(4) file system. The ct_ctl_adopt() function adopts the contract referenced by the file descriptor fd. After a successful call to ct_ctl_adopt(), the con- tract is owned by the calling process and any events in that contract's event queue are appended to the process's bundle of the appropriate type. The ct_ctl_abandon() function abandons the contract referenced by the file descriptor fd. After a successful call to ct_ctl_abandon() the process no longer owns the contract, any events sent by that contract are automatically removed from the process's bundle, and any critical events on the contract's event queue are automatically acknowledged. Depending on its type and terms, the contract will either be orphaned or destroyed. The ct_ctl_ack() function acknowledges the critical event specified byevid. If the event corresponds to an exit negotiation, ct_ctl_ack() also indicates that the caller is prepared for the system to proceed with the referenced reconfiguration. The ct_ctl_qack() function requests a new quantum of time for the negotiation specified by the event ID evid. The ct_ctl_newct() function instructs the contract specified by the file descriptor fd that when the current exit negotiation completes, another contract with the terms provided by the template specified by templatefd should be automatically written. Upon successful completion, ct_ctl_adopt(), ct_ctl_abandon(), ct_ctl_newct(), ct_ctl_ack(), and ct_ctl_qack() return 0. Otherwise, they return a non-zero error value. The ct_ctl_adopt() function will fail if: EBUSY The contract is in the owned state. EINVAL The contract was not inherited by the caller's process contract or was created by a process in a different zone. The ct_ctl_abandon(), ct_ctl_newct(), ct_ctl_ack(), and ct_ctl_qack() functions will fail if: EBUSY The contract does not belong to the calling process. The ct_ctl_newct() and ct_ctl_qack() functions will fail if: ESRCH The event ID specified by evid does not correspond to an unacknowledged negotiation event. The ct_ctl_newct() function will fail if: EINVAL The file descriptor specified by fd was not a valid template file descriptor. The ct_ctl_ack() function will fail if: ESRCH The event ID specified by evid does not correspond to an unacknowledged critical event. The ct_ctl_qack() function will fail if: ERANGE The maximum amount of time has been requested. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ libcontract(3LIB), contract(4), attributes(5), lfcompile(5) 22 Aug 2005 ct_ctl_adopt(3CONTRACT)
All times are GMT -4. The time now is 01:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy