Kconfig 9.3 KB

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