Storage Error - The GUID has not been set - when creating a DFS junction

  • 7017387
  • 18-Mar-2016
  • 18-Mar-2016

Environment

Novell Open Enterprise Server 2015 (OES 2015) Linux

Situation

When trying to create a DFS junction in iManager the following error is seen:

Error: Storage Error
The GUID has not been set.



Enabling debug logs in iManager (Configure > iManager Server > Configure iManager > Logging Event > Logging Level) and repeating the operation.
This message can be seen:

<getDfsGUID>
<result value="-10018"><description>Error getting dfs GUID from Volume Manager</description><reporter>/usr/src/packages/BUILD/nss/nss/private_core/manageus/manageDFS.c[642]</reporter><name>ERR_UNKNOWN_ERROR</name></result>
</getDfsGUID>



The ~DFSINFO.8-P file is missing from the root of the volume.

Resolution

Copy the DFS-Volume-Guid attribute from the volume object in eDirectory
Example: E2DCA5F8A515E5018000F4CFE6842239

Write this value to a file:
Example: printf "\xFF\xFF\x00\x00\x10\x00\x00\x00\xE2\xDC\xA5\xF8\xA5\x15\xE5\x01\x80\x00\xF4\xCF\xE6\x84\x22\x39" > dfs-file

Convert file to hex:
Example: hexdump -b dfs-file

Rename file:
Example: mv dfs-file ~DFSINFO.8-P

Change file permissions:
Example: chmod 444 ~DFSINFO.8-P

Ensure this file is at the root of the volume.


Kill these daemons:
jstcpd
vlrpc


Run the following:
rcnovell-nss start
/etc/init.d/nitd restart

Additional Information