Table of ContentsLibraryView in Frames

The disk resize command

The disk resize command increases or decreases the disk by a user-specified size, as long as that figure falls within the SnapDrive-specified minimum and maximum values.

Syntax for this command is:

sdcli disk resize [-m MachineName] {-p LUNpath | -d MountPoint} -z DriveSizeIncrement

DriveSizeIncrement is the amount by which you want to increase or decrease the size of the disk. When decreasing the size of the disk, use a dash (-) before the amount to indicate a negative value. You can specify a postfix of MB, GB, or TB. If no postfix is specified, the default is MB.

Examples

sdcli disk resize -d G: -z -500

The preceding example shrinks the size of the disk mapped to "G" by 500 megabytes.

sdcli disk resize -d P: -z 1GB

The preceding example increases the LUN mapped to “P:” by 1 GB. (In practice, SnapDrive expands the disk by the amount specified by -z, plus a certain increment required for system overhead.)

sdcli disk resize -d \\?\Volume{f1816466-f1d8-4b96-b547-2ce12415aee4}\ -z +100

The preceding example increases a CSV disk by 100 MB using the CSV volume name.