|
Well, my testing with a volume set has turned up some problems very
similar to what was seen at the customer site and is reproducible.
However, so far it involves using the device reference for a device
which is not the root volume in the set. So...
What's the official position from engineering on support for bound
volume sets, especially in the area of autoshare/noautoshare?
Paul
|
| Dan,
I know you're not "suppose to" access the volume set drives by anything
other than the volume set name or the name of the root volume in the
set, but because we don't advise customers to NOAUTOSHARE non-root
volumes, they end up with autoshares for all physical volumes w/i the
set. Thus, we allow customer's to get themselves into trouble.
But what's worse is I'm able to duplicate a situation whereby adding a
single share whose path includes a non-root volume in a volume set will
subsequently make adding ANY share to the volume set fail (even when
using the volume set name or root volume name). The error returned is
NET2116: The device or directory does not exist. If I connect (PWV60
or native NT client) to the autoshare of _THE ROOT VOLUME_ and do DIR,
I see the MFD of the last volume in the set (not the MFD of the volume
set).
If I then remove all shares that have the non-root volume in their path
(except the autoshares for the non-root volumes) and restart PATHWORKS,
I can now add shares to the volume set and from DOS (and NT) client I
see the MFD of the volume set.
Another glitch is if I connect to a share that has the non-root volume
in it's path (connecting works fine), I can do wildcard directory
operations w/o problem. But if I try to list a file explicitly (ie,
DIR T.TST), I get File not found (yet, DIR T.TS*, DIR T.T*, DIR T*.*,
etc, all work). Also, if I try to create a file on this share as an
ADMIN-priv'd user, I get a Path not found error. But this only happens
in the root directory off the MFD - I can do non-wildcard directory
operations for files in the MFD - totally weird.
To make matters worse, do all this in a cluster and you'll see
different behavior on the other member. That is, with the problems
evident on one node in the cluster, I started PATHWORKS on the other
member. I could connect into that cluster member to the autoshare for
the volume set and see the MFD of the volume set, while at the same
time be connected thru the other member to the same autoshare and see
the MFD of the last volume in the set. And I can add a share that
points to the volume set on the one cluster member but not the other
(because it's looking at the MFD of the last volume in the set and
the directory I specified doesn't exist in the MFD of the last volume,
but does exist on the volume set MFD).
I'm going to be out the rest of today, but plan on doing more testing
Friday and beyond until I can further isolate the cause. But,
obviously, something's amiss, no?
I do now believe this problem has been evident since day one. I've got
a customer seeing some of this behavior on a v5.0C ECO3 server and
another who ran into after upgrading from v5.0C ECO3 to v5.0E (he had
to remove and re-add a bunch of shares due to the autoshare hole that
was closed in v5.0D).
Paul
|
|
As I noted in .3, the problem with volume sets when you don't
NOAUTOSHARE non-root volumes occurs after adding a share using a device
reference for a non-root volume (but using a directory spec that IS
only accessible from the root volume/volume set name). But you also
have to stop and restart PATHWORKS for the problem to be evident.
So this points the finger at the code in lmsrv that verifies the path
to each share.
An example:
Volume set logical name DISK$PWRKS, with root volume of $1$DUA6: which
has a volume label of USER6 and a logical name of DISK$USER6:
Disk $1$DUA8:, label USER8:, logical name DISK$USER8: is rvn2
Disk $1$DUA7:, label USER7:, logical name DISK$USER7: is rvn3
The rules for volume sets say you can use the volume set logical name
or any valid reference for the root volume in the set ($1$DUA6:).
$ CREATE/DIRECTORY DISK$USER6:[RIGHT]
$ CREATE/DIRECTORY DISK$USER7:[WRONG7]
$ CREATE/DIRECTORY DISK$USER8:[WRONG8]
If you do $ DIR DISK$PWRKS:[000000], only RIGHT.DIR is seen.
$ PWSTART
You now have autoshares USER6$, USER7$, and USER8$.
$ NET SHARE OK=DISK$PWRKS:[RIGHT]
ok was shared successfully.
No problem; adds the share and $ NET SHARE OK shows USER6:[RIGHT] as
the Path.
$ NET SHARE BAD=DISK$USER8:[RIGHT]
bad was shared successfully.
Adds the share w/o error; but $ NET SHARE BAD shows USER8:[RIGHT] as
the Path.
$ PWSTART
$ NET SHARE OK2=DISK$PWRKS:[RIGHT]
NET2116: The device or directory does not exist.
$ NET SHARE OK2=DISK$USER6:[RIGHT]
NET2116: The device or directory does not exist.
$ NET SHARE OK2=$1$DUA6:[RIGHT]
NET2116: The device or directory does not exist.
But I can now add a share pointing to a directory which exists only on
$1$DUA8: (the non-root volume I pointed the BAD share to):
$ NET SHARE ON8=USER8:[WRONG8]
on8 was shared successfully.
To fix it you have to remove all shares pointing to the non-root
volumes and then restart PATHWORKS...QAR forthcoming.
Paul
|
|
Is anything being done to lift the 128 character restriction on the
autoshare/noautoshare lines?
If not, what's a customer to do who is faced with, following our
recommendations, having more drives than can fit w/i this restriction?
Rarely is the wildcarding capability of much use...
As for noautosharing a device, if one simply removes the autoshare
after the server starts, will this have entirely the same affect as
having the device listed in the noautoshare line? I realize a
subsequent $ NET SHARE /SYNC would require the autoshare be removed
again, but...
Paul
|