Adding new shelf to scifile
Introduction
In March, 2002, Science purchased a new shelf of 36GB disks. They
wanted to move the existing data from the shelf of 18GB disks to the
new shelf with the minimum amount of disruption to their users.
NOW article - Solution ID: ntapcs301
Here are the steps outlined in a NOW knowledgebase article about moving
the root volume:
Solution ID: ntapcs301
Title: Move root volume - NetApp filer
- Add the new drives.
- If adding shelves, halt the filer, attach the shelves, set the new
shelves ID's to a number between 0 and 7. The shelf ID numbers must be
unique to the existing shelves on the Fibre Channel loop.
- Boot the filer if shelves were added, otherwise go to step 4.
- Create a volume on the new drives that is equal to or larger than
the existing root volume vol0. Please refer to the vol manual page for
additional options. (vol create vol1 3)
- Issue the vol offline command to vol1. (vol offline vol1).
- If running Data ONTAP 5.3.7 or earlier, reboot the filer to bring
the volume offline. If running Data ONTAP 6.0 or later, go to step 7.
- Since vol copy does a level 0 copy, any writing to the root volume
by clients after starting vol copy, will not be migrated to the new
root volume.
Either disable CIFS, NFS, FTP or set permissions on exports and shares
so that clients access vol0 have read-only permission.
- Begin migrating the data to the new volume using the vol copy
command (vol copy start vol0 vol1)
Note: Please refer to the System Administration Guide for vol copy
setup and requirements.
- Once the vol copy is complete, make vol1 the root volume. (vol
options vol1 root) If the filer says that the volume is not online,
online the volume. (vol online vol1), then (vol options vol1 root)
- Reboot the filer.
When the filer is up again, vol1 will be the root volume. Although
vol0 will no longer be root, it will still be capable of serving data.
( Refer to step 7 )
- Rename vol0 to another name. (vol rename vol0 mydata)
- Rename vol1 to vol0 (vol rename vol1 vol0)
- Restore the access that was denied in step 7.
- Reboot to confirm no mistakes were made during the reconfiguration.
scifile specific commands
These are the commands I ran to switch the volumes on scifile.
- Last night I destroyed vol1 and recreated it:
- vol destroy vol1
- vol create vol1 6@34
- At 4am (or so), I terminated cifs (there were active sessions) and
started the copy. I forgot to use the -S option to copy the snapshots.
- cifs terminate -t1
- vol offline vol1
- vol copy start vol0 vol1
- This morning, after the copy was complete, I switched the volumes
- vol online vol1
- vol options vol1 root
- reboot (this restarted cifs)
- cifs terminate -t 1
- vol rename vol0 olddata
- vol rename vol1 vol0
- cifs restart
- reboot (to confirm configs were ok)
UW Home | IST Home | Last updated by Kevin Scully July 18, 2001.