varyon
PURPOSE
Makes an external disk drive and any minidisks or file
systems defined on it available for use.
SYNOPSIS
varyon [-v] -d hdisk[num] [ hdisk[num] ... ][-q]
varyon [-v] -m hd[num] [ hd[num] ... ][-c]
varyon [-v] -p directory [ directory ... ][-c][-q]
DESCRIPTION
The varyon command adds an external disk drive and any
minidisks or file systems residing on the disk to the
existing AIX Operating System hardware and minidisk con-
figurations. varyon runs the fsck command to perform
file system consistency checks and mounts the file system
if the attributes vcheck=true and vmount=true are present
in the corresponding stanza of the /etc/filesystems file.
By default, varyon sends only generalized completion mes-
sages to standard output, routing more detailed error
messages to the file /etc/varyon.out.
FLAGS
-c Does not perform file consistency
checking.
-d hdisknum . . . Specifies the system device name for
an external disk drive, where num is
an integer from 0 to 33, inclusive.
The varyon command uses vrmconfig to
configure minidisks residing on the
drive. It uses fsck to check each
file system whose stanza in the
/etc/filesystems file contains the
attribute vcheck=true. It mounts
each file system that has the attri-
bute vmount=true.
-q Operates in quiet mode; does not
prompt the user about minidisk names
or rename the minidisks. If
/etc/system and /etc/filesystems
contain information about minidisks
on the external disk drive, this
option adds the minidisks to the
system configuration using the
existing minidisk names and mount
directory.
EXAMPLES
1. To configure an entire external disk drive:
varyon -d hdisk7
This command configures a disk drive, "hdisk7", into
the operating system, configures any minidisks
defined on the disk, and performs fsck and mount
functions on file systems as specified by the
/etc/filesystems file.
2. To configure more than one external disk drive:
varyon -d hdisk9 hdisk7 hdisk12
This command makes disk drives "hdisk9", "hdisk7",
and "hdisk12" available for use.
3. To configure an external drive without without per-
forming fsck functions:
varyon -c -d hdisk7 hdisk8 hdisk11
4. To make the external disk drive available without
prompting the user, even if minidisks are already
defined in the system configuration files:
varyon -q -d hdisk3
This command adds the minidisks to the system without
prompting the user if /etc/system and
/etc/filesystems contain information about any of the
minidisks on the drive. If information exists the
system uses the existing minidisk names and mount
directory.
FILES
/etc/filesystems Descriptions of mountable file
systems.
/etc/system Default system file.
/etc/system.vary.bk System backup of /etc/system.
/etc/varyon.out Default error output file.
RELATED INFORMATION
The following commands: "fsck, dfsck," "mount,"
"varyoff" and "vrmconfig."
The discussion of external drives in Managing the AIX
Operating System.
The system and filesystems files in AIX Operating System
Technical Reference.