Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ tkadmin_query_disk(8) — ACMSxp 3.2A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

ENCINA(8)  —  Maintenance

NAME

tkadmin query disk - returns detailed information about a disk

SYNOPSIS

tkadmin query disk -server servername diskname

ARGUMENTS

-server servername Specifies the server affected by the command. The server name is the name that is registered with the DCE Directory Service. If the server name is not specified in the command line, it is retrieved from an environment variable, ENCINA_TK_SERVER. 

diskname Specifies the disk to be queried. On UNIX, this name is the name of the character-interface to the disk - for instance, /dev/rsd1e - as opposed to the name of the block-interface to the disk. On Windows NT, specifies the full path name of the operating system file being used. 

DESCRIPTION

The tkadmin query disk command displays the following information about the disk:

Disk size

Information about regions on the disk: the starting offset, the size, and the name of the physical volume to which it belongs

If the disk queried is not initialized, this command fails. Using the information provided by this command, you can calculate the available space on a disk. 

NOTES

Windows NT uses fully-allocated operating system files as disks.  All occurrences of “disk” and “disk partition” should be read as “file” throughout the description of this command when used on Windows NT. The result of the command is the same. 

EXAMPLES

AIX

This command is not for use on the AIX operating system. 

Non-AIX UNIX

The following command displays information for the disk /dev/rsd1e :

% tkadmin query disk /dev/rsd1e

Information about disk /dev/rsd1e
All sizes and offsets are in pages, page size is 4Kbytes.
Disk Size: 1180
Disk Usage:
region [ 0]:  offset:   0  size:  100  pvol: pvol1
region [ 1]:  offset: 100  size: 1000  pvol: pvol2

Windows NT

The following command displays information for the disk D:\serverlog\rqs-logvol :

C:\> tkadmin query disk D:\serverlog\rqs-logvol

Information about disk D:\serverlog\rqs-logvol
All sizes and offsets are in pages. Page Size is: 4 Kbytes
size: 1023
numRegions: 1
region  0:  offset:    0  size:   960  pvol: rqsLogPvol

PRIVILEGE REQUIRED

Encina Monitor query (q) permission to the node manager

Encina RQS query (q) permission to the RQS server

Encina SFS query (Q) permission to the SFS server

RELATED INFORMATION

tkadmin list disks

 

  —  March 1997

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026