beautypg.com

Initialize a device, Enable and disable block storage, Show media commands – HP VMA-series Memory Arrays User Manual

Page 186

background image

186

HP VMA SAN Gateway User’s Guide

AM456-9026A

Initialize a Device

The

media init

command initializes a device, such as an array.

WARNING!

Using the

force option of the media init command (media init

force) destroys the existing data on an array. You should not use this command on a
previously initialized array without first backing up the data on the array.

media init device type [block] [name ] [force]

Command Syntax

Enable and Disable Block Storage

[no] media [block] id enable

Enable or disable a specified storage device. The

can be found in the output of the

show

media all

or

show media block id all

command.

Caution:

When a media device is disabled, all applications using that device immediately stop using

it, and space from other media devices is allocated for them. This may be a disruptive operation.

Show Media Commands

This section provides the syntax for

show media

commands, along with an explanation of the

functionality of each command.

Show All Media Devices

show media

Display all media devices that can be used by the current HP VMA SAN Gateway (node or module)

as block storage or caching media. This command shows a summary line for each device location,

giving the size and status of that device. Media used by the system for other purposes are not shown.

device

The

parameter indicates the array to be initialized, and is a

string of the form:

ata-

VIOLIN_MEMORY_ARRAY_xxxxxxxxxxxxxx

type

The

type

indicates

block

(vSHARE) storage.

name

The name parameter is used to name the container. The default is to
reuse the existing name/serial number.

force

The

force

parameter is used to force initialization of an array that

has already been initialized.

This manual is related to the following products: