Kconfig 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266
  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. ---help---
  91. A RAID-5 set of N drives with a capacity of C MB per drive provides
  92. the capacity of C * (N - 1) MB, and protects against a failure
  93. of a single drive. For a given sector (row) number, (N - 1) drives
  94. contain data sectors, and one drive contains the parity protection.
  95. For a RAID-4 set, the parity blocks are present on a single drive,
  96. while a RAID-5 set distributes the parity across the drives in one
  97. of the available parity distribution methods.
  98. A RAID-6 set of N drives with a capacity of C MB per drive
  99. provides the capacity of C * (N - 2) MB, and protects
  100. against a failure of any two drives. For a given sector
  101. (row) number, (N - 2) drives contain data sectors, and two
  102. drives contains two independent redundancy syndromes. Like
  103. RAID-5, RAID-6 distributes the syndromes across the drives
  104. in one of the available parity distribution methods.
  105. Information about Software RAID on Linux is contained in the
  106. Software-RAID mini-HOWTO, available from
  107. <http://www.tldp.org/docs.html#howto>. There you will also
  108. learn where to get the supporting user space utilities raidtools.
  109. If you want to use such a RAID-4/RAID-5/RAID-6 set, say Y. To
  110. compile this code as a module, choose M here: the module
  111. will be called raid456.
  112. If unsure, say Y.
  113. config MD_RAID5_RESHAPE
  114. bool "Support adding drives to a raid-5 array"
  115. depends on MD_RAID456
  116. default y
  117. ---help---
  118. A RAID-5 set can be expanded by adding extra drives. This
  119. requires "restriping" the array which means (almost) every
  120. block must be written to a different place.
  121. This option allows such restriping to be done while the array
  122. is online.
  123. You will need mdadm version 2.4.1 or later to use this
  124. feature safely. During the early stage of reshape there is
  125. a critical section where live data is being over-written. A
  126. crash during this time needs extra care for recovery. The
  127. newer mdadm takes a copy of the data in the critical section
  128. and will restore it, if necessary, after a crash.
  129. The mdadm usage is e.g.
  130. mdadm --grow /dev/md1 --raid-disks=6
  131. to grow '/dev/md1' to having 6 disks.
  132. Note: The array can only be expanded, not contracted.
  133. There should be enough spares already present to make the new
  134. array workable.
  135. If unsure, say Y.
  136. config MD_MULTIPATH
  137. tristate "Multipath I/O support"
  138. depends on BLK_DEV_MD
  139. help
  140. Multipath-IO is the ability of certain devices to address the same
  141. physical disk over multiple 'IO paths'. The code ensures that such
  142. paths can be defined and handled at runtime, and ensures that a
  143. transparent failover to the backup path(s) happens if a IO errors
  144. arrives on the primary path.
  145. If unsure, say N.
  146. config MD_FAULTY
  147. tristate "Faulty test module for MD"
  148. depends on BLK_DEV_MD
  149. help
  150. The "faulty" module allows for a block device that occasionally returns
  151. read or write errors. It is useful for testing.
  152. In unsure, say N.
  153. config BLK_DEV_DM
  154. tristate "Device mapper support"
  155. depends on MD
  156. ---help---
  157. Device-mapper is a low level volume manager. It works by allowing
  158. people to specify mappings for ranges of logical sectors. Various
  159. mapping types are available, in addition people may write their own
  160. modules containing custom mappings if they wish.
  161. Higher level volume managers such as LVM2 use this driver.
  162. To compile this as a module, choose M here: the module will be
  163. called dm-mod.
  164. If unsure, say N.
  165. config DM_DEBUG
  166. boolean "Device mapper debugging support"
  167. depends on BLK_DEV_DM && EXPERIMENTAL
  168. ---help---
  169. Enable this for messages that may help debug device-mapper problems.
  170. If unsure, say N.
  171. config DM_CRYPT
  172. tristate "Crypt target support"
  173. depends on BLK_DEV_DM && EXPERIMENTAL
  174. select CRYPTO
  175. ---help---
  176. This device-mapper target allows you to create a device that
  177. transparently encrypts the data on it. You'll need to activate
  178. the ciphers you're going to use in the cryptoapi configuration.
  179. Information on how to use dm-crypt can be found on
  180. <http://www.saout.de/misc/dm-crypt/>
  181. To compile this code as a module, choose M here: the module will
  182. be called dm-crypt.
  183. If unsure, say N.
  184. config DM_SNAPSHOT
  185. tristate "Snapshot target (EXPERIMENTAL)"
  186. depends on BLK_DEV_DM && EXPERIMENTAL
  187. ---help---
  188. Allow volume managers to take writable snapshots of a device.
  189. config DM_MIRROR
  190. tristate "Mirror target (EXPERIMENTAL)"
  191. depends on BLK_DEV_DM && EXPERIMENTAL
  192. ---help---
  193. Allow volume managers to mirror logical volumes, also
  194. needed for live data migration tools such as 'pvmove'.
  195. config DM_ZERO
  196. tristate "Zero target (EXPERIMENTAL)"
  197. depends on BLK_DEV_DM && EXPERIMENTAL
  198. ---help---
  199. A target that discards writes, and returns all zeroes for
  200. reads. Useful in some recovery situations.
  201. config DM_MULTIPATH
  202. tristate "Multipath target (EXPERIMENTAL)"
  203. depends on BLK_DEV_DM && EXPERIMENTAL
  204. ---help---
  205. Allow volume managers to support multipath hardware.
  206. config DM_MULTIPATH_EMC
  207. tristate "EMC CX/AX multipath support (EXPERIMENTAL)"
  208. depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
  209. ---help---
  210. Multipath support for EMC CX/AX series hardware.
  211. endmenu
  212. endif