Kconfig 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  1. #
  2. # Block device driver configuration
  3. #
  4. menu "Multi-device support (RAID and LVM)"
  5. config MD
  6. bool "Multiple devices driver support (RAID and LVM)"
  7. help
  8. Support multiple physical spindles through a single logical device.
  9. Required for RAID and logical volume management.
  10. config BLK_DEV_MD
  11. tristate "RAID support"
  12. depends on MD
  13. ---help---
  14. This driver lets you combine several hard disk partitions into one
  15. logical block device. This can be used to simply append one
  16. partition to another one or to combine several redundant hard disks
  17. into a RAID1/4/5 device so as to provide protection against hard
  18. disk failures. This is called "Software RAID" since the combining of
  19. the partitions is done by the kernel. "Hardware RAID" means that the
  20. combining is done by a dedicated controller; if you have such a
  21. controller, you do not need to say Y here.
  22. More information about Software RAID on Linux is contained in the
  23. Software RAID mini-HOWTO, available from
  24. <http://www.tldp.org/docs.html#howto>. There you will also learn
  25. where to get the supporting user space utilities raidtools.
  26. If unsure, say N.
  27. config MD_LINEAR
  28. tristate "Linear (append) mode"
  29. depends on BLK_DEV_MD
  30. ---help---
  31. If you say Y here, then your multiple devices driver will be able to
  32. use the so-called linear mode, i.e. it will combine the hard disk
  33. partitions by simply appending one to the other.
  34. To compile this as a module, choose M here: the module
  35. will be called linear.
  36. If unsure, say Y.
  37. config MD_RAID0
  38. tristate "RAID-0 (striping) mode"
  39. depends on BLK_DEV_MD
  40. ---help---
  41. If you say Y here, then your multiple devices driver will be able to
  42. use the so-called raid0 mode, i.e. it will combine the hard disk
  43. partitions into one logical device in such a fashion as to fill them
  44. up evenly, one chunk here and one chunk there. This will increase
  45. the throughput rate if the partitions reside on distinct disks.
  46. Information about Software RAID on Linux is contained in the
  47. Software-RAID mini-HOWTO, available from
  48. <http://www.tldp.org/docs.html#howto>. There you will also
  49. learn where to get the supporting user space utilities raidtools.
  50. To compile this as a module, choose M here: the module
  51. will be called raid0.
  52. If unsure, say Y.
  53. config MD_RAID1
  54. tristate "RAID-1 (mirroring) mode"
  55. depends on BLK_DEV_MD
  56. ---help---
  57. A RAID-1 set consists of several disk drives which are exact copies
  58. of each other. In the event of a mirror failure, the RAID driver
  59. will continue to use the operational mirrors in the set, providing
  60. an error free MD (multiple device) to the higher levels of the
  61. kernel. In a set with N drives, the available space is the capacity
  62. of a single drive, and the set protects against a failure of (N - 1)
  63. drives.
  64. Information about Software RAID on Linux is contained in the
  65. Software-RAID mini-HOWTO, available from
  66. <http://www.tldp.org/docs.html#howto>. There you will also
  67. learn where to get the supporting user space utilities raidtools.
  68. If you want to use such a RAID-1 set, say Y. To compile this code
  69. as a module, choose M here: the module will be called raid1.
  70. If unsure, say Y.
  71. config MD_RAID10
  72. tristate "RAID-10 (mirrored striping) mode (EXPERIMENTAL)"
  73. depends on BLK_DEV_MD && EXPERIMENTAL
  74. ---help---
  75. RAID-10 provides a combination of striping (RAID-0) and
  76. mirroring (RAID-1) with easier configuration and more flexable
  77. layout.
  78. Unlike RAID-0, but like RAID-1, RAID-10 requires all devices to
  79. be the same size (or at least, only as much as the smallest device
  80. will be used).
  81. RAID-10 provides a variety of layouts that provide different levels
  82. of redundancy and performance.
  83. RAID-10 requires mdadm-1.7.0 or later, available at:
  84. ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/
  85. If unsure, say Y.
  86. config MD_RAID5
  87. tristate "RAID-4/RAID-5 mode"
  88. depends on BLK_DEV_MD
  89. ---help---
  90. A RAID-5 set of N drives with a capacity of C MB per drive provides
  91. the capacity of C * (N - 1) MB, and protects against a failure
  92. of a single drive. For a given sector (row) number, (N - 1) drives
  93. contain data sectors, and one drive contains the parity protection.
  94. For a RAID-4 set, the parity blocks are present on a single drive,
  95. while a RAID-5 set distributes the parity across the drives in one
  96. of the available parity distribution methods.
  97. Information about Software RAID on Linux is contained in the
  98. Software-RAID mini-HOWTO, available from
  99. <http://www.tldp.org/docs.html#howto>. There you will also
  100. learn where to get the supporting user space utilities raidtools.
  101. If you want to use such a RAID-4/RAID-5 set, say Y. To
  102. compile this code as a module, choose M here: the module
  103. will be called raid5.
  104. If unsure, say Y.
  105. config MD_RAID5_RESHAPE
  106. bool "Support adding drives to a raid-5 array (experimental)"
  107. depends on MD_RAID5 && EXPERIMENTAL
  108. ---help---
  109. A RAID-5 set can be expanded by adding extra drives. This
  110. requires "restriping" the array which means (almost) every
  111. block must be written to a different place.
  112. This option allows such restriping to be done while the array
  113. is online. However it is still EXPERIMENTAL code. It should
  114. work, but please be sure that you have backups.
  115. You will need a version of mdadm newer than 2.3.1. During the
  116. early stage of reshape there is a critical section where live data
  117. is being over-written. A crash during this time needs extra care
  118. for recovery. The newer mdadm takes a copy of the data in the
  119. critical section and will restore it, if necessary, after a crash.
  120. The mdadm usage is e.g.
  121. mdadm --grow /dev/md1 --raid-disks=6
  122. to grow '/dev/md1' to having 6 disks.
  123. Note: The array can only be expanded, not contracted.
  124. There should be enough spares already present to make the new
  125. array workable.
  126. config MD_RAID6
  127. tristate "RAID-6 mode"
  128. depends on BLK_DEV_MD
  129. ---help---
  130. A RAID-6 set of N drives with a capacity of C MB per drive
  131. provides the capacity of C * (N - 2) MB, and protects
  132. against a failure of any two drives. For a given sector
  133. (row) number, (N - 2) drives contain data sectors, and two
  134. drives contains two independent redundancy syndromes. Like
  135. RAID-5, RAID-6 distributes the syndromes across the drives
  136. in one of the available parity distribution methods.
  137. RAID-6 requires mdadm-1.5.0 or later, available at:
  138. ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/
  139. If you want to use such a RAID-6 set, say Y. To compile
  140. this code as a module, choose M here: the module will be
  141. called raid6.
  142. If unsure, say Y.
  143. config MD_MULTIPATH
  144. tristate "Multipath I/O support"
  145. depends on BLK_DEV_MD
  146. help
  147. Multipath-IO is the ability of certain devices to address the same
  148. physical disk over multiple 'IO paths'. The code ensures that such
  149. paths can be defined and handled at runtime, and ensures that a
  150. transparent failover to the backup path(s) happens if a IO errors
  151. arrives on the primary path.
  152. If unsure, say N.
  153. config MD_FAULTY
  154. tristate "Faulty test module for MD"
  155. depends on BLK_DEV_MD
  156. help
  157. The "faulty" module allows for a block device that occasionally returns
  158. read or write errors. It is useful for testing.
  159. In unsure, say N.
  160. config BLK_DEV_DM
  161. tristate "Device mapper support"
  162. depends on MD
  163. ---help---
  164. Device-mapper is a low level volume manager. It works by allowing
  165. people to specify mappings for ranges of logical sectors. Various
  166. mapping types are available, in addition people may write their own
  167. modules containing custom mappings if they wish.
  168. Higher level volume managers such as LVM2 use this driver.
  169. To compile this as a module, choose M here: the module will be
  170. called dm-mod.
  171. If unsure, say N.
  172. config DM_CRYPT
  173. tristate "Crypt target support"
  174. depends on BLK_DEV_DM && EXPERIMENTAL
  175. select CRYPTO
  176. ---help---
  177. This device-mapper target allows you to create a device that
  178. transparently encrypts the data on it. You'll need to activate
  179. the ciphers you're going to use in the cryptoapi configuration.
  180. Information on how to use dm-crypt can be found on
  181. <http://www.saout.de/misc/dm-crypt/>
  182. To compile this code as a module, choose M here: the module will
  183. be called dm-crypt.
  184. If unsure, say N.
  185. config DM_SNAPSHOT
  186. tristate "Snapshot target (EXPERIMENTAL)"
  187. depends on BLK_DEV_DM && EXPERIMENTAL
  188. ---help---
  189. Allow volume managers to take writeable snapshots of a device.
  190. config DM_MIRROR
  191. tristate "Mirror target (EXPERIMENTAL)"
  192. depends on BLK_DEV_DM && EXPERIMENTAL
  193. ---help---
  194. Allow volume managers to mirror logical volumes, also
  195. needed for live data migration tools such as 'pvmove'.
  196. config DM_ZERO
  197. tristate "Zero target (EXPERIMENTAL)"
  198. depends on BLK_DEV_DM && EXPERIMENTAL
  199. ---help---
  200. A target that discards writes, and returns all zeroes for
  201. reads. Useful in some recovery situations.
  202. config DM_MULTIPATH
  203. tristate "Multipath target (EXPERIMENTAL)"
  204. depends on BLK_DEV_DM && EXPERIMENTAL
  205. ---help---
  206. Allow volume managers to support multipath hardware.
  207. config DM_MULTIPATH_EMC
  208. tristate "EMC CX/AX multipath support (EXPERIMENTAL)"
  209. depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
  210. ---help---
  211. Multipath support for EMC CX/AX series hardware.
  212. endmenu