Home > Articles

This chapter is from the book

This chapter is from the book

Managing NSS

Test Objective Covered:

  • Monitor, Manage, and Rebuild NSS Storage Space

As the network administrator, you're 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'll hone your file system management skills by exploring various procedures within the following two categories:

  • NSS file management—We'll explore NSS file system management at the most granular level—from the file's point of view. In this section, you'll 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'll learn some time-proven techniques for managing NSS volumes and storage pools. In this section, you'll 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 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 Transaction Tracking System (TTS) on logical volumes

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 the following methods for enabling file snapshot at the volume level:

  • To enable file snapshot for an NSS volume, enter the following NSS command at the server console:

    NSS /FileCopyOnWrite={volume name}
  • To enable file snapshot for all NSS volumes, enter the following NSS command at the server console:

    NSS /FileCopyOnWrite=all
  • 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

After you've enabled 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 enables 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 then NSS Attributes. Finally, when the NSS Attributes window appears, select User Space Restrictions and you'll be greeted with a screen similar to Figure 3.20.

Figure 3.20FIGURE 3.20 Configuring user space restrictions in ConsoleOne.

In the Volume Properties page (shown in Figure 3.20), 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 that the Limit User Space check box is marked, enter the correct size in the Limit (in 4KB increments) 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 3.21). When the Facts page appears, mark the Restrict Size check box and then enter the correct size in the Limit field (in increments of 4KB). Finally, select Apply to save the directory space restriction.

Enable Transaction Tracking System on Logical Volumes

The Transaction Tracking System (TTS) protects database applications by backing out incomplete transactions caused by a system failure. This is available on either all traditional or all NSS logical volumes on the same server. When your server stores both traditional and logical volumes, TTS works by default only on traditional volumes.

If you want to use TTS on logical volumes instead, you must add the DISABLE TTS command to the AUTOEXEC.NCF file and restart your server. Then enable TTS on each logical volume you want it on by entering the following at the server console:

NSS/TRANSACTION=volume_name

Figure 3.21FIGURE 3.21 Configuring directory space restrictions in ConsoleOne.

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've 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. After it has been 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 dismounts all volumes within the pool automatically. When VERIFY is complete, a results screen appears (as shown in Figure 3.22). Make sure to remount all the pool's volumes at the conclusion of the VERIFY process by typing MOUNT ALL at the server console.

Figure 3.22FIGURE 3.22 NSS VERIFY results screen.

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 dismounts all logical volumes in the pool automatically. A status screen appears (as shown in Figure 3.23) while the storage pool, and all its host volumes, are being rebuilt. When the REBUILD process is complete, make sure to mount all the storage pool's volumes by typing MOUNT ALL at the server console.

Figure 3.23FIGURE 3.23 NSS REBUILD status screen.

Delete NSS Logical Volumes

As a network administrator, you have the power to delete anything that you create, but be aware that user data might 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.

TIP

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

The default setting for the purge delay period is 4 days (or 345,600 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 enables 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:

It's 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.

Congratulations! You've 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. In this lesson, we explored the detailed architecture of NSS and learned how to configure and manage it. Now that you've mastered Novell storage management with NSS, let's continue this theme with a backup lesson using Storage Management Services (SMS). Go team!!!

Brain Snack

Toward the end of this fun chapter, it's time for a Sunday drive. It's 120 miles from here to there, and you average 60MPH on the trip out. On the return trip, you take it easy and average 40MPH. What was your average speed for the round trip? Don't worry; it's not as easy as it sounds.

(Q3-5) (See Appendix C for all Brain Snack answers.)

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020