| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 | .TH aoe-mkdevs 8.SH NAMEaoe-mkdevs \- create special device files for aoe driver.SH SYNOPSIS.nf.B aoe-mkdevs {device-dir}.B env n_partitions=1 aoe-mkdevs {device-dir}.fi.SH DESCRIPTIONThe.I aoe-mkdevscommand is deprecated in favor of udev.  Systems with udev do not needto use the \fIaoe-mkdevs\fP or \fIaoe-mkself\fP commands, because udevwill create device nodes as needed..PPSystems without udev use \fIaoe-mkdevs\fP to create the characterspecial files necessary to control the aoe driver.  The \fIaoe-mkdevs\fP command uses .I aoe-mkshelfto also create block special files..PPThe aoe drivers after version 49 support dynamic minor device numbersso that a greater number of devices can be supported.  The\fIaoe-mkdevs\fP command is incompatible with dynamic device numbers.If your system lacks udev, and you are using an aoe driver version 50or above, use the aoe_dyndevs=0 module option to force the aoe driverto use static device numbers..PPIf you are not using dynamic device numbers, and you built your aoedriver to support only one partition per device (whole-disk partitions), then the device files must match, and you should use the .I n_partitionsenvironment variable described below..SS Arguments.TP\fBdevice-dir\fPThis should be the name of the directory where the special device fileswill be created..SH ENVIRONMENT VARIABLESIf the.I n_partitionsvariable is set in the environment, it will override the defaultnumber of partitions per aoe disk, namely 16..SH EXAMPLEIn this example, the root user on a host named.I naicreates special files for using the aoe disks in shelf 7.  Afterremembering that the driver doesn't have partition support, thissysadmin gets rid of the mismatching device nodes and calls\fIaoe-mkdevs\fP again with \fIn_partitions\fP set to 1..IP.EX.nfnai:~# rm -rf /dev/etherd nai:~# aoe-mkdevs /dev/etherdnai:~# ls /dev/etherd | wc -l1603nai:~# rm -rf /dev/etherdnai:~# n_partitions=1 aoe-mkdevs /dev/etherdnai:~# ls /dev/etherd | wc -l103.fi.EE.SH "SEE ALSO".IR aoe-discover (8),.IR aoe-interfaces (8),.IR aoe-mkshelf (8),.IR aoe-stat (8),.IR aoetools (8),.IR udev (7)..SH AUTHOREd L. Cashin (ecashin@coraid.com)
 |