To reclaim a volume and destroy aggregate, Follow below procedure:
1. First put the volume offline:
fas01> vol offline vol2
Mon Aug 31 00:59:55 GMT [wafl.vvol.offline:info]: Volume 'vol2' has been set temporarily offline
Volume 'vol2' is now offline.
fas01> vol status
Volume State Status Options
vol0 online raid0, flex root, no_atime_update=on,
create_ucode=on,
convert_ucode=on,
maxdirsize=2621
vol1 online raid_dp, flex create_ucode=on,
convert_ucode=on
vol2 offline raid4, flex
fas01> Mon Aug 31 01:00:00 GMT [kern.uptime.filer:info]: 1:00am up 5:29 0 NFS ops, 0 CIFS ops, 34 HTTP ops, 0 FCP ops, 0 iSCSI ops
2. Next destroy the volume by running vol destroy command:
fas01> vol destroy vol2
Are you sure you want to destroy this volume? yes
Mon Aug 31 01:01:10 GMT [wafl.vvol.destroyed:info]: Volume vol2 destroyed.
Volume 'vol2' destroyed.
fas01>