lun maxsize

Display the maximum possible size of a LUN on a given volume or qtree.

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

This command returns the maximum size of LUNs for different OS types in a volume or qtree. The command also includes possible maximum size for LUNs with Snapshots or without Snapshots. You can specify the path of the volume or qtree to determine the maximum size of a LUN that you want to create within that volume or qtree.

If you do not specify a path, the command returns the maximum LUN size for each OS type for all volumes and qtrees in a cluster.

The available space in a volume can change over time which means that the size reported by lun maxsize can change as well. In addition, the maximum LUN size allowed in a lun resize command may be less than the size reported by lun maxsize.

Parameters

{ [-fields <fieldname>, ...]
If you specify the -fields <fieldname>, ... parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify.
| [-instance ]}
If you specify the -instance parameter, the command displays detailed information about all fields.
[-vserver <Vserver Name>] - Vserver Name
Specifies the Vserver.
{ [-path <qtree path>] - Volume or Qtree Path
Specifies the path of the root volume or qtree. Examples of correct LUN paths are /vol/vol1/lun1 and /vol/vol1/qtree1/lun1.
| [-volume <volume name>] - Volume Name
Specifies the volume that contains the LUN you want to get the maximum size for.
[-qtree <qtree name>]} - Qtree Name
Specifies the qtree that contains the LUN you want to get the maximum size for.
[-ostype | -t {vmware|hyper_v|windows_2008|windows_gpt|windows|linux|xen|solaris|solaris_efi|hpux|aix|netware|openvms}] - OS Type
Specifies OS type of the LUN. The OS types are:
  • aix - the LUN stores AIX data.
  • hpux - the LUN stores HP-UX data.
  • hyper_v - the LUN stores Windows Server 2008 or Windows Server 2012 Hyper-V data
  • linux - the LUN stores a Linux raw disk without a partition table.
  • netware - the LUN stores NetWare data.
  • openvms - the LUN stores Open-VMS data
  • solaris - the LUN stores Solaris raw disk in a single-slice partition.
  • solaris_efi - the LUN stores Solaris_EFI data.
  • vmware - the LUN stores VMware data
  • windows - the LUN stores a raw disk type in a single-partition Windows disk using the Master Boot Record (MBR) partitioning style.
  • windows_gpt - the LUN stores Windows data using the GUID Partition Type (GPT) partitioning style.
  • windows_2008 - the LUN stores Windows data for Windows 2008 or later systems.
  • xen - the LUN stores Xen data
[-complete-ss-reserve <size>] - With Complete Snapshot Reserve
Shows the maximum size possible of a LUN if you have the complete Snapshot reserve enabled.
[-ss-reserve <size>] - With Snapshot Reserve
Shows the maximum size possible of a LUN if you have the Snapshot reserve enabled.
[-without-ss-reserve <size>] - Without Snapshot Reserve
Shows the maximum size possible of a LUN if you have no Snapshot reserve enabled.

Examples

cluster1::> lun maxsize -volume vol0 -ostype netware
Virtual                                       Without    With SS   Complete
Server     Volume       Qtree        OS Type  SS Reserve Reserve   SS Reserve
---------- ------------ ------------ -------- ---------- --------- ----------
vs0        vol0         ""           netware        45MB      45MB       45MB

Displays the maximum size of a LUN for the OS type netware.

cluster1::> lun maxsize
                                                 Without   With SS   Complete
Vserver    Volume       Qtree        OS Type  SS Reserve   Reserve SS Reserve
---------- ------------ ------------ -------- ---------- --------- ----------
vs1        vol1         ""           hyper_v     172.6MB   172.6MB    172.6MB
                                     windows_2008
                                                 172.6MB   172.6MB    172.6MB
                                     windows_gpt 172.6MB   172.6MB    172.6MB
                                     windows     172.6MB   172.6MB    172.6MB
                                     linux         178MB     178MB      178MB
                                     xen           178MB     178MB      178MB
                                     solaris       178MB     178MB      178MB
                                     solaris_efi   178MB     178MB      178MB
                                     hpux          178MB     178MB      178MB
                                     aix           178MB     178MB      178MB
                                     netware       178MB     178MB      178MB
                                     openvms       178MB     178MB      178MB
12 entries were displayed.