Performing an NSS Scan in NW 6

  • 3774010
  • 09-Nov-2006
  • 31-May-2012

Environment

Novell NetWare 6.0
Novell NetWare 6.0 Support Pack 1

Situation

Performing an NSS Scan in NW 6

Resolution

1. Place the pool you want to scan in maintenance mode. This will dismount any volumes that are currently mounted on this pool.

NSS /POOLMAINTENANCE={POOLNAME}

2. Perform the scan. This will put a series of files named T0000000.ZSB, T0000001.ZSB, T0000003.ZSB, etc (incrementing each file until it reaches the end of the scan).Each of these files is 10 MB in size. These files will be placed on the root of the SYS volume. If you are low on space you can move these files after they have completed writing.(ie. When the server begins to write file T00000001.ZSB it is okay to move T0000000.ZSB to another location.

SCAN /SCANPOOLNAME={POOLNAME}

SCAN /SCANPOOLNAME={POOLNAME} /COMP=1

The /COMP=1 switch will compress the files to 2MB in size and name them C0000000.ZSB etc.

3. Scan is complete.

How to restore NSS scan files.

Restores should only be done on test servers since all data on the pool that is chosen to be the restore target will be removed.

1. Make sure you are on NW6NSS1C.EXE code for the NSS modules. NSS.NLM is dated June 17, 2002. If you are not on this version of code or later there are problems getting the restore to work. You will see incorrect version messages on the logger screen.

2. Copy the SCAN files to the root of one of the volumes on your restore server.

3. If the files have been compressed then run EXPLODE.NLM to uncompress them. This will make 10 MB T0000000.ZSB files.

EXPLODE /SOURCEVOLUME={VOLUME_THAT_HOLDS_COMPRESSED_FILES}

4. Rename all of the T*.ZSB files to *.ZRB.

5. Create a Pool at least as large as the pool you are choosing to restore.

6. Place this pool in maintenance mode.

NSS /POOLMAINTENANCE={POOLNAME}

7. Restore the scanned pool.

SCAN /RESTOREPOOLNAME={POOLNAME}

If you have the scan files on the root of a volume other than SYS then type

SCAN /RESTOREPOOLNAME={POOLNAME} /LOGVOLUMENAME={VOLUME_WHERE_SCAN_FILES_ARE_LOCATED}

8. Restart the server, when the server comes up the volumes should be mounted.

Additional Information

The name and size of the pool can be obtained by running zsbInfo.exe on a ZSB file. Place this file in the same directory as the scan files then switch to this directory in a DOS window then run ZSBINFO.EXE..

Additional Information

Formerly known as TID# 10072916

Create a script to convert the file extensions. Use the following content in the script (bash):
#!/bin/bash

for file in *.ZSB
do
mv $file `echo $file | sed's/\(.*\.\)ZSB/\1ZRB/'` ;
done