Maintaining Volumes

This section describes how to create, delete, rename, mount, dismount, and repair NetWare volumes. It also includes procedures for adding volume segments and changing volume size.

In Novell Directory Services, each volume is also an object in the Directory. When you create a volume with INSTALL.NLM, it puts a Volume object in the same context as the NetWare Server object within the Directory tree. By default, INSTALL names the Volume object servername_volumename.

You can change the context of Volume objects and rename Volume objects with either the NETADMIN text utility or the NetWare Administrator graphical utility.

IMPORTANT:  To rename or delete a volume, you must use INSTALL to rename or delete the volume on the server, and then use NETADMIN or NetWare Administrator to change the Volume object in the Directory.


Creating Volumes

With NetWare 4, you can create a new volume on any hard disk that has a NetWare 4 partition.

You use INSTALL to create volumes.

Your NetWare server can have from 1 to 64 NetWare volumes, depending on the needs of your users. NetWare requires only one volume, SYS:.


Prerequisites


Procedure

  1. At the server console prompt, type

    LOAD INSTALL <Enter >

  2. From the Installation Options menu, choose Volume Options.

    If any volumes exist, they are now listed.

  3. Press <Insert>.

    The Volume Disk Segment List is displayed.

  4. Select any existing free space and press <Enter>.

    Free space is any NetWare disk partition space to which no volume assignment has been made.

    NOTE:  By default, a new volume takes up all remaining free space of a NetWare disk partition when it is created. However, you can decrease the volume size to leave some free space on the partition for adding NetWare volumes in the future.

    If no free space is available, you must add a new hard disk, or add magneto-optical disk storage, before you can create new volumes.

  5. Type a new volume name in the box provided and press <Enter>.

    The volume name can be up to 15 characters long (A through Z, 0 through 9, and underscore characters are allowed).

    The newly created volume now appears in the Volume Disk Segment List.

    If you want the new volume to use all of the free disk space, skip to Step 7. If not, continue with Step 6.

  6. If you don't want the new volume to use all of the free disk space, do the following:

    1. Select the volume you just created and press <Enter>.

    2. Enter a new volume size, expressed in megabytes (MB), and press <Enter>.

    3. Press <Esc> and save the settings.

    4. To assign the free space you just created to another volume, repeat Step 4 and Step 5.

    5. Skip to Step 9.

  7. If you want the new volume to use all of the free disk space, either press <Esc> to continue with other volume tasks or press <F10> to save volume information to disk.

  8. From the menu, choose Mount/Dismount an Existing Volume.

  9. Choose Mount.


Additional Information

For more information about See

Creating NetWare disk partitions

Creating NetWare Disk Partitions

Changing the size of a volume

Modifying the Size of a Volume

Adding a hard disk

Loading Disk Drivers

Adding magneto-optical disk storage

Migrating Data Using the High Capacity Storage System


Mounting and Dismounting Volumes

By mounting a volume, you make its information available to network users. You can mount or dismount one or all volumes while the NetWare server is running.

You may want to leave rarely used volumes dismounted because each mounted volume takes up memory and reduces the memory available for file caching.

You can mount and dismount volumes in two ways:


Procedure

  1. At the server console prompt, type

    LOAD INSTALL

  2. Select the volume you want to mount or dismount and press <Enter>.

    The Volume Information screen is displayed.

  3. Using the arrow keys, highlight the Status field.

    Depending on the status of the volume, this field displays Mounted, Not Mounted, or New, not mounted.

  4. If the status is New, not mounted, press <Esc> and then <F10> to save volume changes to disk before the volume can be mounted.

  5. Press <Enter> to display a menu of available actions.

  6. Depending on your situation, select either Mount or Dismount and press <Enter>.

    NetWare mounts or dismounts your volume.

    NOTE:  If volumes fail to mount, you may not have enough RAM installed to accommodate the volume. For more information, see Assessing Server RAM.


Deleting Volumes

WARNING:  Deleting one volume segment deletes all existing data on the volume! You cannot delete only part of a volume.

This procedure tells you how to delete an entire volume.


Procedure

  1. If the volume you want to delete contains HCSS directories, unload the HCSS media. For information on unloading the media, see Reformatting Media.

  2. Back up the data stored on the volume you want to delete.

  3. Dismount the volume you want to delete.

  4. At the server console prompt, type

    LOAD INSTALL <Enter >

  5. From the Installation Options menu, choose Volume Options and press <Enter>.

    A list of existing volumes is displayed.

  6. From the list of existing volumes, select the volume you want to delete and press <Delete>.

    A warning similar to the following appears:

    Volume volume_name may contain valuable data that will be lost if you confirm Yes in the box that follows this message and if you save volume changes on exit from the volumes list.<Press ENTER to continue>
  7. Press <Enter> if you want to continue.

  8. When the Delete existing volume? prompt appears, select Yes and press <Enter>.

    NOTE:  Deleting volumes with INSTALL does not affect Volume objects. You must use NETADMIN or NetWare Administrator to delete Volume objects.


Additional Information

For more information about See

HCSS volumes

Migrating Data Using the High Capacity Storage System

Backing up a volume

Backing Up and Restoring Data

Deleting NDS Volume objects

Deleting Objects from the Directory Tree

Using NWADMIN to delete a volume

Deleting Objects Using NetWare Administrator

Using the NetWare Administrator to delete a volume

Deleting Objects Using NETADMIN


Renaming Volumes


Procedure

  1. Dismount the volume you want to rename.

  2. At the server console prompt, type

    LOAD INSTALL <Enter >

  3. From the Installation Options menu, choose Volume Options and press <Enter>.

    All existing volumes are listed.

  4. Select the volume whose name you want to change and press <Enter>.

    The Volume Information screen is displayed.

  5. Use the arrow keys to highlight the Name field, and press <Enter>.

  6. Backspace to erase the old name; then type in a new name and press <Enter>.

    IMPORTANT:  Do not change the name of volume SYS: to another name. A volume called SYS: is mandatory.

  7. Press <Esc> twice; then press <F10> to save the volume information.

    If you have not dismounted the volume it is automatically dismounted now.

  8. When prompted, answer Yes to mount the volume with the new name.

  9. To set the Volume object name and context in Novell Directory Services, you are prompted to log in to the Directory.

  10. After you log in, verify that the displayed context and Volume object name are correct.

    NOTE:  Renaming a volume with INSTALL creates a Volume object with the new name. It does not delete the Volume object with the old name.

  11. Use NWADMIN or NETADMIN to delete the old Volume object from the Directory tree.


Additional Information

For more information about See

Dismounting volumes

Mounting and Dismounting Volumes

Using NWADMIN to delete the old Volume object

Deleting Objects Using NetWare Administrator

Using NETADMIN to delete the old Volume object

Deleting Objects Using NETADMIN


Setting Up a Volume to Store Non-DOS Files

By default, NetWare volumes support DOS naming conventions. To store non-DOS files (such as for Windows 95/98, Macintosh, OS/2, or UNIX files) on a NetWare volume, you must load the appropriate name space NLM program and add the name space support to that volume.

The following name space NLM programs are included with NetWare:

In addition, an FTAM name space module is available from third-party providers.

IMPORTANT:  Each name space added to a volume requires additional server memory. If you add name space support to a volume and do not have enough memory, that volume cannot be mounted.


Calculating Memory Required for Name Space Support

Use the following formula to calculate the additional memory required for each added name space on a non-DOS volume:

0.032 x volume_size (in MB)/block_size (in MB)

Round the result to the next highest megabyte.

For example, adding Macintosh name space to a 100MB volume with a block size of 4 KB would require 1 MB of additional memory, as shown:

0.032 x 100 MB / 4 = 0.8 MB


Adding a Name Space


Prerequisites


Procedure
  1. Load the appropriate name space NLM by typing

    LOAD [path]name_space <Enter>

    For example, to load the name space module for Macintosh support, type

    LOAD MAC.NAM <Enter>

  2. Add name space support to the volume by typing

    ADD NAME SPACE name to volume_name <Enter>

    Replace name with the name space NLM. Replace volume_name with the name of the volume that will store the non-DOS files.

    For example, to add the Macintosh name space to the MACVOL volume, type

    ADD NAME SPACE MAC TO MACVOL <Enter>

    NOTE:  You only need to add a name space to a volume once. You don't need to add it each time the server comes up. The name space module autoloads each time the server comes up.

    To verify that the name space has been added, view a list of all added name spaces by typing

    ADD NAME SPACE <Enter>

  3. To see a list of current volumes and name spaces, type

    VOLUME <Enter>


Additional Information
For more information about See

ADD NAME SPACE command

ADD NAME SPACE in Utilities Reference

Name space

Name space support in Concepts


Removing Name Space Support

Once a name space is added to a volume, the name space can be removed either by deleting the volume and re-creating it or by using VREPAIR.

To use the VREPAIR method, see the next section, Repairing Volumes. To delete a volume, see Deleting Volumes.


Repairing Volumes

Typically, you can't mount a volume if it has even minor damage. Occasionally, however, a damaged volume mounts, but causes errors in the process.

Use VREPAIR to correct volume problems or to remove name space entries from File Allocation Tables (FATs) and Directory Entry Tables (DETs).

You can run VREPAIR on a bad volume while other volumes are mounted. Following are typical instances when VREPAIR can help:

If a volume fails to mount as the server is booting, VREPAIR loads automatically and attempts to repair the volume.

When VREPAIR autoloads, it uses the default options. If you want to use an alternate option, load VREPAIR manually and set the alternate option before running VREPAIR.

NOTE:  If you don't want VREPAIR to automatically repair a volume that won't mount, use the Automatically Repair Bad Volumes SET parameter to change the default. (See SET in Utilities Reference.)


Prerequisites


Procedure

  1. At the server console prompt, type

    LOAD VREPAIR [volume name] [logfile name] <Enter>

    (Optional) Replace volume name with the name of the volume to repair. If there is only one volume that is dismounted, you don't need to specify this parameter, since VREPAIR will attempt to repair that volume.

    (Optional) If you want to save the error log, replace the logfile name with the name of the file you want VREPAIR to create. VREPAIR creates a log of errors it finds. VREPAIR displays the errors on screen and will write them to a file if you specify a filename.

    When you load VREPAIR, an Options menu is displayed.

  2. Accept the default options, or select alternate options, as appropriate.

    The first time you try to repair a volume, accept the default options. If the default options fail to repair the volume, select alternate options.

    1. To accept the default options, continue with Step 3.

    2. To set alternate options at the Options menu, choose Set VRepair Options by typing

      2 <Enter>

    For more information on the options that are displayed, see VREPAIR in Utilities Reference.

  3. To begin the repair process, choose Repair A Volume from the Options menu.

    • If more than one volume is dismounted, select the volume to repair from those listed.
    • If only one volume is dismounted, VREPAIR assumes it is the volume that needs repairing and begins the repair.

    As the volume is being repaired, the server console screen displays a message indicating VREPAIR activity.

  4. (Optional) Modify error log settings after the repair has started.

    If VREPAIR finds many errors during the repair process, you might want to change some of the run-time error settings. To modify these settings after the repair has started, press <F1> to display the Current Error Settings menu.

    • Select Option 1 if you do not want VREPAIR to pause after each error.
    • Select Option 2 if you want VREPAIR to log errors in a text file.
    • Select Option 3 to stop the repair of the volume.
    • Select Option 4 to continue with a volume repair after you have stopped it.

  5. When the repair is complete, answer Y when prompted to write repairs to the disk.

  6. If VREPAIR has found errors, run VREPAIR again by repeating Steps 2 through 6. Repeat until VREPAIR finds no errors.

    If you are unable to mount the volume after running VREPAIR a number of times, you must delete the volume, re-create the volume using INSTALL, and then restore the data from backups.


Additional Information

For more information about See

Using VREPAIR

VREPAIR in Utilities Reference

Dismounting a volume

Mounting and Dismounting Volumes

Creating a volume

Creating Volumes

Setting the Automatically Repair Bad Volume parameter

SET in Utilities Reference

Setting and viewing the console search path

SEARCH in Utilities Reference


Adding a Segment to an Existing Volume


Prerequisites


Procedure

  1. At the server console prompt, type

    LOAD INSTALL <Enter>

  2. From the Installation Options menu choose Volume Options.

  3. Press <Insert> or <F3 > to view existing volume segments.

  4. Select a segment that has free space (no volume assignment) and press <Enter>.

    NOTE:  If no free space exists, you can't add a segment to a volume.

  5. To add this segment to an existing volume, select Make This Segment Part of Another Volume and press <Enter>.

    A list of existing volumes appears.

  6. Select the volume you want to add this segment to, and press <Enter>.

  7. Verify that the segment has been added in the Volume Disk Segment List. Then press <Esc>.

  8. To save volume assignments to disk, press <F10>.


Modifying the Size of a Volume

A volume can have multiple segments spanning multiple hard disks. This arrangement allows you to add a hard disk when you need to expand a given volume.

WARNING:  You can add segments to a volume without destroying data, but removing any segment from a volume destroys all of the data on the volume.

Keep the following requirements in mind if you plan to expand volumes:


Procedure

  1. At the server console prompt, type

    LOAD INSTALL <Enter>

  2. From the Installation Options menu choose Volume Options.

    All existing volumes are listed.

  3. Press <Insert>.

    The Volume Disk Segments List is displayed.

  4. Select the volume segment to modify and press <Enter>.

    The status of that segment is displayed.

  5. From the status display, determine what kind of modification you can do:

    • If the status of the volume segment is N (new), you can change the size of the segment. For instructions, see Step 6.
    • If the status of the volume segment is E (existing), you can't change the size of the segment.

      You can increase the volume size by adding new segments. (See Adding a Segment to an Existing Volume.)

    • If you want to reduce the size of the segment or volume, you must delete the entire volume with all segments, and then re-create the volume. See Deleting Volumes.

  6. Type the new volume size in megabytes (or a fraction thereof) on the Disk Segment Parameters screen.

  7. Press <Esc> twice; then press <F10> to save the settings.


Using a CD-ROM as a NetWare Volume

CDROM allows the NetWare server to use a CD-ROM disc as a NetWare volume.

WARNING:  Treat the CD-ROM as a read-only volume. Do not enable block suballocation or use file compression on the volume. These actions will corrupt the CD-ROM volume index data.

If you enable block suballocation or file compression by mistake, load the CDROM module, then use the CD command to rebuild the volume's index file. For command syntax, see CD in Utilities Reference or type CD HELP at the server console prompt.

NetWare 4 supports CD-ROMs that are mounted with the MAC and NFS name spaces.

The CDROM.NLM program supports High Sierra and ISO 9660 formats.

CDROM.NLM also supports HFS (Apple) file systems with an add-on module called HFSLFS.NLM, included with NetWare. To enable HFS support, load the HFSLFS module after loading CDROM.


Mounting a CD-ROM as a NetWare Volume

To mount a CD-ROM disc as a NetWare volume, follow these steps.


Prerequisites


Procedure
  1. At the server console prompt, load the disk driver by typing

    LOAD [path]disk_driver <Enter>

    Replace disk_driver with the name of the disk driver specified in the HBA documentation.

    You may be prompted to supply command line values such as a port or slot number for the HBA. Consult your HBA documentation for this information.

    For example, to load the disk driver for the Adaptec AHA-1522 SCSI HBA, type

    LOAD [path]AHA1520.DSK <Enter>

    LOAD [path]ASPICD.DSK <Enter>

    Some files may be automatically loaded. In this example, ASPITRAN.DSK is automatically loaded when AHA1520.DSK is loaded.

    If your disk driver autoloads the ASPITRAN.DSK driver, you need to load either one of the following: ASPICD.DSK or CDNASPI.DSK. In this example, we used ASPICD.DSK.

  2. Load the NWPA.NLM (NetWare Peripheral Architecture) driver by typing

    LOAD NWPA.NLM <Enter>

    This is the device-independent software that interfaces with the Media Manager.

    IMPORTANT:  CDROM.NLM will not load unless the NWPA.NLM interface has been loaded.

  3. Load CDROM.NLM by typing

    LOAD CDROM <Enter>

    NOTE:  When a CD-ROM volume is being mounted or a CD-ROM disc is being changed, CD-ROM devices might be deactivated. Do not be alarmed. This deactivation occurs because device configuration information is being updated.

  4. Mount the CD-ROM as a volume by typing

    CD MOUNT [object number] | [volume name] [name space] [/option] <Enter>

    NOTE:  The object number is the Media Manager object number (hereafter called the object number).

    Replace object number with the object number or replace volume name with the volume name of the CD-ROM disc. (You can use the CD DEVICE LIST or CD VOLUME LIST command to see the object numbers and volume names.)

    If appropriate, add name space support for the volume by replacing name space with /MAC or /NFS name space, or use both name spaces.

    If appropriate, replace option with any of the following

    • /R: Rebuilds the index file for a CD-ROM volume.
    • /G= group number: Sets the default volume group access rights while mounting the volume.
    • /X: Excludes a directory, at the root level, on the CD-ROM.
    • /I: Mounts the volume even if importing errors are found and not all files are available.
    • /dup: Checks for duplicate patterns on filenames in the same directory.
    • /all: Mounts all of the CD-ROM volumes. Because all is used as an option name, do not give a CD-ROM volume the name all.
    • /DNVC=number: Adds Direct Map caching to a CD-ROM volume when creating a new index during the mount process.

      This allows information from the CD-ROM to be cached on the hard disk, providing faster recall. Of the three caching options, Direct Map caching provides the fastest performance, but information may not remain in the cache as long as with the other options.

      The number is the number of megabytes that will be used as a nonvolatile cache. This space is created on the volume that holds the current indexes.

      When using this option, be sure enough space is available on the selected index volume.

      This option cannot be used with any other cache option.

    • /ANVC=number: Adds Set Associative caching to a CD-ROM volume when creating a new index during the mount process.

      This allows information from the CD-ROM to be cached on the hard disk, providing faster recall. Of the three caching options, Set Associative caching provides a medium level of performance.

      The number is the number of megabytes that will be used as a nonvolatile cache. This space is created on the volume that holds the current indexes.

      When using this option, be sure enough space is available on the selected index volume.

      This option cannot be used with any other cache option.

    • /LNVC=number: Adds Associative (LRU) caching to a CD-ROM volume when creating a new index during the mount process.

      This allows information from the CD-ROM to be cached on the hard disk, providing faster recall. Of the three caching options, Associative (LRU) caching provides slower performance, but information will remain in the cache longer than with the other options.

      The number is the number of megabytes that will be used as a nonvolatile cache. This space is created on the volume that holds the current indexes.

      When using this option, be sure enough space is available on the selected index volume.

      This option cannot be used with any other cache option.

    For example, to mount the NetWare_41 CD-ROM, type

    CD MOUNT NETWARE_41 <Enter>

    NOTE:  It may take several minutes to mount the volume, depending on the size of the CD-ROM and on the speed of your computer.

  5. (Optional) To mount the CD-ROM as a NetWare volume each time the server comes up, do the following:

    1. Edit your STARTUP.NCF file to add the disk driver.

      For example:

      LOAD [path]disk_driver

      LOAD [path]ASPICD.DSK

      LOAD [path] NWPA.NLM

      If your disk driver autoloads the ASPITRAN.DSK driver, load either one of the following: ASPICD.DSK or CDNASPI.DSK. In this STARTUP.NCF file example, we used ASPICD.DSK.

    2. Edit your AUTOEXEC.NCF by adding the following:

      LOAD CDROM

      CD MOUNT [object number] | [volume name] [name space] [option]


Additional Information
For more information about See

Using the CD command

CD in Utilities Reference, or type CD HELP at the console

Using CDROM.NLM

CDROM in Utilities Reference

Editing .NCF files

Creating or Editing a Server Batch (.NCF) File

Novell-certified device drivers for NetWare 4

Call 1-800-NETWARE (1-800-638-9273) or 1-801-222-6000


Administering a CD-ROM as a NetWare Volume

Using the CD console commands associated with CDROM, you can do the following:

For information on command syntax and for examples of these procedures, see CD in Utilities Reference.

You can also type

CD HELP <Enter>

at the server console prompt to get information.



Previous | Next