Ron Sheridan wrote:
> I'm trying to determine why I cannot umount /dev/cd0. Its mounted over
> filesystem /cdrom and when I do an "unmount /cdrom", I get the message;
>
> unmount: 0506-349 Cannot unmount /dev/cd0: The requested resource is busy.
>
> Is there a way to determine what has the device busy? I'm on AIX 4.2.
> This has been a problem since a system crash and reboot with /cdrom mounted
> and the cd itself mounted in the drive. Is this the cause of the problem?
> I'm reasonably confident that there isn't anyone using it from the standpoint
> of them doing a cd /cdrom. It's an oracle install cd and that process is
> long past done. Can an unmount be forced??
>
> Thanks for any help!
>
> Ron
>
> r...@yuma.acns.colostate.edu
I have used "fuser" on filesystems to see what had a filesystem busy that kept it
from unmounting. I am not sure that fuser will work on /dev/cd0 though.
Ron
Mike Farmer
mw...@msn.com
Ron Sheridan wrote in message <68u8js$3f...@yuma.ACNS.ColoState.EDU>...
: Mike Farmer
: mw...@msn.com
# fuser -u /cdrom
and
# fuser -uk /cdrom
You'd best use fuser on the device (/dev/cd0). As used here, fuser
would only check on activity in the /cdrom directory, not in any
subdirectories. Even better: get lsof and run it against the device.
--
Kevin Gee | CS Grad. Student - Univ. of Texas at Arlington
ge...@cse.uta.edu | Team Lead, AIX Supportline - IBM
IBM and UTA are not responsible for my opinions.
> I'm trying to determine why I cannot umount /dev/cd0. Its mounted over
> filesystem /cdrom and when I do an "unmount /cdrom", I get the message;
>
> unmount: 0506-349 Cannot unmount /dev/cd0: The requested resource is
> busy.
>
> Is there a way to determine what has the device busy? I'm on AIX 4.2.
> This has been a problem since a system crash and reboot with /cdrom
> mounted and the cd itself mounted in the drive. Is this the cause of the
> problem? I'm reasonably confident that there isn't anyone using it from
> the standpoint of them doing a cd /cdrom. It's an oracle install cd and
> that process is long past done. Can an unmount be forced??
>
> Thanks for any help!
>
> Ron
I have had the same problem. Then, I have use Smitty for mounting, with
the options for removable drive (And, I think, set for softmount) .You can
look also with key F6, what Smitty used for a command . Unfortunately, I'm
now at home and not on my AIX box in the firm, where I can looking for the
right command line. I have had never problems with umount, the cd drive.
Hope, this helps, Steffen
--
E-Mail : ste...@paradise.sachsen.hexe.de
CB-Packet-Radio-Net : SM1WBL@FH0BOX.#DD.SAX.DEU.EU
Have a good time .....
> I'm trying to determine why I cannot umount /dev/cd0. Its mounted over
> filesystem /cdrom and when I do an "unmount /cdrom", I get the message;
>
> unmount: 0506-349 Cannot unmount /dev/cd0: The requested resource is
> busy.
>
> Is there a way to determine what has the device busy? I'm on AIX 4.2.
> This has been a problem since a system crash and reboot with /cdrom
> mounted and the cd itself mounted in the drive. Is this the cause of the
> problem? I'm reasonably confident that there isn't anyone using it from
> the standpoint of them doing a cd /cdrom. It's an oracle install cd and
> that process is long past done. Can an unmount be forced??
First, try umount -f
But :
You cannot use the umount command on a device in use, as the man says.
You can use lsof to determine the guilty process(es) using /dev/cd0
ressource
--
Fabrice
All opinions expressed here are mine ...
>r...@yuma.ACNS.ColoState.EDU (Ron Sheridan ) have write on the 06.01.98
>in /COMP/UNIX/AIX to the theme: Cannot Unmount /dev/cd0:
>> I'm trying to determine why I cannot umount /dev/cd0. Its mounted over
>> filesystem /cdrom and when I do an "unmount /cdrom", I get the message;
>>
>> unmount: 0506-349 Cannot unmount /dev/cd0: The requested resource is
>> busy.
>>
>> Is there a way to determine what has the device busy? I'm on AIX 4.2.
>> This has been a problem since a system crash and reboot with /cdrom
>> mounted and the cd itself mounted in the drive. Is this the cause of the
>> problem? I'm reasonably confident that there isn't anyone using it from
>> the standpoint of them doing a cd /cdrom. It's an oracle install cd and
>> that process is long past done. Can an unmount be forced??
>>
>> Thanks for any help!
>>
>> Ron
>I have had the same problem. Then, I have use Smitty for mounting, with
>the options for removable drive (And, I think, set for softmount) .You can
>look also with key F6, what Smitty used for a command . Unfortunately, I'm
>now at home and not on my AIX box in the firm, where I can looking for the
>right command line. I have had never problems with umount, the cd drive.
the problem occurs if someone is still using /cdrom.
to mount a cd use
mount -rv cdrfs /dev/cd0 /mnt
and check whats going on. normaly you can umount via:
umount /mnt
walter
>--
> E-Mail : ste...@paradise.sachsen.hexe.de
> CB-Packet-Radio-Net : SM1WBL@FH0BOX.#DD.SAX.DEU.EU
> Have a good time .....
--
-----
"Work for? I don't work for anybody. I'm just having fun!"
-----
>
>
>Ron Sheridan wrote:
>
>> I'm trying to determine why I cannot umount /dev/cd0. Its mounted over
>> filesystem /cdrom and when I do an "unmount /cdrom", I get the message;
>>
>> unmount: 0506-349 Cannot unmount /dev/cd0: The requested resource is busy.
>>
>> Is there a way to determine what has the device busy? I'm on AIX 4.2.
>> This has been a problem since a system crash and reboot with /cdrom mounted
>> and the cd itself mounted in the drive. Is this the cause of the problem?
>> I'm reasonably confident that there isn't anyone using it from the standpoint
>> of them doing a cd /cdrom. It's an oracle install cd and that process is
>> long past done. Can an unmount be forced??
>>
>> Thanks for any help!
>>
>> Ron
>>