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
  1. Add the new drives.
  2. 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.
  3. Boot the filer if shelves were added, otherwise go to step 4.
  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)
  5. Issue the vol offline command to vol1. (vol offline vol1).
  6. 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.
  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.
  8. 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.
  9. 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)
  10. 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 )
  11. Rename vol0 to another name. (vol rename vol0 mydata)
  12. Rename vol1 to vol0 (vol rename vol1 vol0)
  13. Restore the access that was denied in step 7.
  14. 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.

  1. Last night I destroyed vol1 and recreated it:
  2. 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.
  3. This morning, after the copy was complete, I switched the volumes

UW Home | IST Home | Last updated by Kevin Scully July 18, 2001.