Kconfig 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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_RAID6
  106. tristate "RAID-6 mode"
  107. depends on BLK_DEV_MD
  108. ---help---
  109. A RAID-6 set of N drives with a capacity of C MB per drive
  110. provides the capacity of C * (N - 2) MB, and protects
  111. against a failure of any two drives. For a given sector
  112. (row) number, (N - 2) drives contain data sectors, and two
  113. drives contains two independent redundancy syndromes. Like
  114. RAID-5, RAID-6 distributes the syndromes across the drives
  115. in one of the available parity distribution methods.
  116. RAID-6 requires mdadm-1.5.0 or later, available at:
  117. ftp://ftp.kernel.org/pub/linux/utils/raid/mdadm/
  118. If you want to use such a RAID-6 set, say Y. To compile
  119. this code as a module, choose M here: the module will be
  120. called raid6.
  121. If unsure, say Y.
  122. config MD_MULTIPATH
  123. tristate "Multipath I/O support"
  124. depends on BLK_DEV_MD
  125. help
  126. Multipath-IO is the ability of certain devices to address the same
  127. physical disk over multiple 'IO paths'. The code ensures that such
  128. paths can be defined and handled at runtime, and ensures that a
  129. transparent failover to the backup path(s) happens if a IO errors
  130. arrives on the primary path.
  131. If unsure, say N.
  132. config MD_FAULTY
  133. tristate "Faulty test module for MD"
  134. depends on BLK_DEV_MD
  135. help
  136. The "faulty" module allows for a block device that occasionally returns
  137. read or write errors. It is useful for testing.
  138. In unsure, say N.
  139. config BLK_DEV_DM
  140. tristate "Device mapper support"
  141. depends on MD
  142. ---help---
  143. Device-mapper is a low level volume manager. It works by allowing
  144. people to specify mappings for ranges of logical sectors. Various
  145. mapping types are available, in addition people may write their own
  146. modules containing custom mappings if they wish.
  147. Higher level volume managers such as LVM2 use this driver.
  148. To compile this as a module, choose M here: the module will be
  149. called dm-mod.
  150. If unsure, say N.
  151. config DM_CRYPT
  152. tristate "Crypt target support"
  153. depends on BLK_DEV_DM && EXPERIMENTAL
  154. select CRYPTO
  155. ---help---
  156. This device-mapper target allows you to create a device that
  157. transparently encrypts the data on it. You'll need to activate
  158. the ciphers you're going to use in the cryptoapi configuration.
  159. Information on how to use dm-crypt can be found on
  160. <http://www.saout.de/misc/dm-crypt/>
  161. To compile this code as a module, choose M here: the module will
  162. be called dm-crypt.
  163. If unsure, say N.
  164. config DM_SNAPSHOT
  165. tristate "Snapshot target (EXPERIMENTAL)"
  166. depends on BLK_DEV_DM && EXPERIMENTAL
  167. ---help---
  168. Allow volume managers to take writeable snapshots of a device.
  169. config DM_MIRROR
  170. tristate "Mirror target (EXPERIMENTAL)"
  171. depends on BLK_DEV_DM && EXPERIMENTAL
  172. ---help---
  173. Allow volume managers to mirror logical volumes, also
  174. needed for live data migration tools such as 'pvmove'.
  175. config DM_ZERO
  176. tristate "Zero target (EXPERIMENTAL)"
  177. depends on BLK_DEV_DM && EXPERIMENTAL
  178. ---help---
  179. A target that discards writes, and returns all zeroes for
  180. reads. Useful in some recovery situations.
  181. config DM_MULTIPATH
  182. tristate "Multipath target (EXPERIMENTAL)"
  183. depends on BLK_DEV_DM && EXPERIMENTAL
  184. ---help---
  185. Allow volume managers to support multipath hardware.
  186. config DM_MULTIPATH_EMC
  187. tristate "EMC CX/AX multipath support (EXPERIMENTAL)"
  188. depends on DM_MULTIPATH && BLK_DEV_DM && EXPERIMENTAL
  189. ---help---
  190. Multipath support for EMC CX/AX series hardware.
  191. endmenu