partition resize

Change the size of an application partition.

Syntax

partition resize -slot <number> -size <bytes> {-partition <name> | -all} [-force]

Argument(s) Shortcut Description
-all -a Resize all partitions on the backup HSM.
-force -f Force the action without prompting for confirmation.
-partition <name> -par The name of the affected partition.
-size <bytes> -si The desired size (in bytes) of the partition.
-slot <number> -sl The slot where the partition is located.

Example

To see information about a partition/slot, go to that slot using slot set and then use the partition showinfo command.

lunacm:>partition archive list -slot 2
 
        HSM Storage Information for slot 2:
 
          Total HSM Storage Space: 16252928
          Used HSM Storage Space:  206732
          Free HSM Storage Space:  16046196
          Allowed Partitions:      20
          Number Of Partitions:    3
 
        Partition list for slot 2
 
          Number of partition: 2
 
          Name:                      backup1
          Total Storage Size:        132
          Used Storage Size:         0
          Free Storage Size:         132
          Number Of Objects:         0
 
          Name:                      backup2
          Total Storage Size:        132
          Used Storage Size:         0
          Free Storage Size:         132
          Number Of Objects:         0
 
Command Result : No Error
 
 
 
lunacm:>slot set slot 2
 
        Current Slot Id: 2 (Luna G5 6.10.9 (PED) Backup Device)
 
Command Result : No Error
 
 
 
lunacm:>hsm login
 
        Please attend to the PED.
 
Command Result : No Error
 
 
 
lunacm:>partition resize -slot 2 -size 100000 -partition backup1
 
        This command will resize the user partition(s).
        Are you sure you wish to continue?
 
        Type 'proceed' to continue, or 'quit' to quit now ->proceed
 
Command Result : No Error
 
 
 
lunacm:>partition archive list -slot 2
 
        HSM Storage Information for slot 2:
 
          Total HSM Storage Space: 16252928
          Used HSM Storage Space:  306600
          Free HSM Storage Space:  15946328
          Allowed Partitions:      20
          Number Of Partitions:    3
 
        Partition list for slot 2
 
          Number of partition: 2
 
          Name:                       backup1
          Total Storage Size:         100000
          Used Storage Size:          0
          Free Storage Size:          100000
          Number Of Objects:          0
 
          Name:                       backup2
          Total Storage Size:         132
          Used Storage Size:          0
          Free Storage Size:          132
          Number Of Objects:          0
 
Command Result : No Error