hit counter script

Locking A Volume - IBM XIV User Manual

Storage system
Hide thumbs Also See for XIV:
Table of Contents

Advertisement

Locking a Volume

Locks a volume so that it is read-only.
Parameters:
This command locks a volume so that hosts cannot write to it.
A volume that is locked is write-protected, so that hosts can read the data stored
on it, but cannot change it. In addition, a locked volume cannot be formatted or
resized. In general, locking a volume prevents any operation (other than deletion)
that changes the volume's image.
This command succeeds when the volume's lock state is already set to the one the
user is trying to apply, while leaving it in the same lock state.
The lock states of master volumes are set to unlocked when they are created.
The lock states of snapshots are set to locked when they are created.
In addition to the lock state, snapshots also have a modification state. The
modification state is a read-only state (which cannot be changed by the user
explicitly) and it is initially set to unmodified when the snapshot is created. The first
time a snapshot lock state is set to unlocked, the modification state of the snapshot
is changed to modified, and it is never changed thereafter.
If applied on a volume that is part of an IBM Hyper-Scale Mobility relation, the
command has to be acknowledged by both source and destination volumes.
Otherwise, a completion code is returned (see below).
Example:
Output:
Access Control:
52
IBM XIV Storage System User Manual
User Category
Technicians
vol_lock vol=VolName
Name
Type
vol
Object name
vol_lock vol=DBVolume
Command executed successfully.
User Category
Storage administrator
Storage integration administrator Allowed
Permission
Disallowed
Description
Name of the volume to
lock.
Permission
Allowed
Mandatory
Y
Condition
N/A
N/A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents