User manual
IOCELL Networks NetDISK User Manual Network Direct Attached Storage / NDAS
10 NDAS Command Line Utility
There is a command line program to mount and dismount your NDAS device(s) from a
batch script or terminal window. *Please Note: These options are for advanced users
only.*
1. Open your Command Line and type in the following command.
cd "\Program Files\NDAS\System"
This should bring you to the path C:\Program Files\NDAS\System
2. Next, type in ‘ndascmd /? ’. This will load the NDAS command line help.
The Syntax for the interface should be as follows.
ndascmd <command> [parameters]
The command can be one of the following.
• register <device name> <device id> [write key]
• unregister <device number>
• list devices
• list logdevices
• mount [/wait] <ldn> — /device <dn> ro—rw
• unmount [/force] [/wait] <ldn> — /device <dn>
• dismount [/force] [/wait] <ldn> — /device <dn>
• syncdismount <ldn> — /device <dn>
• activate <device-number>
• deactivate <device-number>
• query device hosts <device-number>
• purge <volume-path> (e.g. C: or \\? \C:)
NDAS Command Notes
• ldn - Logical Device Number - Can be found by using ‘list devices’
• dn - Device Name - Name given to the NDAS device in the NDAS software
64