Information required for using the snapdrive storage resize command

Contributors netapp-ivanad Download PDF of this page

There is some information that you need to supply before you can use the snapdrive storage resize command. This information helps you in using the command correctly.

Requirement Argument

Decide whether you want to increase the size of a disk or volume group and enter that entity’s name with the appropriate argument.

Disk group (-dg file_spec) or volume group (-vg file_spec)

name of the disk or volume group

Decide how you want to increase the storage size. Remember the following when you use this command:

  • Use the -growby option to increase the entity size by the bytes specified in the size argument.

  • Use the -growto option to increase the entity size so that the new total size is the number of bytes specified in the size argument.

  • Use the -addlun option to increase the entity size by adding a new, internally-generated LUN to the underlying disk group. If you do not use this argument, SnapDrive for UNIX increases the size of the last LUN in the disk group to meet the byte size specified in either the -growby option or the -growto option.

Specify the number of bytes by which you want to increase the storage (-growby size)

number_of_bytes

Specify the size in bytes that you want the storage to reach (-growto size)

number_of_bytes

Tell SnapDrive for UNIX to increase the size by adding a new LUN to the disk group (-addlun)

==

Tell SnapDrive for UNIX to increase the size with or without creating a space reservation -reserve | -noreserve

Optional: It is recommended that you use the default igroup for your host instead of supplying an igroup name.

Igroup name (-igroup)

ig_name

-fstype

type

-vmtype

type

Optional: Specifies the type of file system and volume manager to be used for SnapDrive for UNIX operations.