Saturday 28 April 2012

Vol Copy

1. Vol Copy

volcopy is a NetApp ONTAP command that copies all data, including snapshots, from one volume to another.

1.1    Prerequisite

  • The source and destination volumes must either both flexible volumes or both traditional  volumes.
  • The source volume must be online and the destination volume must be offline/restricted.
  • If data is copied between two filers, each filer must be defined as a trusted host of the other filer.That is, In the /etc/hosts file we need to give partner filer name and IP-address. if we did't mention properly it will display this error "Permission denied" 
  • The usable disk space of the destination volume must be greater than or equal to the usable disk space of the source volume. 

 1.2 How to use the volcopy command

Make sure that the above mentioned pre-requisites are completed.  

Syntax:

vol copy start [ -S | -s snapshot ] source destination

If the -S flag is used, the command copies all snapshots in the source volume to the destination volume.

To specify a particular snapshot to copy, use the -s flag followed by the name of the snapshot.

If neither the -S nor -s flag is used in the command, the filer automatically creates a distinctively-named snapshot at the time the vol copy start command is executed and copies only that snapshot to the destination volume.

The source and destination volumes must either both be traditional volumes or both be flexible volumes.

The vol copy command will abort if an attempt is made to copy between different volume types.

The source and destination volumes can be on the same filer or on different filers. If the source or destination volume is on a filer other than the one on which the vol copy start command was entered, specify the volume name in the filer_name:volume_name format.

Each volcopy start command generates two volume copy operations: one for reading data from the source volume and one for writing data to the destination volume. Each filer supports up to four simultaneous volume copy operations.

Example:

vol copy start [ -S | -s snapshot ] source destination

How to monitor the status of vol copy operation

Syntax:

vol copy status [operation_number]

Displays the progress of one or all active volume copy operations.

The operations are numbered from 0 through 3.If no operation_number is specified, then status for all active vol copy operations is provided.

1.3 Controlling the speed of Volcopy

Syntax:

vol copy throttle [ operation_number ] value

This command controls the performance of the volume copy operation. The value ranges from 10 (full speed) to 1 (one-tenth of full speed).The default value is maintained in the filer's vol.copy.throttle option and is set 10 (full speed) at the factory.The performance value can be applied to an operation specified by the operation_number parameter.

If an operation number is not specified, the command applies to all active volume copy operations.




Please write your valuable comments, about my blogspot.

Friday 13 April 2012

Deduplication

Deduplication

  • Deduplication in license future in netapp.
  • Deduplication in an elimination of redundant data in volume
  • Deduplication deletes the multiple same data (words) and make only the unique data is stored. So some repeated data deletion provide some space to storage 
  • Deduplication find duplicate 4KB blocks anywhere in the volume and delete duplicate and stores a unique in 4KB.

License

Deduplication need two license
  1. First nearstore_options license must installed
  2. Second Asis license install.

Netapp Deduplication commands:

license add for sis


Enable Asis for volume


Before start Asis check the volume total spaces and free spaces


Start Asis for /vol/vol1
If your volume already contains data means, now you start the Asis


 After you started the deduplication sis will added in volume


 After Asis started check the saved spaces


 This is default sis schedule for volume


 We change the default sis schedule for the volume


 We can off the sis process




Please write your valuable comments, about my blogspot.