Is there anyway to find out which client has mapped which shares? I'm trying to delete a share and even with:
cifs shares -delete -f applications
It won't go away and I get the following.
Thu Jun 30 11:52:14 PDT [smbrpc.forceClose.share.timeout:warning]: CIFSRPC: Close of share Applications has not completed and has taken 3660 seconds.
This is on a FAS2050 running 7.2.6.1P8, which I know I should upgrade sometime.
Thanks, John
You can use the Windows UI - right click My Computer > Manage > Shared Folders.
I think cifs sessions gives you some of this at the command line but not in a format I consider easy to manipulate.
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of John Stoffel Sent: Thursday, June 30, 2011 3:18 PM To: toasters@mathworks.com Subject: Finding out which client has mapped a share?
Is there anyway to find out which client has mapped which shares? I'm trying to delete a share and even with:
cifs shares -delete -f applications
It won't go away and I get the following.
Thu Jun 30 11:52:14 PDT [smbrpc.forceClose.share.timeout:warning]: CIFSRPC: Close of share Applications has not completed and has taken 3660 seconds.
This is on a FAS2050 running 7.2.6.1P8, which I know I should upgrade sometime.
Thanks, John
Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
'cifs sessions' give you what you're looking for?
On Thu, Jun 30, 2011 at 12:17 PM, John Stoffel john.stoffel@taec.toshiba.com wrote:
Is there anyway to find out which client has mapped which shares? I'm trying to delete a share and even with:
cifs shares -delete -f applications
It won't go away and I get the following.
Thu Jun 30 11:52:14 PDT [smbrpc.forceClose.share.timeout:warning]: CIFSRPC: Close of share Applications has not completed and has taken 3660 seconds.
This is on a FAS2050 running 7.2.6.1P8, which I know I should upgrade sometime.
Thanks, John
Romeo> 'cifs sessions' give you what you're looking for?
Nope, it just lists which system(s) are connected and the number of shares it has accessed, but not which share(s) it's talking to. Annoying.
John
Romeo> 'cifs sessions' give you what you're looking for?
Nope, it just lists which system(s) are connected and the number of shares it has accessed, but not which share(s) it's talking to. Annoying.
Try this:
cifs sessions *
Steve Losen scl@virginia.edu phone: 434-924-0640
University of Virginia ITC Unix Support