T.R | Title | User | Personal Name | Date | Lines |
---|
343.1 | HSM$FAULT_AFTER_OPEN ? | ATZIS3::KARTNER_M | HOUSTON, we have a problem | Wed May 28 1997 08:55 | 21 |
| Hi!
I do not now the pathworks part for the MAC exactly. If the standard
Pathworks is used, the sunshelving is controlled by the following
logical which is defined by default:
HSM$FAULT_AFTER_OPEN "PCFS_SERVER, PWRK$LMSRV"
This logical is neccesary to avoid problems if a file isn't unshelved
fast enough. If implemented HSM triggers the unshelving of the file
and signals an access conflict to the client (PC,...) after some
time you can hit the retry button to access the unshelved file.
The faulting behaviour is set for all listed processes. You can
add any process you want to this list. If PW via MAC uses other
server processes you should add them to the list. If MAC is
using the same servers the problem should be reproducable on
PS's too.
I've never seen the problem with unshelving all files. Do you
explicitly open one specific file in the directory ?
|
343.2 | some ideas... | COOKIE::HOLSINGER | HSM Engineering, DTN 522-2843 | Wed May 28 1997 11:15 | 11 |
| Hi Victoria,
Michael is correct, the FAULT_AFTER_OPEN should be used to jump-start the
unshelve operation. However, this will also cause all which are opened by
PathWorks to be unshelved, too. i.e. If PathWorks opens every file in a
directory as a result of a directory command from the MAC. It really depends
upon what the MAC client is asking the VMS PathWorks server to do.
Hope this helps,
/Paul
|
343.3 | | CSC32::V_HEINICKE | | Wed May 28 1997 14:35 | 25 |
|
Hi,
The customer has defined
FAULT_AFTER_OPEN "PCFS_SERVER, PWRK$LMSRV, MSAF$SERVER0"
The MSAF$SERVER0 is the server for the MAC. Therefore, if I understand
what you said, when the copy of a file is done from the MAC (customer
used ther terminolgy 'copy from the network share to the MAC) the file
should first be unshelved and then copied (in its entirety) to the MAC.
Currently this is not happening so what would cause only the file header
to be copied to the MAC. Could the unshelving be timning out, and if
so, why would an error not be returned?
On the open of a particular file unshelving all files in the directory,
the open is done from an application. The user then are given the
directory of all files within a particular directory and they select
the files they want HSM to specifically unshelve. Since all files in
the directory are being unshelved, how does the customer prevent
the unshelving of all but the specific file requested?
Thanks,
Victoria
|
343.4 | Are the files opened by the applikation? | ATZIS3::KARTNER_M | HOUSTON, we have a problem | Fri May 30 1997 01:20 | 10 |
| Hi!
You are talking about an applikation. Is it written by your user?
If this applikation really opens the files as stated (or does operations
to them that do not affect the fileheader only) it's intended
behaviour that the files get unshelved by HSM.
I hope I didn't missunderstand you
bye
Michael
|
343.5 | Michael is correct | COOKIE::HOLSINGER | HSM Engineering, DTN 522-2843 | Wed Jun 04 1997 14:16 | 31 |
| Hi Victoria.
It looks like two things are not working as expected.
1. When the MAC server opens a shelved file, an information request is
set to HSM via the HSDRIVER. HSM completes the request as normal, but
the FAULT_AFTER_OPEN logical directs HSM to generate an implicit file
fault request, on behalf of the server. This is in anticipation of
subsequent read operations. With luck, the unshelve will occur before
the read is issued (and fails).
In the situation you describe, the unshelve does not occur in time.
There are a couple of things you can change, e.g. put the MAC's shelved
files on MO cache, this would greatly improve the unshelve time.
Also, you can use another logical, FAULT_ON_OPEN, which directs HSM to
suspend completion of the file info request until the data is unshelved.
This method works better for some of the more "impatient" client/server
systems.
2. The fact that all files within a particular directory are getting
unshelved indicates that the MAC server is opening all these files,
even though the user application will open only a single file. This
behavior can not be compensated for by HSM, given use of either of the
logicals above.
This is unfortunate, as attributes of theses files can be read on VMS
by the server without actually having to open them.
Hope this is clearer now.
/Paul
|