HP MSA 1040 HP MSA 1040 CLI Reference Guide (762782-001, March 2014) - Page 100
expand volume, command. The unit
View all HP MSA 1040 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 100 highlights
expand volume Description Expands a standard volume. Expansion is restricted to the space available in the vdisk containing the volume. Volume sizes are aligned to 4-MB boundaries. When a volume is created or expanded, if the resulting size would be less than 4 MB it will be increased to 4 MB; if the resulting size would be greater than 4 MB it will be decreased to the nearest 4-MB boundary. If insufficient space is available for expansion on the vdisk, first expand the vdisk by using expand vdisk. To expand a master volume: 1. Delete all of its snapshots by using delete all-snapshots. 2. Convert it to a standard volume by using convert master-to-std. 3. Expand the standard volume by using expand volume. 4. Convert the expanded volume to a master volume by using convert std-to-master. Syntax To expand by a specific size: expand volume size size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB] volume To expand to the maximum size: expand volume size max volume Parameters size size[B|KB|MB|GB|TB|KiB|MiB|GiB|TiB] Specifies the size using the current base, as shown by the show cli-parameters command. The unit can be specified as follows: • If base 2 is in use: B (bytes), KiB (kibibytes), MiB (mebibytes), or GiB (gibibytes) • If base 10 is in use: B (bytes), KB (kilobytes), MB (megabytes), or GB (gigabytes) If no unit is specified, the unit is 512-byte blocks. size max Expands the volume to fill the available space on the vdisk. volume The name or serial number of the volume to expand. For volume syntax, see "Command syntax" (page 20). Example Expand standard volume V1 by 100 GB: # expand volume size 100GB V1 Success: Command completed successfully. - Expansion of volume V1 was successful. (2012-09-19 10:16:05) See also • expand vdisk • show vdisks • show volumes 100