1
0

lvm2-2.03.20-example.conf.in.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Add Gentoo specific changes
  2. --- a/conf/example.conf.in
  3. +++ b/conf/example.conf.in
  4. @@ -170,6 +170,9 @@
  5. # Example
  6. # Accept every block device:
  7. # filter = [ "a|.*|" ]
  8. + # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel
  9. + # noise when you probed while not available.
  10. + filter = [ "r|/dev/nbd.*|", "a|.*|" ]
  11. # Reject the cdrom drive:
  12. # filter = [ "r|/dev/cdrom|" ]
  13. # Work with just loopback devices, e.g. for testing:
  14. @@ -1843,7 +1846,7 @@
  15. # Configuration section metadata.
  16. # This configuration section has an automatic default value.
  17. -# metadata {
  18. +metadata {
  19. # Configuration option metadata/check_pv_device_sizes.
  20. # Check device sizes are not smaller than corresponding PV sizes.
  21. @@ -1888,7 +1891,8 @@
  22. #
  23. # This configuration option is advanced.
  24. # This configuration option has an automatic default value.
  25. - # pvmetadatacopies = 1
  26. + # Gentoo: enable for data safety, but PV resize is then disabled.
  27. + # pvmetadatacopies = 2
  28. # Configuration option metadata/vgmetadatacopies.
  29. # Number of copies of metadata to maintain for each VG.
  30. @@ -1931,7 +1935,7 @@
  31. # This configuration option is advanced.
  32. # This configuration option has an automatic default value.
  33. # stripesize = 64
  34. -# }
  35. +}
  36. # Configuration section report.
  37. # LVM report command output formatting.