beautypg.com

Set partition – HP StoreEver ESL G3 Tape Libraries User Manual

Page 244

background image

set partition

Description of Command Function
Sets the specified partition to the online or offline state.
Command Syntax

set partition online|offline [force]

path: /set/partition online|offline [force]
Command Parameters (Required)
Pn – The partition number is specified using a logical number, is 1-based.
Command Options
force – allows you to skip the confirmation prompt that would otherwise require you to enter “yes”
to confirm taking the partition offline, optional.
Examples

Result

Command

Sets partition 1 to online (unless the robot is offline, for
example if the door is open)

set partition online p1

Sets partition 2 to offline

set partition offline p2

Set partition 2 to offline without a confirmation prompt

set partition offline p2 force

/>set partition offline p1

Partition 'LL0' is going to be taken offline.
Changing the partition mode to offline will cause robotics actions against
this partition to fail, please ensure all backup applications are not
currently using this partition.

Enter 'y' to continue or 'n' to skip [default='n']: y
Setting logical partition 'LL0' offline!

/>set partition online p1 force

Setting logical partition 'LL0' online!

/>set partition offline p1 force

Setting logical partition 'LL0' offline!

/>set partition online p1

Partition 'LL0' is going to be taken back online.
Changing the partition mode to online will allow robotics actions against
this partition to complete, and inform the backup applications of any changes.

Enter 'y' to continue or 'n' to skip [default='n']: y
Setting logical partition 'LL0' online!

244 CLI Guide