Cool Solutions

Mounting ISO Image Files as NSS Volumes on OES for Linux


June 28, 2007 5:52 am





by Simon Flood


With NetWare 6.5 Support Pack 2 and later it’s possible to mount ISO image files of CDs or DVDs as NSS volumes.

Wouldn’t it be cool if you could achieve the same thing under OES for Linux!


The OES documentation (Comparison of NSS on NetWare and NSS on Linux at would appear to suggest that it isn’t possible to achieve this but it is!

The trick is to take advantage of Linux’s ability to mount an ISO image file via a loopback device:

# mkdir /mnt/<directory>
# mount /<path>/<filename>.iso -o loop /mnt/<directory>

At this point I should say that the ISO image file can even exist on an NSS volume, in which point you’d use:

# mount /media/nss/<volume>/<path>/<filename>.iso -o loop /mnt/<directory>

So now you’ll find that if you ‘ls /mnt/<directory>’ you’ll see a directory listing of the root of the ISO image file. Nothing particularly exciting in that and unless you’ve set up Samba you’ll not see it from a workstation.

So now for the magic to make it appear as an NSS volume … create an NCP volume against the above mount point.

# ncpcon create volume <newvol> /mnt/<directory>

From a workstation you should now be able to map to <server>/<newvol> assuming that you have rights – yes you can grant rights since it’s an NSS volume. Now how cool is that!

As with mounting ISO image files under NetWare, all files are set to read-only (though for some unknown reason under Linux they’re also flagged as Execute Only).

To dismount the volume use:

# ncpcon remove volume <newvol>
# umount /mnt/<directory>

If you need to mount more than 8 ISO image files see TID 3143620.


OES for Linux with NCP Server component installed

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.

Categories: Uncategorized


Disclaimer: This content is not supported by Micro Focus. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.


  1. By:MHGlenn

    Thanks; I’ve been trying to figure out how to do this for awhile, now.

  2. By:ecyoung

    With Netware, this was a one-liner…
    no mkdir, no mount
    just nss /MountImageVolume=path_imagefilename
    simple, easy, efficient

    R.I.P. Netware