Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

FSVIEW diagnostics

Problem:

This article discusses a useful FSVIEW diagnostic technique when using Enterprise Server fileshare.

 

Resolution:

Using FSVIEW we can possibly identify which ES process ID have a file locked. This can be useful in determining the root cause for file access issues. To do this we need to set the "Fileshare User" field in the ES region SIT to be the fileshare user id with an extra pound sign. For example, if the ES fileshare user is esadmin, define "esadmin#" in the "Fileshare User" field in region SIT.

The below is an example of FSVIEW output:

C:\Users\evank\Documents>fsview
Fileshare Version 2 Revision 19999  - Administration Utility
 
fsview> admin logon FSVIEW Meryton
fsview> server set fsserv1
fsview> users get
Current Users
uid  user name           No. access   logon time    last access
00001:evank#0000000096   0000000012      09:05:59      16:07:05
                                      on 06/15/17   on 06/15/17
00002:FSVIEW             0000000002      16:09:26      16:10:05
                                      on 06/15/17   on 06/15/17
 
fsview> files get
Open Files
Count / name
     1  C:\CCISMFS\DATASETS\ACCTFIL
 
fsview> file get-users C:\CCISMFS\DATASETS\ACCTFIL
00001  evank#0000000096
 
fsview>

The 0000000096 is the ES process id which has the file locked.

At this time if you try to copy the file you may get error:

"File In Use The action can't be completed because the file is open in Fileshare Server DLL trigger. Close the file and try again."

For detailed FSVIEW Command Line Syntax please check our documentation.

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2017-07-11 16:05
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.