NWSMMountVolume(3nw)


NWSMMountVolume -- mounts volume on server

Synopsis

   #include <nwsm.h> 
   

N_EXTERN_LIBRARY NWCCODE NWSMMountVolume (NWCONN_HANDLE connHandle, pnstr8 volumeName, pnuint32 volumeNumber);

Description

The parameters are as follows:

connHandle
(IN) Specifies the server connection handle which is being managed.

volumeName
(IN) Points to the name of the NetWare volume to mount. It must be NULL terminated.

volumeNumber
(OUT) Points to the number of the volume.

Return values

0x0000
SUCCESS

0x8801
INVALID_CONNECTION

0x89FB
ERR_NCP_NOT_SUPPORTED

0x8998
VOLUME_DOES_NOT_EXIST

VOLUME_ALREADY_MOUNTED

Notices

You must be logged into connHandle, be permanently authenticated, and have console operator rights at the minimum to call NWSMMountVolume.

If upon mounting a volume, an error occurs, and if the set parameters are such that VREPAIR will automatically execute, VREPAIR will execute and NWSMMountVolume will not return until VREPAIR has completed. The volume is then mounted.

Services

Server Management

NCP calls

0x2222 131 3 Mount Volume

 
 0x2222   131   3   Mount Volume 

References

NWSMDismountVolumeByName(3nw), NWSMDismountVolumeByNumber(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.