Managing NSS

Test Objective Covered:

  1. Manage NSS.

As the network administrator, you are responsible for maintaining the server's file system on a day-to-day basis. This involves ensuring that the file system is well organized, easily accessible to network users, and contains adequate storage space.

In this final NSS lesson, you will hone your file system management skills by exploring various procedures within the following three categories:

  • NSS File Management We will explore NSS file system management at the most granular level from the file's point of view. In this section, you will learn how to enable the File Snapshot feature, limit users' disk space boundaries with the User Space Restrictions feature, and restrict file storage capacity within a specific directory using the Directory Space Restrictions feature.

  • NSS Volume Management You will learn some time-proven techniques for managing NSS volumes and storage pools. In this section, you will learn how to rebuild NSS storage pools and volumes, delete NSS storage pools and volumes, restore or purge deleted logical volumes, and mount a DOS partition as an NSS volume.

  • NSS Troubleshooting You will gain some valuable expertise in NSS troubleshooting by solving three complex problems. This scenario-based approach will serve you well if users start panicking over lost network data.

NSS File Management

Files represent the bottom level of the NSS file system food chain. This granular storage unit hosts user data and/or network applications. This is where our NSS management lesson begins.

Most NSS file management tasks focus on disk space usage and reliability. Specifically, NetWare 6 administrators must be able to

  • Enable File Snapshot

  • Configure User Space Restrictions

  • Configure Directory Space Restrictions

Enable File Snapshot

File Snapshot is an NSS backup reliability feature that supports third-party backup utilities. When you enable File Snapshot on a volume, NSS keeps an original copy of all open files. This allows the backup utility to copy information about each individual file, including owner, creation date and time, and modification date and time.

NSS provides two methods for enabling File Snapshot at the volume level:

  • Enter the following NSS command at the server console:

     NSS /FileCopyOnWrite={volume name} 
  • Use the Volume Creation Wizard and select File Snapshot when the volume is created.

To disable File Snapshot, enter the following NSS command at the server console:

 NSS /NoFileCopyOnWrite 

Once you enable File Snapshot on your volumes, you must deactivate and then reactivate and remount them. This helps to ensure that there are no open files without a snapshot.

TIP

When enabling File Snapshot by using the NSS console command, you can use the all parameter in place of the volume name to enable File Snapshot on all volumes.


Configure User Space Restrictions

If disk space becomes a scarce commodity, consider restricting volume space usage. NSS allows you to restrict volume space according to two criteria: by user and/or by directory.

User space restrictions are beneficial for networks that have a large number of users, such as students or contractors. These restrictions must be set independently for each volume. To do so by using ConsoleOne, right-click the volume on the browser screen and select Properties from the pop-up menu that appears. Next, select Attributes and NSS Attributes. Finally, when the NSS Attributes window appears, select User Space Restrictions and you'll be greeted with a screen similar to Figure 5.14.

Figure 5.14. Configuring User Space Restrictions in ConsoleOne.

graphics/05fig14.jpg

In the Volume Properties page (shown in Figure 5.14), select the Users with Space Restrictions tab and click Add. When the Select Object dialog box appears, browse to and select the context containing the user, select the user, and click OK. When the User Space Restriction dialog box appears, make sure the Limit User Space checkbox is marked, enter the correct size in the Limit (in KB) field, and then click OK. Finally, select Apply to save the user space restriction.

Configure Directory Space Restrictions

In addition to restricting disk space at the user level, you can configure limitations for directories and their subdirectories. To limit the total size of a directory, activate ConsoleOne and authenticate as your Admin user. Next, browse to the directory you want to establish restrictions for in the browser screen, right-click it, and select Properties. When the Properties dialog box appears, click the Facts page tab (as shown in Figure 5.15). When the Facts page appears, mark the Restrict Size checkbox and then enter the correct size in the Limit field (in increments of 4KB). Finally, select Apply to save the directory space restriction.

Figure 5.15. Configuring Directory Space Restrictions in ConsoleOne.

graphics/05fig15.jpg

NSS Volume Management

NSS logical volumes represent the highest level of the user-accessible file system. In fact, volumes are a transition point between the two NetWare 6 directory trees: file system and eDirectory. This is because each volume is represented by two objects: a logical collection of disk space in the file system and a Volume object in the eDirectory tree.

Because of this special distinction, volume management is a critical aspect of your NSS management responsibilities. As you know, NSS volumes are hosted inside storage pools. Therefore, we must include storage pools in our lesson of volume management. Following are the four main procedures that encompass NSS volume management:

  • Rebuild NSS Logical Volumes

  • Delete NSS Logical Volumes

  • Restore or Purge Deleted NSS Logical Volumes

  • Mount a DOS Partition as an NSS Logical Volume

Remember, volume management encompasses more than just NSS logical volumes. In this section, we'll explore storage pool management as well.

Rebuild NSS Logical Volumes

To repair NSS storage pools and logical volumes, NetWare 6 includes two NSS console commands:

  • VERIFY Checks the file system integrity of an NSS pool by searching for inconsistent data blocks or other errors. VERIFY performs a read-only assessment of your storage pool before you perform the REBUILD process.

  • REBUILD After you have verified the file system integrity of your storage pool, you can use REBUILD to correct severe storage pool and logical volume errors. Before you run REBUILD, you must deactivate all target storage pools and volumes and make sure that users don't have access to them during the rebuilding process. Once activated, REBUILD copies errors and transactions into a file named SYS:/{volume name}.RLF. Every time you use REBUILD to rebuild an NSS logical volume, its previous error file is overwritten.

TIP

One word of warning: Only use REBUILD as a last resort. If you use it to recover from data corruption, you can lose your data!


To run VERIFY on a specific NSS storage pool, enter the following command at the server console:

 NSS /POOLVERIFY={pool name} 

During the VERIFY process, NSS will dismount all volumes within the pool automatically. When VERIFY is complete, a results screen appears (as shown in Figure 5.16). Make sure to remount all of the pool's volumes at the conclusion of the VERIFY process by typing MOUNT ALL at the server console.

Figure 5.16. NSS VERIFY results screen.

graphics/05fig16.jpg

To perform a REBUILD on a specific NSS storage pool, enter the following NSS command at the server console:

 NSS /POOLREBUILD={pool name} 

During the REBUILD process, NSS will dismount all logical volumes in the pool automatically. A status screen appears (as shown in Figure 5.17) while the storage pool, and all of its host volumes, are being rebuilt. When the REBUILD process is complete, make sure to mount all of the storage pool's volumes by typing MOUNT ALL at the server console.

Figure 5.17. NSS REBUILD status screen.

graphics/05fig17.jpg

TIP

NSS REBUILD is not equivalent to the traditional VREPAIR utility. While these two utilities seem to accomplish roughly the same task, they go about it in very different ways.


Delete NSS Logical Volumes

As a network administrator, you have the power to delete anything that you create, but be aware that user data may be at stake. When you delete an NSS logical volume (or a traditional volume) from a storage pool, the pool and its host partition are still intact. This enables you to reassign the volume space to another storage pool or volume. Fortunately, NSS includes a restore feature that enables you to recover deleted data within two days of its deletion.

To delete an NSS storage pool or logical volume in ConsoleOne, simply browse to the appropriate Server object, right-click it, and select Properties. Next, select Media and NSS Pools (or Logical Volumes). Finally, select a specific storage pool or logical volume and click Delete. It's that easy.

Oops! What happens if you accidentally delete the wrong volume? That's where the NSS restore feature comes in. Let's take a closer look.

Restore or Purge Deleted NSS Logical Volumes

NSS will help you recover from volume management mistakes. If you accidentally delete a logical volume, the NSS restore feature enables you to "undelete" it for a specified amount of time this is called the Purge Delay Period. You must retrieve the logical volume before the delay time elapses; otherwise, the volume will be automatically purged from the system and you will be unable to restore it.

The default setting for the Purge Delay Period is 2 days (or 172,800 seconds). You can change the Purge Delay Period by entering the following NSS command at the server console:

 NSS /LogicalVolumePurgeDelay={delay period in seconds} 

Remember that the Purge Delay parameter is lost if the server is restarted. To make this change permanent, you must add the command to the server's AUTOEXEC.NCF file.

You can also manually restore or purge a deleted logical volume by using ConsoleOne. To do so, browse to the appropriate Server object, right-click it, and select Properties. Next, select Media and NSS Pools. Finally, in the Deleted Volumes window, select one of the following options:

  • Purge Immediately purges all deleted volumes.

  • Prevent Purge/Allow Purge Halts the volume purging process completely.

  • Salvage Restores the deleted volume that you have chosen.

  • Refresh Rescans the logical volumes that have been deleted and updates the list.

TIP

When you delete an NSS storage pool, you also delete all logical volumes in that pool. Unfortunately, Logical Volumes deleted at the pool level cannot be restored.


Mount a DOS Partition as an NSS Logical Volume

NSS allows you to mount existing DOS partitions as NSS logical volumes. With this feature, users can gain access to the files stored on the server's local C: drive. To accomplish this, simply load the following module at the NetWare 6 server console:

 LOAD DOSFAT.NSS 

It is as simple as that. After DOSFAT.NSS is loaded, DOS partitions on the server are automatically mounted and made available as NSS logical volumes. The volume name displayed is DOSFAT_x, where x is the drive letter (for example, DOSFAT_C). The new logical volume is fully functional, including support for long filenames using the Windows 95/98 method, NetWare trustee rights via eDirectory security, and any client or server utility that manages NetWare volumes.

This completes our lesson in NSS volume management. In fact, it completes our studies in fundamental NSS management procedures. So, we're done then, right? Wrong! We have one more lesson to go. Before we complete this chapter, we must journey into the mysterious land of NSS troubleshooting. After all, managing NSS volumes is the easy part. How things are handled when the storage system goes awry is the true mettle of a NetWare 6 CNE.

NSS Troubleshooting

Once you have configured and managed your NetWare 6 storage system, it's time to focus on keeping it running NSS troubleshooting. The purpose of troubleshooting is to determine the cause of a given problem and to implement a timely solution. Remember that a problem is not considered solved until it no longer negatively impacts your users. From an NSS perspective, this means the problem is solved when user data is safe. And because data is the primary purpose of networking, NSS troubleshooting is one of your most important tasks.

In this section, we will explore three of the most common NSS problems and provide some time-proven solutions:

  • NSS Does Not Recognize a Device

  • NSS Does Not Allow You to Create a Storage Pool or Logical Volume

  • NSS Does Not Allow You to Compress a File

Let's troubleshoot.

NSS Does Not Recognize a Device

NSS does not recognize a specific storage device in Media Manager. Remember that NSS can only use what the Media Manager recognizes.

To solve this problem, you must first determine whether NetWare recognizes the storage device at all. To do so, enter the following two commands at the NetWare 6 server console:

 Scan for new devices List devices 

If the problematic storage device is not listed or is shown as an Unbound Object the device is likely malfunctioning or the proper .CDM device driver has not been loaded. If the storage device seems to be operating properly, the problem may be caused by a missing device driver. Make sure the appropriate board driver (*.HAM) and device driver (*.CDM) are loaded.

NSS Does Not Allow You to Create a Storage Pool or Logical Volume

NSS does not allow you to create a storage pool or logical volume. This condition may occur as a result of any of the following three reasons:

  • Your host storage devices might not have enough free space to create more storage pools or logical volumes. In this case, you should check for free space using ConsoleOne and/or add another storage device to the NetWare 6 server.

  • All NSS logical volumes may not be part of the same storage pool. Remember that logical volumes must exist within an NSS storage pool. Before you create each logical volume, make sure its host pool exists. If not, create a new one.

  • NSS might not own the free space you need to create a new storage pool. In this case, you must move up one layer in the NSS food chain and create an NSS partition for your new storage pools and logical volumes.

NSS Does Not Allow You to Compress a File

NSS does not allow you to compress a file. Remember that file compression must be activated at the volume level when it is created. However, you can enable file compression on an existing NSS logical volume. To do so by using ConsoleOne, browse to the appropriate Server object, right-click it, and select Properties. Next, choose Media and NSS Logical Volumes. Highlight the specific volume you are interested in and select Properties, Attributes, NSS Attributes. At this point, ConsoleOne will return a screen similar to the one shown in Figure 5.10. Simply select the Compression option and click OK.

REAL WORLD

For more information regarding NSS troubleshooting, refer to the Novell Knowledgebase online at http://support.novell.com.

Congratulations! You have successfully traversed the new NetWare 6 storage system known as Novell Storage Services. NSS is a huge improvement over the traditional file system. However, with this increased sophistication comes a ton of complexity in architecture, configuration, and management. Fortunately, you have Novell's CNE Update to NetWare 6 Study Guide to teach you what you need to know.

In this chapter, we explored the detailed architecture of NSS and learned about two new storage layers: NSS storage deposits and NSS storage pools. In addition, we discovered fifteen impressive NSS features in five different categories. Some of the most interesting features you learned in this chapter include overbooking, file flushing, clustering, data shredding, and software RAID support.

With the NSS architecture firmly planted in our collective minds, we turned our attention to the three steps of NSS volume configuration. In step 1, you learned how to create an NSS partition and hot fix redirection area using ConsoleOne. Then, in step 2, you created a storage pool within an existing partition and configured its free space boundaries. Finally, in step 3, you created the NSS logical volume itself within the storage pool and enabled a plethora of attribute settings.

In the final lesson of this chapter, "NSS Management," you learned some time-proven procedures for file management, volume management and NSS troubleshooting. Please keep this one important lesson in mind: Data is the ultimate purpose of networking. As a network administrator, you are the trusted keeper of all your users' data. Be sure to take this responsibility very seriously.

Now that you are a certifiable NSS storage expert, it's time to explore NetWare 6's innovative access technologies. The next chapter covers four of the coolest new features in NetWare 6: Novell Native File Access Pack, iFolder, iPrint, and NetWare Web Access Gadgets. This is going to be a lot of fun, so hold on tight the ride is about to begin.

Lab Exercise 5.2: Storing Data in NetWare 6 (Word Search Puzzle)

Q1:

Circle the 20 NetWare 6 storage services terms hidden in this word search puzzle using the hints provided.

graphics/05fig18.gif

Hints

  1. This NSS process adds a measure of security to your network by overwriting purged disk blocks with a random pattern of characters.

  2. This NLM allows you to mount existing DOS partitions as NSS logical volumes.

  3. The traditional file system tracks files with this list.

  4. This NSS feature allows backup utilities to store a copy of open files.

  5. This new type of volume in NetWare 6 can either be set to a specific size or allowed to grow dynamically.

  6. This is a list of files that have changed since the previous backup.

  7. A type of volume that references CD-ROM storage devices directly.

  8. This NSS feature allows the sum of the sizes of each logical volume in a storage pool to exceed the pool size.

  9. After you have verified the file system integrity of your storage pool, you can use this utility to correct severe storage pool and logical volume errors.

  10. By default, NSS uses this percentage of a server's cache buffers to temporarily store data files in RAM.

  11. These are specific amounts of file system space that you obtain from one or more storage devices.

  12. This type of NetWare file system organizes hard disks into one or more partitions, which host volumes, which are then divided into directories that contain subdirectories and/or files.

  13. This utility converts traditional NetWare volumes into logical NSS volumes.

  14. This utility can be used to check the file system integrity of an NSS pool by searching for inconsistent data blocks or other errors.

  15. The midpoint that links eDirectory and the file system.

See Appendix C for answers.

Lab Exercise 5.3: NetWare 6 Storage Services (Crossword Puzzle)

Q1:

graphics/05fig19.gif

Across

2. Maximum files per traditional file system (in millions)

4. Console command for allocating NSS cache buffers

5. NSS supported CD-ROM standard

7. Storage redirection strategy

9. NLM for configuring NSS cache buffers

11. NSS supported high availability feature

14. NLM for repairing traditional volumes

Down

1. Maximum NSS file system size (in TB)

3. Default NetWare 6 storage system

6. Default cache buffer size (in KB)

8. Maximum traditional file system size (in GB)

9. RAID Level 1

10. NetWare 6 version can't configure traditional volumes

12. Maximum NSS block size (in KB)

13. Redundant array of independent disks

See Appendix C for answers.



Novell's CNE Update to NetWare 6. Study Guide
CNE Update to NetWare 6 Study Guide
ISBN: 0789729792
EAN: 2147483647
Year: 2003
Pages: 128

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net