18.3 Managing Directory Quotas

Before you can set directory quotas, you must enable the volume’s Directory Quotas attribute. As the Admin user, you can view and configure directory quotas with NetStorage and the Novell Client™. For NSS on NetWare, you can also use Novell Remote Manager for NetWare.

This section discusses the following:

18.3.1 Setting the Directory Quotas Attribute for an NSS Volume

After you set up and configure NSS volumes, you can view and modify attribute settings such as the Directory Quotas attribute.

  1. In iManager, click Storage>Volumes.

    For instructions, see Section 3.1.6, Accessing Roles and Tasks in iManager.

  2. Select a server to manage.

    For instructions, see Section 3.1.7, Selecting a Server to Manage.

    The NSS volumes on that server are listed in the Volumes list.

  3. In the Volumes list, select a volume that you want manage.

  4. Click Properties.

    The Properties page has three tabs: Attributes, Statistics, and Volume Quota. It opens to the Attributes tab.

  5. On the Attributes tab, select or deselect the Directory Quotas check box, then click Apply.

  6. (Linux) If you enabled or disabled the Directory Quotas attribute, restart NCP2NSS by entering the following at a terminal prompt:

    /etc/init.d/ncp2nss restart
    

18.3.2 Setting a Directory Quota

Novell NetStorage

Using Novell NetStorage, you can manage directory quotas for directories in an NSS volume from any computer with a supported Web browser. This requires you to first configure a NetStorage server in the same context. For information, see the following:

To create or change NSS directory quotas with NetStorage:

  1. In a Web browser, connect to NetStorage.

    For information, see Section 3.4, Novell NetStorage.

  2. Log in to NetStorage with the username and password of the Admin user or equivalent user.

  3. Navigate to the directory you want to manage.

  4. Right-click the directory, then select Properties.

  5. Click the NetWare Info tab.

    Use the NetWare Info tab whether your server is OES Linux or NetWare.

  6. Do one of the following to configure the directory quota:

    • Space Restriction: Select Restrict Size, then specify the directory quota in KB. The value must be a multiple of 4.

    • No Space Restriction: Deselect Restrict Size to set the directory quota to Unlimited.

    • Complete Space Restriction: Select Restrict Size, then specify the directory quota as 0 KB. If the directory already contains files and subdirectories, the directory cannot grow beyond the current space consumed.

  7. Click Apply to accept the directory quota configuration.

Novell Client

The Novell Client for Windows 2000/XP allows the admin user to manage directory quotas for directories in an NSS volume from a Windows computer.

  1. In the Novell Client, map a drive to the NSS directory you want to manage, or map to its parent directory.

    1. Right-click the Novell Client icon (the N icon on the status bar), then select Novell Map Network Drive.

    2. Specify the network path to the directory. For example: 192.168.1.1/users.

    3. Specify the username of the Admin user or equivalent user, then click Map.

    4. When prompted, enter the user’s password.

  2. In a file browser, locate and right-click the directory you want to manage, then click Properties>NetWare Info.

    Use the NetWare Info tab whether your server is OES Linux or NetWare.

    Sample NetWare Info Dialog for the Novell Client
  3. In the Space Restriction field, click Change to open the Space Restriction dialog box.

    The Novell Client Space Restriction Dialog Box
  4. Do one of the following to configure the directory quota:

    • Space Restriction: Specify the directory quota in KB. The value must be a multiple of 4.

    • No Space Restriction: Select No Space Restriction to set the directory quota to Unlimited.

    • Complete Space Restriction: Select Complete Space Restriction to set the directory quota to 0 KB. If the directory already contains files and subdirectories, the directory cannot grow beyond the current space consumed.

  5. Click OK to accept the directory quota.

Novell Remote Manager for NetWare

  1. Access Novell Remote Manager for your NetWare server.

    For information, see Section 3.5, Novell Remote Manager.

  2. Click Volumes to open the Volumes page.

  3. Locate the volume where the directory resides, then click the volume name link to view a directory listing for the volume.

  4. Locate the directory you want to manage, then click the Directory Information icon Directory Information icon to the left of the directory to open the Directory Entry Information page.

  5. In the Directory Entry Information field, click the File Space Limit link.

    Figure 18-1 NetStorage Directory Quota’s File Space Limit Link

    This link is not available if you did not enable the Directory Quotas attribute when you created the parent volume.

  6. Do one of the following:

    • Space Restriction: Specify the maximum size (in kilobytes) for the selected directory, then click Set Space Restriction to apply the setting.

    • No Space Restriction: Click No Quota to remove space restrictions for the selected directory.

    • Complete Space Restriction: Specify the maximum size as 0 KB. If the directory already contains files and subdirectories, the directory cannot grow beyond its current space consumed.

18.3.3 Deleting All Directory Quotas for an NSS Volume

To delete the directory quotas for all directories on an NSS volume without dealing individually with each directory, you can simply disable the Directory Quotas attribute for the NSS volume.

  1. In iManager, click Storage>Volumes.

    For instructions, see Section 3.1.6, Accessing Roles and Tasks in iManager.

  2. Select a server to manage.

    For instructions, see Section 3.1.7, Selecting a Server to Manage.

    A list of volumes appears in the Volumes list.

  3. In the Volumes list, select a volume that you want manage.

  4. Click Properties.

    The Properties page has three tabs: Attributes, Statistics, and Volume Quota. It opens to the Attributes tab.

  5. On the Attributes tab, deselect the Directory Quotas check box, then click Apply.

  6. (Linux) Restart NCP2NSS by entering the following at a terminal prompt:

    /etc/init.d/ncp2nss restart