Tuesday, September 7, 2010

Error during vol copy: read socket received eof


Symptoms
The following error occurs while attempting a "vol copy" on a filer that has flexible volumes and different aggregates:
    read socket received eof
Error during vol copy: read socket received eof

Cause of this problem
The error occurs when the source volume capacity is full (at 100%) and the snap reserve is set to 0 percent.

Solution
Before following the steps below, verify that the source volume is online. The destination volume must be restricted.
  1. Increase the size of the source volume.

    For example, to increase vol size by 100 G, issue the following command:

     vol size source_volume +100g 

    Note:
    Be sure not to exceed the destination. Use the df command to check.
  2. Set the snap reserve of the source volume to 20 percent:

    snap reserve source_volume 20 

    The source_volume capacity is now 80 percent.
  3. Issue the "vol copy" command:

    vol copy start -S source_volume destination_volume

1 comment: