Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Physically moving volumes

About physically moving volumes  Top

You can physically move volumes from one filer to another. You might want to move a volume to a different filer to perform one of the following tasks:

You can physically move disks, disk shelves, or loops to move a volume from one filer to another. You need the manual for your disk shelf to move a volume.

The following terms are used:

Moving a volume  Top

To physically move a volume, complete the following steps.

Step

Action

1

Enter the following command at the source filer to locate the disks that contain the volume:

vol status vol_name -r

Result

The locations of the data and parity disks in the volume appear under the volume name on the same line as the labels Data and Parity.

2

Place the volume offline and follow the instructions in the disk shelf hardware guide to remove the disks from the source filer.

3

Halt and turn off the destination filer.

4

Install the disks in a disk shelf connected to the destination filer.

5

Turn on and boot the destination filer.

Result

When the destination filer boots, it places the foreign volume offline. If the foreign volume has the same name as an existing volume on the filer, the filer renames it volume_name(1), where volume_name is the original name of the volume.

Caution
If the foreign volume is incomplete, repeat Steps 1 and 2 to add the missing disks. Do not try to add missing disks while online--doing so causes them to become hot spare disks.

6

If the filer renamed the foreign volume because of a name conflict, enter the following command to rename the volume:

vol rename vol-name new-name

vol-name is the name of the volume you want to rename.

new-name is the new name of the volume.

Example

The following command renames the users(1) volume as newusers:

vol rename users(1) newusers
7

Enter the following command to bring the volume online in the new filer:

vol online vol-name 

vol-name is the name of the volume.

Result:

The following events occur:

  • The volume is online in its new location.
  • Entries in the /etc/exports file and shares that refer to the volume become incorrect.
  • The in-memory information about active exports gets updated automatically, and clients continue to access the exports without problems.
8

Enter the following command to confirm that the added volume came online:

vol status vol-name 

vol-name is the name of the volume.

9

If you have...

Then...

An NFS-only filer

Go to Step 11.

A CIFS-only or multiprotocol filer

Create shares that refer to the new volume to enable clients to access it, then go to Step 10.

10

If you have...

Then...

A CIFS-only filer

You are done.

A multiprotocol filer

Go to Step 11.

11

Update the system /etc/exports file with the new volume.

12

Run exportfs.

13

Add the appropriate mount point information to the /etc/fstab or /etc/vfstab file on clients that mount volumes from the filer.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments