mirror_zfs/scripts/zpool-layout/dragon.ddn.conf
Brian Behlendorf a5b4d63582 Add [-m map] option to zpool_layout
By default the zpool_layout command would always use the slot
number assigned by Linux when generating the zdev.conf file.
This is a reasonable default there are cases when it makes
sense to remap the slot id assigned by Linux using your own
custom mapping.

This commit adds support to zpool_layout to provide a custom
slot mapping file.  The file contains in the first column the
Linux slot it and in the second column the custom slot mapping.
By passing this map file with '-m map' to zpool_config the
mapping will be applied when generating zdev.conf.

Additionally, two sample mapping have been added which reflect
different ways to map the slots in the dragon drawers.
2010-09-17 11:02:19 -07:00

68 lines
476 B
Plaintext

#
# Custom DDN slot mapping for zpool_layout command and
# StorageScaler 6000 enclosures (Dragon Drawer).
#
# Linux DDN
# Slot Slot
#
1 1
2 13
3 25
4 37
5 49
6 2
7 14
8 26
9 38
10 50
11 3
12 15
13 27
14 39
15 51
16 4
17 16
18 28
19 40
20 52
21 5
22 17
23 29
24 41
25 53
26 6
27 18
28 30
29 42
30 54
31 7
32 19
33 31
34 43
35 55
36 8
37 20
38 32
39 44
40 56
41 9
42 21
43 33
44 45
45 57
46 10
47 22
48 34
49 46
50 58
51 11
52 23
53 35
54 47
55 59
56 12
57 24
58 36
59 48
60 60