Volume shrink fails to get maximum reclaimable bytes in Veritas Enterprise Administrator (VEA)

book

Article ID: 100015981

calendar_today

Updated On:

Description

Error Message

VEA GUI:
V-39-58659-20 Error message not found.  Error code 0xe5230014

VxISIS log:

Cause

Optimize drives service (defragsvc) is not enabled on Windows 2012/R2.
Disk Defragmenter service (defragsvc) is not enabled on Windows 2008/R2.

The following error is observed in DiskPart when trying to run "shrink querymax"

DISKPART> shrink querymax
DiskPart has encountered an error: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
See the System Event Log for more information.

Resolution

To resolve any of these issues, restart VDS by using the following commands from a command prompt (Run as Administrator), and then try again:
net stop vds
taskkill /f /im vxvds.exe
taskkill /f /im vxvdsdyn.exe
net start vds
vxassist refresh

Other options:

  • Set Optimize drives service (defragsvc) to Manual and start the service on Windows 2012/R2.
  • Disk Defragmenter service (defragsvc) to Manual and start the service on Windows 2008/R2.

Issue/Introduction

Volume shrink fails to get maximum reclaimable bytes in Veritas Enterprise Administrator (VEA)
Error persists after restarting VDS per Known issue documented in the Release Notes.
Some operations related to shrinking or expanding a dynamic volume do not work
The following issues are observed while performing volume shrink or volume expand related tasks on a dynamic volume:
  • While shrinking (decreasing) or expanding (increasing) a dynamic volume's size, using the Shrink Volume and Expand Volume dialog boxes, respectively, you can click the Max Shrink and Max Size buttons to know the maximum amount by which a volume can be shrunk or expanded. These buttons do not work as expected for both the operations because of a Microsoft Virtual Disk Service (VDS) error.
  • While performing the vxassist shrinkby or vxassist querymax operation for a newly-created volume, the operation fails with the "Invalid Arguments" error.
  • While attempting the volume shrink operation, the "Invalid Arguments" error occurs and the Event Viewer displays a VDS provider failure error.
2998422
2411143
2405311