Skip Navigation Links | |
Exit Print View | |
Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
1. User Commands (Man Pages Section 1)
2. Maintenance Commands (Man Pages Section 1M)
3. Library Functions (Man Pages Section 3)
4. Library Functions (Man Pages Section 3X)
5. File Formats (Man Pages Section 4)
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 Sun QFS or SAM-QFS file sys- tems. 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 Sun QFS or SAM-QFS 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 Sun QFS and SAM-QFS file systems and most Sun QFS and SAM-QFS 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 SSun QFS and SAM-QFS 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 Sun QFS and SAM-QFS environments. SEE ALSO load(1M), unload(1M), mcf(4), sam-robotsd(1M)