Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 1m: Maintenance Commands
Release 6.1.1
E70305-03

NAME

set_state - Set device state

SYNOPSIS

∕opt∕SUNWsamfs∕sbin∕set_state [ -w ] state eq

AVAILABILITY

SUNWsamfs

DESCRIPTION

set_state will change the state of a removable media device eq to state. If -w is specified, the command will wait for the operation to complete before terminating. Note: set_state cannot be used to change a file system partition's allocation state.

The valid states are:

on

The device is usable by StorageTek QFS or Oracle HSM file systems. A device moving to the on state will be unloaded if there is media mounted.

idle

The device will not be selected for use by either StorageTek QFS or Oracle HSM file systems. Any existing activity will be allowed to complete. Once there is no more activity, the device will be placed in the off state.

unavail

The device is unavailable for use by StorageTek QFS and Oracle HSM file systems and most StorageTek QFS and Oracle HSM commands. The only valid commands for a device in this state are load (1m), unload (1m), and set_state (1m). A device moving to the unavail state will be unloaded if there is media mounted.

off

The device is unusable by StorageTek QFS and Oracle HSM file systems. A device moving to the off state from on, idle or unavail will be unloaded if there is media mounted. The only state a down device may be moved to is off.

FILES

mcf

The configuration file for StorageTek QFS and Oracle HSM environments.

SEE ALSO

load (1m), unload (1m), mcf (4), sam-robotsd (1m)