Kconfig 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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 mdadm verion 2.4.1 or later to use this
  116. feature safely. During the early stage of reshape there is
  117. a critical section where live data is being over-written. A
  118. crash during this time needs extra care for recovery. The
  119. newer mdadm takes a copy of the data in the critical section
  120. and will restore it, if necessary, after a crash.
  121. The mdadm usage is e.g.
  122. mdadm --grow /dev/md1 --raid-disks=6
  123. to grow '/dev/md1' to having 6 disks.
  124. Note: The array can only be expanded, not contracted.
  125. There should be enough spares already present to make the new
  126. array workable.
  127. config MD_RAID6
  128. tristate "RAID-6 mode"
  129. depends on BLK_DEV_MD
  130. ---help---
  131. A RAID-6 set of N drives with a capacity of C MB per drive
  132. provides the capacity of C * (N - 2) MB, and protects
  133. against a failure of any two drives. For a given sector
  134. (row) number, (N - 2) drives contain data sectors, and two
  135. drives contains two independent redundancy syndromes. Like
  136. RAID-5, RAID-6 distributes the syndromes across the drives
  137. in one of the available parity distribution methods.
  138. RAID-6 requires mdadm-1.5.0 or later, available at:
  139. ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/
  140. If you want to use such a RAID-6 set, say Y. To compile
  141. this code as a module, choose M here: the module will be
  142. called raid6.
  143. If unsure, say Y.
  144. config MD_MULTIPATH
  145. tristate "Multipath I/O support"
  146. depends on BLK_DEV_MD
  147. help
  148. Multipath-IO is the ability of certain devices to address the same
  149. physical disk over multiple 'IO paths'. The code ensures that such
  150. paths can be defined and handled at runtime, and ensures that a
  151. transparent failover to the backup path(s) happens if a IO errors
  152. arrives on the primary path.
  153. If unsure, say N.
  154. config MD_FAULTY
  155. tristate "Faulty test module for MD"
  156. depends on BLK_DEV_MD
  157. help
  158. The "faulty" module allows for a block device that occasionally returns
  159. read or write errors. It is useful for testing.
  160. In unsure, say N.
  161. config BLK_DEV_DM
  162. tristate "Device mapper support"
  163. depends on MD
  164. ---help---
  165. Device-mapper is a low level volume manager. It works by allowing
  166. people to specify mappings for ranges of logical sectors. Various
  167. mapping types are available, in addition people may write their own
  168. modules containing custom mappings if they wish.
  169. Higher level volume managers such as LVM2 use this driver.
  170. To compile this as a module, choose M here: the module will be
  171. called dm-mod.
  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. ---help---
  178. This device-mapper target allows you to create a device that
  179. transparently encrypts the data on it. You'll need to activate
  180. the ciphers you're going to use in the cryptoapi configuration.
  181. Information on how to use dm-crypt can be found on
  182. <http://www.saout.de/misc/dm-crypt/>
  183. To compile this code as a module, choose M here: the module will
  184. be called dm-crypt.
  185. If unsure, say N.
  186. config DM_SNAPSHOT
  187. tristate "Snapshot target (EXPERIMENTAL)"
  188. depends on BLK_DEV_DM && EXPERIMENTAL
  189. ---help---
  190. Allow volume managers to take writeable snapshots of a device.
  191. config DM_MIRROR
  192. tristate "Mirror target (EXPERIMENTAL)"
  193. depends on BLK_DEV_DM && EXPERIMENTAL
  194. ---help---
  195. Allow volume managers to mirror logical volumes, also
  196. needed for live data migration tools such as 'pvmove'.
  197. config DM_ZERO
  198. tristate "Zero target (EXPERIMENTAL)"
  199. depends on BLK_DEV_DM && EXPERIMENTAL
  200. ---help---
  201. A target that discards writes, and returns all zeroes for
  202. reads. Useful in some recovery situations.
  203. config DM_MULTIPATH
  204. tristate "Multipath target (EXPERIMENTAL)"
  205. depends on BLK_DEV_DM && EXPERIMENTAL
  206. ---help---
  207. Allow volume managers to support multipath hardware.
  208. config DM_MULTIPATH_EMC
  209. tristate "EMC CX/AX multipath support (EXPERIMENTAL)"
  210. depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
  211. ---help---
  212. Multipath support for EMC CX/AX series hardware.
  213. endmenu