Storage Foundation 8.0 Administrator's Guide - Windows
- Overview
- Setup and configuration
- Function overview
- About the client console for Storage Foundation
- Recommendations for caching-enabled disks
- Configure basic disks (Optional)
- About creating dynamic disk groups
- About creating dynamic volumes
- Set desired preferences
- Using the GUI to manage your storage
- Working with disks, partitions, and volumes
- Adding storage
- Disk tasks
- Remove a disk from the computer
- Veritas Disk ID (VDID)
- General Partition/Volume tasks
- Mount a volume at an empty folder (Drive path)
- Expand a dynamic volume
- Shrink a dynamic volume
- Basic disk and volume tasks
- Automatic discovery of SSD devices and manual classification as SSD
- Volume Manager space allocation is SSD aware
- Dealing with disk groups
- Disk groups overview
- Delete a dynamic disk group
- Detaching and attaching dynamic disks
- Importing and deporting dynamic disk groups
- Partitioned shared storage with private dynamic disk group protection
- Fast failover in clustered environments
- iSCSI SAN support
- Settings for monitoring objects
- Event monitoring and notification
- Event notification
- Configuring Automatic volume growth
- Standard features for adding fault tolerance
- Performance tuning
- FlashSnap
- FlashSnap components
- FastResync
- Snapshot commands
- Dynamic Disk Group Split and Join
- Dynamic disk group join
- Using Dynamic Disk Group Split and Join with a cluster on shared storage
- Dynamic Disk Group Split and Join troubleshooting tips
- Fast File Resync
- Volume Shadow Copy Service (VSS)
- Using the VSS snapshot wizards with Microsoft Exchange
- Using the VSS snapshot wizards with Enterprise Vault
- Using the VSS snapshot wizards with Microsoft SQL
- Copy on Write (COW)
- Using the VSS COW snapshot wizards with Microsoft Exchange
- Using the VSS COW snapshot wizards with Microsoft SQL
- Configuring data caching with SmartIO
- Typical deployment scenarios
- About cache area
- Configuring SmartIO
- Frequently asked questions about SmartIO
- Dynamic Multi-Pathing
- Configuring Cluster Volume Manager (CVM)
- Configuring a CVM cluster
- Administering CVM
- Access modes for cluster-shared volumes
- Storage disconnectivity and CVM disk detach policy
- Unconfiguring a CVM cluster
- Command shipping
- About I/O Fencing
- Administering site-aware allocation for campus clusters
- SFW for Hyper-V virtual machines
- Introduction to Storage Foundation solutions for Hyper-V environments
- Live migration support for SFW dynamic disk group
- Preparing the host machines
- Configuring the SFW storage
- Administering storage migration for SFW and Hyper-V virtual machine volumes
- Optional Storage Foundation features for Hyper-V environments
- Microsoft Failover Clustering support
- Configuring a quorum in a Microsoft Failover Cluster
- Implementing disaster recovery with Volume Replicator
- Troubleshooting and recovery
- Using disk and volume status information
- Resolving common problem situations
- Commands or procedures used in troubleshooting and recovery
- Rescan command
- Repair volume command for dynamic mirrored volumes
- Additional troubleshooting issues
- Disk issues
- Volume issues
- Disk group issues
- Connection issues
- Issues related to boot or restart
- Cluster issues
- Dynamic Multi-Pathing issues
- vxsnap issues
- Other issues
- CVM issues
- Appendix A. Command line interface
- Overview of the command line interface
- vxclustadm
- vxvol
- vxdg
- vxclus
- vxdisk
- vxassist
- vxassist (Windows-specific)
- vxsd
- vxedit
- vxdmpadm
- vxcbr
- vxsnap
- vxscrub
- sfcache
- Tuning SFW
- Appendix B. VDID details for arrays
vxassist shrinkby
vxassist [-g<DynamicDiskGroupName>] shrinkby <VolumeName | DriveLetter |VmName|DrivePath> [<Length>]
Decreases an NTFS or unformatted volume (RAW) by the amount that is specified in [<Length>]. If the optional parameter [<Length>] is not used, then the command decreases the volume by maximum reclaimable bytes. Before using the command, review the prerequisites for shrinking a dynamic volume.
The following attributes apply:
-g<DynamicDiskGroupName> | Required only if the internal volume name or internal disk name is used. |
<VolumeName> | the path name of the volume, such as \Device\HarddiskDmVolumes\DG1\Volume1. |
<DriveLetter> | The drive letter of the volume. |
<VmName> | Internal name of the volume; requires the use of the -g option, such as -gDG1 Volume1. |
<DrivePath> | A volume that is mounted on an NTFS folder; it is indicated by a path to that folder. |
<Length> | The size by which you want to shrink the volume. Acceptable units are "S" for Sectors, "K" for KBs, "M" for MBs, "G" for GBs, "T" for TBs. Default unit is MB. For example, to reduce a 30 GB volume to 20 GB, provide 10G. If not specified, then vxassist querymax is used to obtain maximum reclaimable bytes for a given volume. vxassist querymax internally uses Microsoft APIs to query a volume. These APIs can sometimes return more reclaimable bytes than the actual available bytes. See www.support.microsoft.com/kb/976436 In such a case the shrinkby operation may fail with the following error: V-76-42261-7777: Shrink volume Failed: No room to shrink. To resolve this issue, run the shrinkby operation again or specify a size that is lower than the value that is obtained from the vxassist querymax command. |
Note:
The shrink volume operation is disabled during a reclaim storage operation for thin provisioned disks. The shrink volume operation is enabled when the reclaim storage operation has completed.
Note:
During the volume shrink operation, if the deport disk group operation is performed, either by the user or because of a failover, then the volume shrink operation is canceled.
Examples
vxassist shrinkby J: 100
The above command shrinks volume J by 100 MB. This command supports only NTFS or unformatted volumes. An unformatted volume's file system type is shown as "RAW."
More Information