| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 | .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 uses mknod to create the character special files necessary tocontrol the aoe driver.  It also uses .I aoe-mkshelfto create block special files..PPIf your aoe driver supports only one partition per device (whole-diskpartitions), 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  nai:~# rm -rf /dev/etherd   nai:~# aoe-mkdevs /dev/etherd  nai:~# ls /dev/etherd | wc -l  1603  nai:~# rm -rf /dev/etherd  nai:~# n_partitions=1 aoe-mkdevs /dev/etherd  nai:~# ls /dev/etherd | wc -l  103.EE.LP.SH "SEE ALSO".IR aoe-discover (8),.IR aoe-interfaces (8),.IR aoe-mkshelf (8),.IR aoe-stat (8)..SH AUTHOREd L. Cashin (ecashin@coraid.com)
 |