Index Index for
Section 8
Index Alphabetical
listing for D
Index Bottom of
page

drd_mknod(8)

NAME

drd_mknod - Makes device special files for distributed raw disk (DRD) services (provided on Production Server configurations only)

SYNOPSIS

/usr/sbin/drd_mknod [flags]

FLAGS

-D dir Specifies the directory in which the drd_mknod utility is to place the device special files. The utility places device special files in the /dev/rdrd directory by default. -M mode Specifies the file creation mode number. The mode consists of a number that represents the permission settings as used by the chmod utility. The drd_mknod utility uses a default creation mode of 644. -N mode Specifies the file creation mode string. The mode consists of the permission setting information that is displayed in the first column when you enter the ls -l command. -R Queries to determine if the device special files must be re- created. When you specify this flag, the drd_mknod utility returns a value of zero (0) if the major number has not changed since the files were originally created. Otherwise, it returns a nonzero value, indicating that a rebuild is necessary. -S subdir Identifies the subdirectory of the directory specified with the -D flag in which the drd_mknod utility is to place the device special files. If you specify only the -D flag, you cannot specify a subdirectory. -d Deletes the corresponding files. By default, the drd_mknod utility creates new files. -f string Specifies a list of file names to be created by the drd_mknod utility (or deleted, if you specify the -d flag). To specify multiple file names, separate them with commas (,) and enclose the name string with double quotation marks ("). For example: "drd[0-9],drd21,drd30" Do not use any spaces or tabs between the file names. -g gid Specifies a global identifier (gid) to be used when the drd_mknod utility creates the files. The default gid is zero (0). -h Displays help. -m majno Specifies the DRD character major number. By default, the drd_mknod utility queries the DRD subsystem to determine its current major number. This is useful because the major number associated with the DRD subsystem can change when the system reboots. -u uid Specifies a user identifier (uid) to be used when the drd_mknod utility creates the files. The default uid is zero (0). -x Deletes all DRD device special files before creating any new files specified by the -f option. -z Displays additional debugging information.

DESCRIPTION

The drd_mknod utility creates the device special files that are used to represent DRD services in a Production Server configuration. Use this utility on the cluster members in an available server environment (ASE) that are clients of DRD services provided by cluster members in another ASE. When used on a cluster member within a given ASE, the asemgr utility automatically creates the DRD files representing the DRD services provided by that ASE. However, because the DRD device driver's major number may change each time a system reboots, the asemgr utility cannot specify the major number to remote nodes. Furthermore, you cannot use the conventional mknod utility to create DRD device special files on these nodes. Each time you use the asemgr utility to add a DRD service within an ASE, a message is displayed to remind you to run the drd_mknod utility on one node within all other ASEs in the cluster. Using the drd_mknod utility to create the DRD device special files on the cluster members outside of the serving ASE causes these systems to query the DRD subsystem to determine the DRD major number. You do not need to manually determine this major number. After the utility creates the DRD device special files, cluster members outside the ASE providing the DRD services can act as clients of these services. You can also create DRD device special files on the cluster members outside of the serving ASE by using the -r flag to the drd_ivp utility. The drd_ivp utility automatically issues all appropriate calls to the drd_mknod utility.

EXAMPLE

In the following example, ten DRD device special files will be created: drd_mknod -f "drd[0-9]"

FILE

/usr/sbin/drd_mknod Specifies the command path.

RELATED INFORMATION

drd(7), asemgr(8), mknod(8), drd_ivp(8)

Index Index for
Section 8
Index Alphabetical
listing for D
Index Top of
page