Cancel
Showing results for 
Search instead for 
Did you mean: 

Files are missing from Volume

Experimenter
Experimenter

Hello 

 

We are having strange issue, where in volume files are deleting on its own. Even though users are not accessing Teamcenter during week ends, FSC scans the volume & reports file not found. 

 

ERROR - 2019/07/13-13:45:40,557 UTC - TCPRODAPP - GeneralRequestException - com.teamcenter.fms.servercache.admincommands.AdminCommandBase
com.teamcenter.fms.servercache.admincommands.GeneralRequestException: FileD:\\volume/\ve_designer7_59dc7942\340a_prt_8y203rs825cuk.sldprt does not exists: stat2/file/nvargs{relativepath=\ve_designer7_59dc7942\340a_prt_8y203rs825cuk.sldprt}
at com.teamcenter.fms.servercache.admincommands.StringCommand.generateError(StringCommand.java:201)
at com.teamcenter.fms.servercache.admincommands.StatFile2.statFile2(StatFile2.java:99)
at com.teamcenter.fms.servercache.admincommands.StatFile2.handleArgs(StatFile2.java:47)
at com.teamcenter.fms.servercache.admincommands.StringCommand.handleCmd(StringCommand.java:78)
at com.teamcenter.fms.servercache.LocalAdminHandler.handleLocalAdminRead(LocalAdminHandler.java:118)
at com.teamcenter.fms.servercache.FMSWebHandlerRoot.handle(FMSWebHandlerRoot.java:632)
at com.teamcenter.fms.servercache.FSCHandlerList.handle(FSCHandlerList.java:81)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:98)
at org.eclipse.jetty.server.Server.handle(Server.java:461)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:284)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:244)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:534)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:607)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:536)
at java.lang.Thread.run(Unknown Source)


ERROR - 2019/07/13-13:45:40,558 UTC - TCPRODAPP - FileD:\\volume/\ve_designer7_59dc7942\340a_prt_8y203rs825cuk.sldprt does not exists: stat2/file/nvargs{relativepath=\ve_designer7_59dc7942\340a_prt_8y203rs825cuk.sldprt}:com.teamcenter.fms.servercache.admincommands.StringCommand.handleCmd(StringCommand.java:86) com.teamcenter.fms.servercache.admincommands.AdminCommandBase

 

When we check the event log on teamcenter volume server, there is chkdsk event called & deletes the file. Some files are set with no permission (in file --> properties --> security) for any one. When chkdsk verifies the file, it thinks that it is corrupted & file will be deleted from volume. named reference in Teamcenter shows no size for the part.

 

Can you please suggest us, what could be the culprit causing volume files are corrupted & deleted eventually.

 

thanks in advance. 

2 REPLIES 2
Highlighted

Re: Files are missing from Volume

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
Sounds like your operating system is running disk cleanup and removing/archiving files without permissions.

All files in the volume should be owned by the user running the FSC service. And if your volumes are distributed across more than one server, the same user should be employed (domain user) in order to preserve permissions. Do not use a local (non-domain) account if possible. Reapply ownership and permissions to your volumes and files immediately.

To see how bad the problem is, run review_volumes. e.g. in a Tc cmd window:
cd /d C:\Temp
review_volumes -u=infodba -p=infodba -g=dba -parallel=4 -rfolder=RvwVols
Where, parallel is the number of volumes declared in Organization. If you only have one volume declared then omit this and the rfolder switch.

The review volumes report (<volume_name>.txt) contains three sections after the permissions header:
1. Files in the OS file system over a day old that are not referenced by Teamcenter.
2. Files missing from the OS file that are referenced by Teamcenter.
3. Files in the OS file system referenced from unreferenced ImanFile objects.

You are concerned about section 2.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Files are missing from Volume

Experimenter
Experimenter

thanks Randy for the solution. We have changed the volume with different NAS & issue resolved. We don't see files missing from Volumes.