Sunday, October 17, 2010

Moving the Root Volume in NetApp

When you move the root volume you need to do the following:

* Create a new aggregate on the array for that root volume.
* Copy the root volume to the new aggregate.
* Destroy the original root volume and its containing aggregate.
* Check th eInstallation Requirements, Quick Start, and Reference Guide to determine the minimum root volume size for your system model.


Steps:
1. Check the output from sysconfig -r to ensure that adequate size for the root volume is available on the storage array where you want the root volume.

2. Create a new aggregate for the new root volume. This command creates an aggregate to contain a FlexVol root volume:
cherry-top# aggr create aggr_new -r 14 -T FCAL -r raid_dp -d 0a.23 0a.24 0a.25

3. Create a FlexVol for the root volume:
cherry-top# vol create vol0_new aggr_new -s 30g

4. Vol copy or ndmpcopy to copy the root volume to the new root volume:
yellow# ndmpcopy /vol/vol0 /vol/vol0_new
if its a volcopy then restrict it to prevent data access while you are moving the root volume:
cherry-top# vol restrict vol0_new

5. Specify that the volume named volroot will become the root volume after the next reboot:
cherry-top# vol options vol0_new root

6. Reboot the system and check the system integrity:
cherry-top# reboot


7. Check the system to ensure vol options
cherry-top# vol status


8. Offline/destroy the original root volume and destroy the aggregate
cherry-top# vol offline vol0
cherry-top# vol destroy vol0
cherry-top# aggr offline aggr_old
cherry-top# aggr destroy aggr_old

Sunday, October 10, 2010

Error message: Ndmpcopy: Authentication failed for source

There are several reasons for ndmpcopy to fail:

•The password for both the source and destination filer are not given:
ndmpcopy -sa root: -da root: filer1:/vol1 filer:/vol1

•Authentication depending on the authentication type: challenge or text. With Data ONTAP 6.1 and earlier, an authentication error will occur if ndmpcopy tries to authenticate using md5.

•The source pathname is invalid. The following is an output from the 'ndmpcopy' command when the source path name is invalid:

Solution:
1.Set the options ndmpd.authtype to "challenge" on the source and destination. Data ONTAP 6.1 and earlier versions require ndmpcopy authentication to be set to TEXT.

2.Find the encrypted password for a user, using the following command:
ndmpd password ndmpuser

Find the source password:
fas270cl1-ca-n2> ndmpd password ndmpuser
password RtafEaSBeZEP31ws

Find the destination password:
fas270cl1-ca-n1> ndmpd password ndmpuser
password bHzZT0u3VFnIAeKD

3.Now retry the NDMP copy, specifying the passwords on the host and destination filers:

ndmpcopy -sa root:[passwd] -da root:[passwd] filer1:/vol1 filer2:/vol1