Skip Navigation Links | |
Exit Print View | |
Sun QFS File System 5.3 Configuration and Administration Guide Sun QFS and Sun Storage Archive Manager 5.3 Information Library |
2. About the Master Configuration File
4. Configuring the File System
5. Configuring a Shared File System
6. Administering File System Quotas
7. Advanced File System Topics
9. Configuring WORM-FS File Systems
11. Using QFS File Systems with SANergy (SAN-QFS)
12. Mount Options in a Shared File System
13. Using the samu Operator Utility
samu Operator Utility at a Glance
Overview of the samu Operator Utility
(c) - Device Configuration Display
(d) - Daemon Trace Controls Display
(F) - Optical Disc Label Display
(J) - Preview Shared Memory Display
(K) - Kernel Statistics Display
(m) - Mass Storage Status Display
(N) - File System Parameters Display
(o) - Optical Disc Status Display
(p) - Removable Media Load Requests Display
(r) - Removable Media Status Display
(R) - Sun SAM-Remote Information Display
(t) - Tape Drive Status Display
(v) - Automated Library Catalog Display
Removable Media Device Display Status Codes
File System Display Status Codes
File System Commands: I/O Management
force_nfs_async and noforce_nfs_async Commands
sw_raid and nosw_raid Commands
File System Commands: Direct I/O Management
dio_rd_form_min and dio_wr_form_min Commands
dio_rd_ill_min and dio_wr_ill_min Commands
dio_rd_consec and dio_wr_consec Commands
dio_szero and nodio_szero Commands
forcedirectio and noforcedirectio Commands
File System Commands: Sun QFS Shared File Systems
mh_write and nomh_write Commands
minallocsz and maxallocsz Commands
rdlease, wrlease, and aplease Commands
File System Commands: Miscellaneous
To view one of the operator displays, press its corresponding character key. The lowercase characters a through w display operational information.
Note - The uppercase samu(1M) displays (C, D, F, I, J, K, L, M, N, P, R, S, T, and U) are designed to be used at a customer site only with the assistance of a member of the technical support staff.
This topic does not describe these uppercase displays in detail.
When an operator display overflows the available screen area, the word more appears on the bottom of the display indicating additional information, as shown in the following example. Press Ctrl-F to page forward and see more content.
Example 13-1 samu Screen Indicating More Text Can Be Obtained
xb54 54 exb8505 pt03 0 yes 2 0 on lt55 55 dlt2000 pt02 1 yes 4 0 on ml65 hp56 56 hpc1716 pt01 1 yes 3 0 on hp70 hp57 57 hpc1716 pt01 1 yes 4 0 on hp70 more
When samu prompts you to provide a device, enter its associated equipment number. The configuration display (c) shows equipment numbers for all removable media devices. To control all displays, use the control keys listed for the display.
The following sections describe the operator displays in alphabetical order with examples. Descriptions of more complex displays are followed by a table describing the field in the display.
Note - If you are using only the Sun QFS software without the archiving features of SAM-QFS, not all operator displays will be available.
The a display shows the archiver status. To display archiving details for a specific file system:
a filesystem
For filesystem, specify the name of a file system.
The following table shows the control keys you can use in the a display.
|
The following example shows the archiver status display.
Example 13-2 samu a Display
Archiver Status samu 5.0 07:44:02 August 8 2008 sam-archiverd: Waiting for resources sam-arfind: samfs1 mounted at /sam1 Waiting until 2005-05-08 07:54:02 to scan .inodes sam-arfind: samfs2 mounted at /sam2 Waiting until 2005-05-08 07:52:57 to scan .inodes sam-arfind: qfs1 mounted at /qfs1 Waiting until 2005-05-08 07:44:33 to scan .inodes sam-arfind: qfs2 mounted at /qfs2 Waiting until 2005-05-08 07:53:21 to scan .inodes sam-arfind: qfs3 mounted at /qfs3 Waiting until 2005-05-08 07:44:11 to scan .inodes sam-arfind: qfs4 mounted at /qfs4 Waiting until 2005-05-08 07:53:35 to scan .inodes sam-arfind: shareqfs1 mounted at /shareqfs1 Shared file system client. Cannot archive. sam-arfind: shareqfs2 mounted at /shareqfs2 Shared file system client. Cannot archive. sam-arcopy: qfs4.arset5.1.83 dt.DAT001 Waiting for volume dt.DAT001
The following table shows the fields in the detail display.
|
The c display shows your configuration's connectivity. It lists all device names and equipment numbers.
The following table shows the control keys you can use in this display.
|
The following example shows the device configuration display.
Example 13-3 samu c Display
Device configuration: samu 5.0 07:48:11 Sept 8 2008 ty eq state device_name fs family_set sk 100 on /etc/opt/SUNWsamfs/dcstkconf 100 dcL700 tp 120 off /dev/rmt/1cbn 100 dcL700 sg 130 on /dev/rmt/4cbn 100 dcL700 sg 140 on /dev/rmt/5cbn 100 dcL700 tp 150 off /dev/rmt/3cbn 100 dcL700 hy 151 on historian 151
The following table shows the field descriptions for this display.
|
The C display shows the content of a specific memory address. To show the content at an address, type the address in hexadecimal.
To invoke this display:
C hex-address
For hex-address, specify the address of a memory location in hexadecimal. For example:
Command:C 0x1044a998
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the memory display. The sample output has been truncated.
Example 13-4 samu C Display
Memory base: 0x1234567 samu 5.0 07:52:25 Sept 8 2008 00000000 80921000 137ff801 edd05e21 40853420 ......x.mP^!@.4 00000010 00a00420 018528b0 01a604e0 02840640 . . ..(0.&.”...@ 00000020 02d030a1 a0853420 0080a0a0 100a6fff .P0! .4 .. ..o. 00000030 f6921000 13c65e23 582d0000 0ba01020 v....F^#X-... . 00000040 00c45e20 48c608e0 2fd05e21 40920080 .D^ HF.”/P^!@... 00000050 037ff801 fa941000 16c45e20 48a600a0 ..x.z....D^ H&. 00000060 80921000 137ff801 d5d05e21 40853420 ......x.UP^!@.4 00000070 00a00420 018528b0 01a604e0 02840640 . . ..(0.&.”...@ 00000080 02d030a1 c0853420 0080a0a0 100a6fff .P0!@.4 .. ..o. 00000090 f6921000 13c65e23 58a01020 00c45e20 v....F^#X . .D^ 000000a0 48c608e0 2fd05e21 40920080 037ff801 HF.”/P^!@.....x. 000000b0 e39405a2 00c45e20 48a600a0 80921000 c..".D^ H&. .... 000000c0 137ff801 bed05e21 40853420 00a00420 ..x.>P^!@.4 . . 000000d0 018528b0 01a604e0 02840640 02d030a1 ..(0.&.”...@.P0! 000000e0 e0853420 0080a0a0 100a6fff f6921000 ”.4 .. ..o.v... 000000f0 13c65e23 58a01020 00c45e20 48c608e0 .F^#X . .D^ HF.”
The d display shows the events being traced as specified in the defaults.conf file. For more information about enabling trace files, see defaults.conf(4) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.
The following example shows trace file information. It includes information about the daemons being traced, the paths to the trace files, the events being traced, and information about the size and age of the trace files.
Example 13-5 samu d Display
Daemon trace controls samu 5.0 07:56:38 Sept 8 2008 sam-amld /var/opt/SUNWsamfs/trace/sam-amld cust err fatal misc proc debug date size 0 age 0 sam-archiverd /var/opt/SUNWsamfs/trace/sam-archiverd cust err fatal misc proc debug date size 0 age 0 sam-catserverd /var/opt/SUNWsamfs/trace/sam-catserverd cust err fatal misc proc debug date size 0 age 0 sam-fsd /var/opt/SUNWsamfs/trace/sam-fsd cust err fatal misc proc debug date size 0 age 0 sam-rftd /var/opt/SUNWsamfs/trace/sam-rftd cust err fatal misc proc debug date size 0 age 0 sam-recycler /var/opt/SUNWsamfs/trace/sam-recycler cust err fatal misc proc debug date size 0 age 0 sam-sharefsd /var/opt/SUNWsamfs/trace/sam-sharefsd cust err fatal misc proc debug date size 0 age 0 sam-stagerd /var/opt/SUNWsamfs/trace/sam-stagerd cust err fatal misc proc debug date size 0 age 0 sam-serverd /var/opt/SUNWsamfs/trace/sam-serverd cust err fatal misc proc debug date size 0 age 0 sam-clientd /var/opt/SUNWsamfs/trace/sam-clientd cust err fatal misc proc debug date size 0 age 0 sam-mgmt /var/opt/SUNWsamfs/trace/sam-mgmt cust err fatal misc proc debug date size 0 age 0
The D display shows the disk volume dictionary, which keeps track of the disk media for disk archiving that has been defined in the diskvols.conf file. The dictionary contains information about each VSN, including the capacity, space remaining, and the status flags of the VSN. These flags include unavailable, read only, and bad media.
The following example shows the device configuration display.
Example 13-6 samu D Display
Disk volume dictionary samu 5.0 07:48:11 May 8 2008 header version 460 volumes magic 340322 version 9 nkeys 2 ndata 2 index space capacity used flags volume 0 12882411520 12887785472 10291200 ----- disk01 1 6443827200 6443892736 70656 ----- disk02 clients magic 340322 version 9 nkeys 1 ndata 1
The following table shows the flags for the D display.
|
To set or clear a disk volume dictionary flag, use the diskvols samu command. For more information, see the diskvols command.
The f display shows the components of your Sun QFS file systems.
The following example shows the file systems display.
Example 13-7 samu f Display
File systems samu 5.0 08:11:24 Sept 8 2008 ty eq state device_name status high low mountpoint server ms 10 on samfs1 m----2----d 90% 70% /sam1 md 11 on /dev/dsk/c5t8d0s3 md 12 on /dev/dsk/c5t8d0s4 md 13 on /dev/dsk/c5t8d0s5 md 14 on /dev/dsk/c5t8d0s6 md 15 on /dev/dsk/c5t8d0s7 ms 20 on samfs2 m----2----d 90% 70% /sam2 md 21 on /dev/dsk/c5t9d0s3 md 22 on /dev/dsk/c5t9d0s4 md 23 on /dev/dsk/c5t9d0s5 md 24 on /dev/dsk/c5t9d0s6 md 25 on /dev/dsk/c5t9d0s7 ma 30 on qfs1 m----2----d 90% 70% /qfs1 mm 31 on /dev/dsk/c5t10d0s0 md 32 on /dev/dsk/c5t10d0s1 ma 40 on qfs2 m----2----d 90% 70% /qfs2 mm 41 on /dev/dsk/c5t11d0s0 md 42 on /dev/dsk/c5t11d0s1 ma 50 on qfs3 m----2---r- 90% 70% /qfs3 mm 51 on /dev/dsk/c5t12d0s0 mr 52 on /dev/dsk/c5t12d0s1 ma 60 on qfs4 m----2---r- 90% 70% /qfs4 mm 61 on /dev/dsk/c5t13d0s0 mr 62 on /dev/dsk/c5t13d0s1 ma 100 on shareqfs1 m----2c--r- 80% 70% /shareqfs1 spade mm 101 on /dev/dsk/c6t50020F2300004655d0s0 mr 102 on /dev/dsk/c6t50020F2300004655d0s1 ma 110 on shareqfs2 m----2c--r- 80% 70% /shareqfs2 spade mm 111 on /dev/dsk/c6t50020F2300004655d0s6 mr 112 on /dev/dsk/c6t50020F2300004655d0s7
The following table shows the field descriptions for this display.
|
The F display shows the label on an optical disc.
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The h display shows a summary of the samu displays available. By default, this is the first display that the system presents when you enter the samu command at the command line.
The following table shows the control keys you can use in this display.
|
The online Help has several pages of help screens. On a Sun QFS file system, not all of the displays appear in the initial help screen. For example, the removable media displays are not available if you are running a Sun QFS system. The following example shows only the first page of the SAM-QFS configuration. Subsequent help screens show samu commands.
Example 13-8 samu Initial Help Screen for a Sun SAM System
Help information page 1/15 samu 5.0 08:18:13 Sept 8 2008 Displays: a Archiver status w Pending stage queue c Device configuration C Memory d Daemon trace controls D Disk volume dictionary f File systems F Optical disk label h Help information I Inode l Usage information J Preview shared memory m Mass storage status K Kernel statistics n Staging status L Shared memory tables o Optical disk status M Shared memory p Removable media load requests N File system parameters r Removable media P Active Services s Device status R SAM-Remote t Tape drive status S Sector data u Staging queue T SCSI sense data v Robot catalog U Device table more (ctrl-f)
The I display shows the content of inodes.
To display inodes for an entire file system:
I filesystem
For filesystem, specify the name of a file system.
To display a specific inode:
I inode-number
For inode-number, specify the inode number in either hexadecimal or decimal.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the inode display.
Example 13-9 samu I Display
Inode 0x1 (1) format: file samu 5.0 08:27:14 Sept 8 2008 incore: y 00008100 mode -r-------- 409cdf57 access_time 00000001 ino (1) 1d32ea20 00000001 gen (1) 4096b499 modify_time 00000002 parent.ino (2) 02588660 00000002 parent.gen (2) 4096b499 change_time 00000000 size_u 02588660 000c0000 size_l (786432) 4096b443 creation_time 01000000 rm:media/flags 409a8a7c attribute_time 00000000 rm:file_offset 409c0ce6 residence_time 00000000 rm:mau 00000000 unit/cs/arch/flg 00000000 rm:position 00000000 ar_flags 00000000 ext_attrs -------- 00000000 stripe/stride/sg 00000000 ext.ino (0) 00000000 media -- -- 00000000 ext.gen (0) 00000000 media -- -- 00000000 uid root 00000000 psize (0) 00000000 gid root 000000c0 blocks (192) 00000001 nlink (1) 00000600 free_ino (1536) 00011840 status -n------- ----- -- -- Extents (4k displayed as 1k): 00_ 000000d0.00 000000e0.00 000000f0.00 00000100.00 00000110.00 00000120.00 06_ 00000130.00 00000140.00 00000150.00 00000160.00 00000170.00 00000180.00 12_ 00000190.00 000001a0.00 000001b0.00 000001c0.00 00000630.00 00000000.00 18_ 00000000.00
The J display shows the shared memory segment for the preview queue.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the preview shared memory display. This sample output has been truncated.
Example 13-10 samu J Display
Preview shared memory size: 155648 samu 5.0 08:30:05 Sept 8 2008 00000000 00040000 00014d58 00000000 00000000 ......MX........ 00000010 00000000 00000000 73616d66 73202d20 ........samfs - 00000020 70726576 69657720 6d656d6f 72792073 preview memory s 00000030 65676d65 6e740000 00026000 00000000 egment.......... 00000040 00025fff 00000000 00040000 00014d58 .._...........MX 00000050 00000000 00000000 00000000 00000000 ................ 00000060 0000d9e0 00000064 00000000 000001b8 ..Y.....d.......8 00000070 3f800000 447a0000 0000d820 00000008 ?...Dz....X ....
The K display shows kernel statistics, such as the number of inodes currently in memory.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the kernel statistics display.
Example 13-11 samu K Display
Kernel statistics samu 5.0 08:33:19 Sept 8 2008 module: sam-qfs name: general instance: 0 class: fs version 4.4.sam-qfs, gumball 2004-05-07 12:12:04 configured file systems 8 mounted file systems 8 nhino 16384 ninodes 129526 inocount 129527 inofree 128577
The l display shows the usage information for the file system, including the capacity and space used for each library and file system.
The following example shows a sample usage display.
Example 13-12 samu l Display
Usage information samu 5.0 08:36:27 Sept 8 2008 hostid = 80e69e6e OS name: SunOS Architecture: SPARC CPUs: 2 (2 online) library 40: capacity 389.3G bytes space 291.1G bytes, usage 25% library 51: capacity 9.5G bytes space 9.5G bytes, usage 0% library 55: capacity 0 bytes space 0 bytes, usage 0% library 56: capacity 10.7G bytes space 10.7G bytes, usage 0% library totals: capacity 409.5G bytes space 311.3G bytes, usage 24% filesystem samfs3: capacity 54.5M bytes space 13.4M bytes, usage 75% filesystem samfs4: capacity 319.5M bytes space 298.0M bytes, usage 7% filesystem samfs7: capacity 96.6M bytes space 69.6M bytes, usage 28% filesystem samfs6: capacity 5.0G bytes space 4.9G bytes, usage 3% filesystem samfs8: capacity 5.0G bytes space 4.9G bytes, usage 2% filesystem totals: capacity 10.5G bytes space 10.2G bytes, usage 3%
Note - In versions of the software before 4.3, this display showed license information for the file system.
The L display shows the location of the shared memory tables. It also shows some system defaults that are kept in shared memory.
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following shows the shared memory tables.
Example 13-13 samu L Display
Shared memory tables samu 5.0 08:38:31 May 8 2008 shm ptr tbl: defaults: size 12000 (73728) optical mo left 44c8 (17608) tape lt scanner pid 1861 timeout 600 fifo path 01b0 /var/opt/SUNWsamfs/previews 100 dev_table 01cc stages 1000 first_dev 0450 log_facility 184 scan_mess cf50 dio minfilesize 100 preview_shmid 1 label barcode FALSE flags 0x20000000 barcodes low FALSE preview stages 55776 export unavail FALSE preview avail 100 attended TRUE preview count 0 start rpc FALSE preview sequence 445 age factor 1 vsn factor 1000 fs tbl ptr 0xd820 fs count 8 fseq 10 samfs1 state 0 0 0 0 0 fseq 20 samfs2 state 0 0 0 0 0 fseq 30 qfs1 state 0 0 0 0 0 fseq 40 qfs2 state 0 0 0 0 0 fseq 50 qfs3 state 0 0 0 0 0 fseq 60 qfs4 state 0 0 0 0 0 fseq 100 shareqfs1 state 0 0 0 0 0 fseq 110 shareqfs2 state 0 0 0 0 0
The m display shows the status of mass storage file systems and their member drives. This display shows only mounted file systems.
The following example shows the mass storage status display. Member drives are indented one space and appear directly below the file system to which they belong.
Example 13-14 samu m Display
Mass storage status samu 5.0 08:41:11 Sept 8 2008 ty eq status use state ord capacity free ra part high low ms 10 m----2----d 1% on 68.354G 68.343G 1M 16 90% 70% md 11 1% on 0 13.669G 13.666G md 12 1% on 1 13.669G 13.667G md 13 1% on 2 13.669G 13.667G md 14 1% on 3 13.674G 13.672G md 15 1% on 4 13.674G 13.672G ms 20 m----2----d 1% on 68.354G 68.344G 1M 16 90% 70% md 21 1% on 0 13.669G 13.667G md 22 1% on 1 13.669G 13.667G md 23 1% on 2 13.669G 13.667G md 24 1% on 3 13.674G 13.672G md 25 1% on 4 13.674G 13.672G ma 30 m----2----d 4% on 64.351G 61.917G 1M 16 90% 70% mm 31 1% on 0 4.003G 3.988G [8363840 inodes] md 32 4% on 1 64.351G 61.917G ma 40 m----2----d 1% on 64.351G 64.333G 1M 16 90% 70% mm 41 1% on 0 4.003G 3.997G [8382784 inodes] md 42 1% on 1 64.351G 64.333G ma 50 m----2---r- 1% on 64.351G 64.333G 1M 16 90% 70% mm 51 1% on 0 4.003G 3.997G [8382784 inodes] mr 52 1% on 1 64.351G 64.333G ma 60 m----2---r- 1% on 64.351G 64.331G 1M 16 90% 70% mm 61 1% on 0 4.003G 3.997G [8382784 inodes] mr 62 1% on 1 64.351G 64.331G ma 100 m----2c--r- 2% on 270.672G 265.105G 1M 16 80% 70% mm 101 1% on 0 2.000G 1.988G [4168992 inodes] mr 102 2% on 1 270.672G 265.469G ma 110 m----2c--r- 3% on 270.656G 263.382G 1M 16 80% 70% mm 111 1% on 0 2.000G 1.987G [4167616 inodes] mr 112 2% on 1 270.656G 264.736G
The following table shows the field descriptions for this display.
|
The M display shows the raw shared memory segment in hexadecimal. This is a device table.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the shared memory display. The sample output has been truncated.
Example 13-15 samu M Display
Shared memory size: 73728 samu 5.0 08:43:20 May 8 2008 00000000 00040000 00014d58 00000000 00000000 ......MX........ 00000010 00000000 00000000 73616d66 73202d20 ........samfs - 00000020 73686172 6564206d 656d6f72 79207365 shared memory se 00000030 676d656e 74000000 00012000 000044c8 gment..... ...DH 00000040 0000dd20 00000000 00000742 00000745 ..] .......B...E 00000050 00000001 00000000 00000000 c0000000 ............@... 00000060 00000001 0001534d 00000000 00000000 ......SM........ 00000070 00000000 00000000 00000000 00000000 ................ 00000080 00000000 00000000 00000000 00000000 ................ 00000090 20000000 000001b0 000001cc 00000450 ......0...L...P 000000a0 0000cf50 00000001 00000001 4c696365 ..OP........Lice 000000b0 6e73653a 204c6963 656e7365 206e6576 nse: License nev 000000c0 65722065 78706972 65732e00 00000000 er expires...... 000000d0 00000000 00000000 00000000 00000000 ................ 000000e0 00000000 00000000 00000000 00000000 ................ 000000f0 00000000 00000000 00000000 00000000 ................
The n display shows the status of the stager for all media. It displays a list of outstanding stage requests. To display the staging status for a specific media type:
n mt
For mt, specify one of the media types shown in the mcf(4) man page.
The following example shows the staging status display.
Example 13-16 samu n Display
Staging status samu 5.0 08:47:16 May 8 2008 Log output to: /var/opt/SUNWsamfs/stager/log Stage request: dt.DAT001 Loading VSN DAT001 Staging queues ty pid user status wait files vsn dt 16097 root active 0:00 12 DAT001
The N display shows all mount point parameters, the superblock version, and other file system information.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the file system parameters display.
Example 13-17 samu N Display
File system parameters samu 5.0 08:55:19 Sept 8 2008 mount_point : /sam1 partial : 16k fs_type : 6 maxpartial : 16k server : partial_stage : 16384 filesystem name: samfs1 flush_behind : 0 eq type : 10 ms stage_flush_beh: 0 state version : 0 2 stage_n_window : 262144 (fs,mm)_count : 5 0 stage_retries : 3 sync_meta : 0 stage timeout : 0 stripe : 0 dio_consec r,w : 0 0 mm_stripe : 1 dio_frm_min r,w: 256 256 high low : 90% 70% dio_ill_min r,w: 0 0 readahead : 1048576 ext_bsize : 4096 writebehind : 524288 wr_throttle : 16777216 rd_ino_buf_size: 16384 wr_ino_buf_size: 512 config : 0x08520530 mflag : 0x00000044 status : 0x00000001 Device configuration: ty eq state device_name fs family_set md 11 on /dev/dsk/c5t8d0s3 10 samfs1 md 12 on /dev/dsk/c5t8d0s4 10 samfs1 md 13 on /dev/dsk/c5t8d0s5 10 samfs1 md 14 on /dev/dsk/c5t8d0s6 10 samfs1 md 15 on /dev/dsk/c5t8d0s7 10 samfs1
The o display shows the status of all optical disk drives configured within the environment.
The following table shows the control keys you can use in this display.
|
The following example shows the optical disc drive status display.
Example 13-18 samu o Display
Optical disk status samu 5.0 Thu Oct 11 13:15:40 ty eq status act use state vsn mo 35 --l---wo-r 1 29% ready oper2
The following table shows the field descriptions for this display.
|
The p display lists information about pending load requests for removable media. You can use the mt argument to select either a specific type of media, such as DLT tape, or a family of media, such as tape. The priority display lists the priority in the preview queue, rather than the user queue, and sorts the entries by priority.
The displays shows mount requests in the following formats:
Both manual and automated library requests by user
Both manual and automated library requests by priority
Manual requests only
Automated library requests only
To display mount requests for devices of a given removable media type:
p mt
For mt, specify one of the media types shown in the mcf(4) man page.
The following table shows the control keys you can use in this display.
|
The following example shows the removable media load requests display.
Example 13-19 samu p Display
Removable media load requests all both samu 5.0 09:14:19 Sept 8 2008 count: 1 index type pid user rb flags wait count vsn 0 dt 15533 root 150 W--f--- 0:00 DAT001
The following table shows the field descriptions for this display.
|
The following table shows the flags for the p display.
Table 13-1 Flag Values for the samu p Display
|
The P display lists the services registered with the Sun QFS single port multiplexer.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the active services display.
Example 13-20 samu P Display
Active Services samu 5.0 09:08:33 Sept 8 2008 Registered services for host ”pup’: sharedfs.qfs2 sharedfs.qfs1 2 services registered.
The r display monitors the activity on removable media devices such as tape drives. You can monitor either a specific type of device, such as video tape, or a family of devices such as all tape devices.
To display the status for a specific device:
r eq
For eq, specify the equipment number for the device.
The following example shows the removable media status display.
Example 13-21 samu r Display
Removable media status: all samu 5.0 09:11:27 Sept 8 2008 ty eq status act use state vsn dt 150 --l------r 0 63% ready DAT001
The following table shows the field descriptions for this display.
|
The R display shows information and status on Sun SAM-Remote configurations.
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The s display shows the status for all devices configured within the environment.
The following table shows the control keys you can use in this display.
|
The following example shows the device status display.
Example 13-22 samu s Display
Device status samu 5.0 09:14:05 Sept 8 2008 ty eq state device_name fs status pos sk 100 on /etc/opt/SUNWsamfs/dcstkconf 100 m--------r stk_dismount / (2275) 0, volser 700073 sg 120 on /dev/rmt/2cbn 100 ---------p empty sg 130 on /dev/rmt/5cbn 100 --l----o-r Ready for data transfer sg 140 on /dev/rmt/6cbn 100 ---------p empty sg 150 on /dev/rmt/4cbn 100 ---------p empty hy 151 on historian 151 ----------
The following table shows the field descriptions for this display.
|
The S display shows raw device data.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The t display shows the status of all tape drives configured within the environment.
The following table shows the control keys you can use in this display.
|
The following example shows the tape drive status display.
Example 13-23 samu t Display
Tape drive status samu 5.0 09:21:07 Sept 8 2008 ty eq status act use state vsn sg 120 ---------p 0 0% notrdy empty sg 130 ---------p 0 0% notrdy empty sg 140 ---------p 0 0% notrdy empty sg 150 --l------r 0 41% ready 700088 idle
The following table shows the field descriptions for this display.
|
The T display shows the SCSI status of a SCSI device.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The u display lists all files in the staging queue.
The following table shows the control keys you can use in this display.
|
The following example shows the staging queue display.
Example 13-24 samu u Display
Staging queue by media type: all samu 5.0 09:24:23 Sept 8 2008 volumes 1 files 22 ty length fseq ino position offset vsn dt 451.611k 20 1030 207cc 473 DAT001 dt 341.676k 20 1031 207cc 7fc DAT001 dt 419.861k 20 1032 207cc aa9 DAT001 dt 384.760k 20 1033 207cc df2 DAT001 dt 263.475k 20 1034 207cc 10f5 DAT001 dt 452.901k 20 1035 207cc 1305 DAT001 dt 404.598k 20 1036 207cc 1690 DAT001 dt 292.454k 20 1037 207cc 19bb DAT001 dt 257.835k 20 1038 207cc 1c05 DAT001 dt 399.882k 20 1040 207cc 1e0b DAT001 dt 399.882k 40 1029 208d7 2 DAT001 dt 257.835k 40 1030 208d7 323 DAT001 dt 292.454k 40 1031 208d7 528 DAT001 dt 404.598k 40 1032 208d7 772 DAT001 dt 452.901k 40 1033 208d7 a9d DAT001 dt 263.475k 40 1034 208d7 e28 DAT001 dt 384.760k 40 1035 208d7 1038 DAT001 dt 419.861k 40 1036 208d7 133b DAT001 dt 341.676k 40 1037 208d7 1684 DAT001 dt 451.611k 40 1038 208d7 1931 DAT001 dt 161.326k 40 1039 208d7 1cba DAT001 dt 406.400k 40 1040 208d7 1dfe DAT001
The following table shows the field descriptions for this display.
|
The U display shows the device table in a human-readable form.
To display the device table for a specific device:
U eq
For eq, specify the equipment number of the device.
The following table shows the control keys you can use in this display.
|
This display is designed for debugging. It is intended to be used only with the assistance of an Oracle support staff person.
The following example shows the device table display.
Example 13-25 samu U Display
Device table: eq: 10 addr: 00000450 samu 5.0 09:28:40 Sept 8 2008 message: 0004000000014d58 0000000000000000 00000000 delay 0000000000000000 mutex 00000000 unload_delay 00000aa8 next 73616d66 set: samfs1 73310000 00000000 00000000 000a000a eq/fseq 08010801 type/equ_type 0000 state 00000000 st_rdev 00000000 ord/model 00000000 mode_sense 00000000 sense 00000000 space 00000000 capacity 00000000 active 00000000 open 00000000 sector_size 00000000 label_address 00000000 vsn: 00000000 00000000 00000000 00000000 status: ---------- 00000000 dt 73616d66 name: samfs1
The v display shows the location and VSN of all disks or tapes currently catalogued in the automated library.
To display catalog information for a specific device:
v eq
For eq, specify the equipment number of the device. Type the keyword historian to view the historian catalog.
The following table shows the control keys you can use in this display.
|
The following example shows the automated library catalog display.
Example 13-26 samu v Display
Robot VSN catalog by slot : eq 100samu 5.0 09:30:25 Sept 8 2008 count 32 slot access time count use flags ty vsn 0 2004/05/08 08:35 64 0% -il-o-b----- sg 700071 1 2004/05/08 09:08 27 12% -il-o-b----- sg 700073 2 2004/05/08 09:12 26 12% -il-o-b----- sg 700077 3 2004/05/08 08:39 37 40% -il-o-b----- sg 700079 4 2004/05/08 09:16 24 6% -il-o-b----- sg 700084 5 2004/05/08 09:18 24 41% -il-o-b----- sg 700088 6 none 0 0% -il-o-b----- sg 700090 7 none 0 0% -il-o-b----- sg 700092 8 none 0 0% -il-o-b----- sg 000155 9 none 0 0% -il-o-b----- sg 000156 10 none 0 0% -il-o-b----- sg 000157 11 none 0 0% -il-o-b----- sg 000158 12 none 0 0% -il-o-b----- sg 000154 13 none 0 0% -il-o-b----- sg 000153 14 none 0 0% -il-o-b----- sg 000152
The following table shows the field descriptions for this display.
Table 13-2 samu v Display Field Descriptions
|
The following table shows the flags using in the flags field. In some cases, more than one flag can occur in a field, and one flag overrides the other.
Table 13-3 Flags Values for samu v Display
|
The w display shows queued stage requests for which the volumes have not yet been loaded.
To display the pending stage queue for a specific media type:
w mt
For mt, specify one of the media types shown in the mcf(4) man page.
The following table shows the control keys you can use in this display.
|
The following example shows the pending stage queue display.
Example 13-27 samu w Display
Pending stage queue by media type: all samu 5.0 Thu Oct 11 13:20:27 volumes 1 files 13 ty length fseq ino position offset vsn at 1.383M 1 42 3a786 271b 000002 at 1.479M 1 56 3a786 5139 000002 at 1018.406k 1 60 3a786 6550 000002 at 1.000M 1 65 3a786 7475 000002 at 1.528M 1 80 3a786 99be 000002 at 1.763M 1 92 3a786 ce57 000002 at 1.749M 1 123 3a786 11ece 000002 at 556.559k 1 157 3a786 1532f 000002 at 658.970k 1 186 3a786 17705 000002 at 863.380k 1 251 3a786 1dd58 000002 at 1.268M 1 281 3a786 1f2b7 000002 at 1.797M 1 324 3a786 23dfa 000002 at 1.144M 1 401 3a786 2bb6d 000002
The following table shows the field descriptions for this display.
|
The operator displays have different status codes for the removable media device displays and the file system displays. The following sections describe these status codes.
The o, r, s, and t operator displays show status codes for removable media devices. Status codes are displayed in a 10-position format, reading from left (position 1) to right (position 10).
These status codes do not apply to the samu f, m, and v displays. For information about the status codes for the f and m displays, see Table 13-5. For information about the status codes for the v display, see (v) - Automated Library Catalog Display.
The following table defines the status codes for each position.
Table 13-4 Status Code for Removable Media Device Display
|
The f and m operator displays show status codes for file systems. Status codes are displayed in an 11-position format, reading from left (position 1) to right (position 11).
These status codes do not apply to the samu c, o, r, s, t, or v displays. For information about the status codes for the o, r, s, and t displays, see Table 13-4. For information about the status codes for the v display, see (v) - Automated Library Catalog Display.
The following table defines the status codes for each position.
Table 13-5 File System Display Status Codes
|
The c, m, o, r, s, and t operator displays show state codes for each device. These codes represent the current access state for the device.
The following table defines the state codes.
Table 13-6 Operator Display Device States
|
You can use the samu down, off, and on device state commands to change device states. You can issue these commands from any samu display, but if you issue them from the c, m, o, r, s, or t display, you can see the change in the display.
The following procedure show how to change a device's state from down to on.
command:off eq
where eq is the equipment number of the device.
For example:
Command:on eq
For eq, specify the equipment number of the device.