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

NAME

samu - StorageTek QFS and Oracle HSM operator utility

SYNOPSIS

samu [-d c] [-r i] [-c string] [-f cmd-file]

AVAILABILITY

SUNWqfs

SUNWsamfs

DESCRIPTION

samu is a full screen operator interface for StorageTek QFS and Oracle HSM environments. It has a number of displays that show the status of file systems and devices and allows the operator to control file systems and removable media devices.

OPTIONS

-d c

Specifies the initial display when samu starts execution. See DISPLAYS below.

-r i

Specifies the time interval in seconds for refreshing the display window.

-c string

Specifies an initial command string that should be executed when samu starts execution.

-f cmd-file

Specifies a file from which to read samu commands. Each line in the file is a command.

CONTROL KEYS

The following "hot" keys are available for all displays:

Table 1: Hot keys that are available for all displays
KeyDescription
qQuit
:Enter command
spaceRefresh display
control-lRefresh display (clear)
control-rEnable∕disable refresh (default is enabled)

The following keys perform the listed functions for each of the displays shown:

Table 2: Additional hotkeys that perform specified functions in specified displays
KeyFunctionDisplay
   
control-fNext file system :a,a,g
Page forward c,h,o,p,s,t,u,v,w,x,y,z,A,J,K,M,P
Next stage request n
Next inode I
Next sector S
Next equipment T,U
Next filesystem N
control-bPrevious file system :a,a,g
Page backward c,h,o,p,s,t,u,v,w,x,y,z,A,J,K,M,P
Previous stage request n
Previous inode I
Previous sector S
Previous equipment T,U
Previous filesystem N
control-dHalf-page forward c,p,s,u,w,x,y,z,A,J,M
Next robot catalog v
Page forward g,h,S
Page arcopies forward a
Page stage queue forward n
Page partitions forward N
control-uHalf-page backward c,p,s,u,w,x,y,z,A,J,M
Previous robot catalog v
Page backward g,h,S
Page arcopies backward a
Page stage queue backward n
Page partitions backward N
control-kAdvance display formatA,I,S
Select (manual,robotic,both,priority)p
Advance sort key v
Toggle path displayn,u,w
control-iDetailed (3-line) arcopy formata
Detailed (2-line) display formatv,x,y,D
Detailed status interpretations g,n,N
Detailed (show cloud drives) displays,t,z
control-jSize display unit (base 2 or 10)D,:a,l,n,m,v,x,y
1-7Select sort keyv
Search for VSNv
%Search for barcodev
$Search for slotv

The sort selections for the v display are: 1 slot, 2 count, 3 usage, 4 VSN, 5 access time, 6 barcode, 7 label time.

DISPLAYS

The following displays are available. Those displays marked with '*' are the only ones available for StorageTek QFS. All others are available in Oracle HSM environments only if samd start has been executed.

KeyDisplay
aDisplay archiver status  
cDisplay configuration CMemory
d*Display tracing info. DDisplay disk volume dictionary
f*Display filesystem info. FOptical disk label
g*Display client information  
h*Display help information  
lDisplay usage information I*Inode
m*Display mass-storage status JPreview shared memory
nDisplay staging activity KKernel statistics
oDisplay optical disk status LShared memory tables
pDisplay mount request preview MShared memory
rDisplay removable media N*File system parameters
sDisplay device status summary PActive Services
tDisplay tape status RSAM-Remote info
uDisplay stage queue SSector data
vDisplay robot VSN catalog TSCSI sense data
wDisplay pending stage queue UDevice table
xDisplay active migration
yDisplay migration vsns
zDisplay cloud library status  

COMMANDS

The following commands may be entered after a colon (:).

Table 4: Archiver commands
CommandFunction
aridle [ dk | rm | fs.fsname ] Idle archiving
arrerunSoft restart archiver
arrestartRestart archiver
arrmarchreq fsname.[* | archreq]Remove ArchReq
arrun [ dk | rm | fs.fsname ] Start archiving
arscan fsname[.dir | ..inodes][int] Scan filesystem
arstop [ dk | rm | fs.fsname ] Stop archiving
artrace [fs.fsname] Trace archiver
  
Table 5: Display control commands
CommandFunction
refresh iSet refresh time
a filesystemSelect detailed "a" display
n mediaSet n display media selection
p mediaSet p display media selection
r mediaSet r display media selection
u mediaSet u display media selection
v eqSet v display robot catalog
w mediaSet w display media selection
Table 6: Device commands
devlogeq [option …]Set device logging options
idleeqIdle equipment
offeqOff equipment
oneqOn equipment
readonlyeqMark equipment read-only
roeqMark equipment read-only
unavaileqMark equipment unavailable
unloadeqUnload mounted media∕magazine
Table 7: File System commands - miscellaneous
CommandArgumentsFunction
stripeeq valueSet stripe width
suideqTurn on setuid capability
nosuideqTurn off setuid capability
sync_metaeq valueSet sync_meta mode
atimeeq valueSet access time (atime) update mode
traceeqTurn on file system tracing
notraceeqTurn off file system tracing
addeqAdd eq to mounted file system
removeeqRemove eq; copy files to eqs with ON state
releaseeqRelease eq; mark files offline
alloceqEnable allocation on partition
noalloceqDisable allocation on partition
def_retentioneq intervalSet default WORM retention time
Table 8: File System commands - Oracle HSM
CommandArgumentsFunction
hwm_archiveeqTurn on hwm archiver start
nohwm_archiveeqTurn off hwm archiver start
maxpartialeq valueSet maximum partial size in kilobytes
partialeq valueSet size to remain online in kilobytes
partial_stageeq valueSet where to start staging if partial
stage_flush_behindeq valueSet stage flush behind size in kilobytes
stage_n_windoweq valueSet direct stage size in kilobytes
thresheq high lowSet high and low release thresholds
Table 9: File System commands - I∕O
CommandArgumentsFunction
dio_rd_conseceq valueSet number of consecutive dio reads
dio_rd_form_mineq valueSet size of well-formed dio reads
dio_rd_ill_mineq valueSet size of ill-formed dio reads
dio_wr_conseceq valueSet number of consecutive dio writes
dio_wr_form_mineq valueSet size of well-formed dio writes
dio_wr_ill_mineq valueSet size of ill-formed dio writes
flush_behindeq valueSet flush behind value in kilobytes
forcedirectioeqTurn on directio mode
noforcedirectioeqTurn off directio mode
force_nfs_asynceqTurn on NFS async
noforce_nfs_asynceqTurn off NFS async
readaheadeq valueSet maximum readahead in kilobytes
writebehindeq valueSet maximum writebehind in kilobytes
sw_raideqTurn on software RAID mode
nosw_raideqTurn off software RAID mode
wr_throttleeq valueSet outstanding write size in kilobytes
abreqEnable Application Based Recovery
noabreqDisable Application Based Recovery
dmreqEnable Directed Mirror Reads
nodmreqDisable Directed Mirror Reads
dio_szeroeqTurn on dio sparse zeroing
nodio_szeroeqTurn off dio sparse zeroing
Table 10: File System commands - StorageTek QFS
CommandArgumentsFunction
mm_stripeeq valueSet meta stripe width
qwriteeqTurn on qwrite mode
noqwriteeqTurn off qwrite mode
Table 11: File System commands - multireader
CommandArgumentsFunction
invalideq intervalSet multireader invalidate cache delay
refresh_at_eofeqTurn on refresh at eof mode
norefresh_at_eofeqTurn off refresh at eof mode
Table 12: File System commands - shared fs
CommandArgumentsFunction
minallocszeq valueSet minimum allocation size
maxallocszeq valueSet maximum allocation size
meta_timeoeq intervalSet shared fs meta cache timeout
mh_writeeqTurn on multihost read∕write
nomh_writeeqTurn off multihost read∕write
apleaseeq intervalSet append lease time
rdleaseeq intervalSet read lease time
wrleaseeq intervalSet write lease time
Table 13: Robot commands
CommandArgumentsFunction
audit[-e] eq[:slot[:side]]Audit slot or library. See auditslot (1m) for information on -e.
importeqImport cartridge from mailbox
exporteq:slotExport cartridge to mailbox
exportmt.vsnExport cartridge to mailbox
loadeq:slot[:side]Load cartridge in drive
loadmt.vsnLoad cartridge in drive
prioritypid newpriSet load priority for process 'pid'
Table 14: Stager commands
CommandArgumentsFunction
stclearmt.vsnClear stage request
stidle Idle staging
strun Start staging
Table 15: Migration commands
CommandArgumentsFunction
migconfig Configure migration
migstart Start migration
migidle Idle migration
migstop Stop migration
Table 16: Miscellaneous commands
CommandArgumentsFunction
clearvsn [index]Clear load request
diskvolsvolume [+flag | -flag]Set or clear disk volume dictionary flags
dtracedaemon[.variable] valueSet daemon trace controls
fsfsnameSet filesystem (N display)
mountmntptSelect a mount point (I, N displays)
openeqOpen device (F, S displays)
readaddrRead device
snapfileSnapshot screen to file
!shell-command Run shell command

SEE ALSO

curses(3).

mcf (4).