MDRC(8,C) AIX Commands Reference MDRC(8,C)
-------------------------------------------------------------------------------
mdrc
PURPOSE
Reinstalls a user-created minidisk.
SYNTAX
For AIX PS/2
+-------------------+ +------+
mdrc ---| |----| |---|
+--- -h hdisknum ---+ +- -v -+
^ |
+----------+
For AIX/370
+-----------------+ +------+
mdrc ---| |----| |---|
+--- -h chdnum ---+ +- -v -+
^fhdnum |
+--------+
DESCRIPTION
The mdrc command provides access to user-created minidisks. You should run
this command if you have reinstalled the AIX Operating System or if you have
had to replace the /etc/system or /etc/filesystems files with copies that do
not contain stanzas describing any user-installed minidisks. The system uses
the information in these stanzas to configure the minidisks at system startup,
and mdrc recreates the necessary stanzas. The mdrc command uses the VTOC
(volume table of contents) on the hard disk to recreate the necessary stanzas.
If the mdrc command cannot recreate the original /etc/filesystems stanza for
AIX Operating System minidisks, it assigns attributes of Auto Mount=no,
Read/Write Status=R/W, and Mount Directory=/tmp/directory/hdn to the minidisk.
In this case, you should then run the minidisk command to change the attributes
to the values you want. You might also need to run the mkdir command to create
the mount directory, if you reinstalled the entire AIX Operating System.
You must have superuser authority or be a member of the system group to run the
mdrc command.
Processed November 8, 1990 MDRC(8,C) 1
MDRC(8,C) AIX Commands Reference MDRC(8,C)
FLAG
-h Specifies any disks that have been removed or damaged and tells the
mdrc command to remove the minidisk configuration entries for these
disks. If you do not specify this flag and a disk is not
configured, mdrc ignores entries in the configuration files for the
disk's minidisks. Use chdnum for ckd drives and fhdnum for fda
drives on S/370s.
-v Verbose option.
FILES
/etc/filesystems
Descriptions of the mountable file systems.
/etc/system Default system configuration file.
RELATED INFORMATION
See the following commands: "minidisks" and "mkdir."
See the filesystems and system files in AIX Operating System Technical
Reference.
Processed November 8, 1990 MDRC(8,C) 2