This section contains procedures for configuring and managing volumes.
Note: Although you can expand volume sizes and the RAID groups assigned to them after you create an initial multiple volume configuration, you cannot split or shrink volumes after you create them.
You can create up to 23 volumes on a filer. Each volume must contain at least two disks.
To create a new volume, at the system prompt enter
vol create newvol n
where newvol is the name for the new volume and n is the number of disks to use. You must have at least n spare disks available.
After you create a new volume on a CIFS filer, you must create shares that refer to the new volume to enable clients to access it.
After you create a new volume on an NFS filer, you must
To add more disks to an existing volume, enter
vol add vol n
where vol is the name of the volume and n is the number of disks to be added.
To determine volume status, such as size, options, disk assignments, and so on, enter
vol status volume
To view the RAID group and individual disk information for a particular volume, enter
vol status -r volume
To view the RAID group and individual disk information for all volumes, enter
vol status -r
To set various volume options, enter
vol options volume option value
After you use the SnapMirrorTM feature to mirror data to a mirror, you can convert the mirror into a regular volume so that clients can write data to the volume. Enter the following command syntax to convert a mirror to a regular volume:
vol options volume snapmirrored off
Although you can convert a mirror into a regular volume, you cannot set the snapmirrored option to on to convert a regular volume into a mirror. To start using a volume as a mirror, follow the instructions in Chapter 19, "Data Replication Using SnapMirror," to mirror data to the volume.
Caution: After you convert a mirror into a regular volume, the filer stops using it for data replication. If you want to use the volume as a mirror again, you must take the volume off-line and follow the instructions in Chapter 19, "Data Replication Using SnapMirror," to restart the process of replicating data into the volume.
To remove a volume from active use upon next reboot, enter
vol offline volume
To reactivate an off-line volume, enter
vol online volume
To add a foreign volume, that is, a volume that was previously installed on another filer, you move the disks that contain the volume from the old filer to the destination filer.
Complete the following steps to add a foreign volume.
To destroy a volume, turning its disks back into spare disks, follow these steps.
| Step | Action |
|---|---|
| 1 |
To deactivate the volume, enter
vol offline volume |
| 2 | Enter the reboot command to reboot the filer. |
| 3 |
To destroy the volume, enter
vol destroy volume |
To rename a volume, follow these steps.
| Step | Action |
|---|---|
| 1 |
Enter
vol rename oldvolume newvol |
| 2 | Update the /etc/exports file and run exportfs. |
| 3 | Update any CIFS shares that refer to the volume. |
A volume might fail because of an inconsistent directory or a double-disk failure. If the system does not reboot after a volume failure, take the volume off-line, as follows:
If the failed volume was the filer's root volume, you must designate another volume as the new root volume.
Copyright © 1999, Network Appliance, Inc. All rights reserved.
Part No. 210-02166
File: disk5.htm
Last updated: 02/24/99 15:46:00