Be careful with fuser - you need to make sure you get the right device.

You may need to check if rmt1 is linked (hard or soft) to any other
devices.

If you do an ls -l what is the numeric value after the permissions
column?

If that is anything other than 1 then it would indicate that the file is
linked to/from other files - and that could be why fuser doesn't give
you the information you expect.

Robert 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Ferries
Sent: 24 Jan 2007 16:02
To: [email protected]
Subject: RE: [U2] [UV] Locked tape drive

Hi Karl,

Forgot about fuser...

As root, I entered the following:

server:/u1/dbms/TCR# fuser -u /dev/rmt1
/dev/rmt1:
server:/u1/dbms/TCR# 

It did not return any users. 

Then:

server:/u1/dbms/TCR# fuser -u /dev/rmt1.1
/dev/rmt1.1:  1503458(t.luisu)
server:/u1/dbms/TCR#

Luis is in my group. Right now I have him in a headlock.
Killed him, I mean his process.

Thank you very much!
Steve



<SH out and get to su (su -) and then do:

<fuser -u /dev/rmt1

<That should give you a list of PIDs 'attached' to the device. Do:
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/


This e-mail is for the use of the intended recipient(s) only. If you have 
received this e-mail in error, please notify the sender immediately and then 
delete it. If you are not the intended recipient, you must not use, disclose or 
distribute this e-mail without the author's prior permission. We have taken 
precautions to minimize the risk of transmitting software viruses, but we 
advise you to carry out your own virus checks on any attachment to this 
message. We cannot accept liability for any loss or damage caused by software 
viruses.
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to