1aoe-mkdevs(8)               System Manager's Manual              aoe-mkdevs(8)
2
3
4

NAME

6       aoe-mkdevs - create special device files for aoe driver
7

SYNOPSIS

9       aoe-mkdevs {device-dir}
10       env n_partitions=1 aoe-mkdevs {device-dir}
11

DESCRIPTION

13       The aoe-mkdevs command uses mknod to create the character special files
14       necessary to control the aoe driver.  It also uses aoe-mkshelf to  cre‐
15       ate block special files.
16
17       If  your  aoe driver supports only one partition per device (whole-disk
18       partitions), then the device files must match, and you should  use  the
19       n_partitions environment variable described below.
20
21   Arguments
22       device-dir
23              This  should  be  the  name  of  the directory where the special
24              device files will be created.
25

ENVIRONMENT VARIABLES

27       If the n_partitions variable is set in the environment, it  will  over‐
28       ride the default number of partitions per aoe disk, namely 16.
29

EXAMPLE

31       In  this  example,  the  root  user on a host named nai creates special
32       files for using the aoe disks in shelf 7.  After remembering  that  the
33       driver  doesn't  have  partition support, this sysadmin gets rid of the
34       mismatching device nodes and calls aoe-mkdevs again  with  n_partitions
35       set to 1.
36
37              nai:~# rm -rf /dev/etherd
38              nai:~# aoe-mkdevs /dev/etherd
39              nai:~# ls /dev/etherd | wc -l
40              1603
41              nai:~# rm -rf /dev/etherd
42              nai:~# n_partitions=1 aoe-mkdevs /dev/etherd
43              nai:~# ls /dev/etherd | wc -l
44              103
45

SEE ALSO

47       aoe-discover(8), aoe-interfaces(8), aoe-mkshelf(8), aoe-stat(8).
48

AUTHOR

50       Ed L. Cashin (ecashin@coraid.com)
51
52
53
54                                                                 aoe-mkdevs(8)
Impressum