# Upgrade and rebuild reporting I need to use Aufs instead of Devicemapper (on CentOS)

**URL:** <https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197>\
**Category:** Support\
**Created:** [2017年六月8日 22:59 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197 "2017-06-08T22:59:36Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![robbyoconnor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robbyoconnor/32/120330_2.png) [@robbyoconnor](https://meta.discourse.org/u/robbyoconnor)\
**Post date:** [2017年六月9日 21:14 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/24 "2017-06-09T21:14:57Z")

</div>

is there a reason CentOS uses such an old kernel?

---

<div class="post-metadata">

**Author:** ![AstonJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/astonj/32/215041_2.png) [@AstonJ](https://meta.discourse.org/u/AstonJ)\
**Post date:** [2017年六月9日 21:33 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/25 "2017-06-09T21:33:49Z")

</div>

The server went live two years ago.

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年六月12日 18:43 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/26 "2017-06-12T18:43:48Z")

</div>

Without doing an actual search, it seems like this “my install broke because of devicemapper” topic comes up three times a week. (And I think I remember some post somewhere that says “we recently fixed the test to see if people were using this likely-broken thing, so we let some people install with the thing we think is broken”). This is among the most cogent responses I’ve seen. Perhaps there should be a #howto about this issue that we could just point people to?

---

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2017年六月12日 18:44 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/27 "2017-06-12T18:44:20Z")

</div>

> [@AstonJ](#):
>
> The server went live two years ago.

It’s probably not too soon to upgrade the kernel, then.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2019年六月18日 02:15 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/28 "2019-06-18T02:15:53Z")

</div>



---

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2019年六月19日 22:03 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/29 "2019-06-19T22:03:27Z")

</div>

Closing this topic as out of date. `overlay2` is now the recommended storage driver for current versions of Docker. From the [Docker documentation](https://docs.docker.com/storage/storagedriver/select-storage-driver/) as of 2019-06-19T04:00:00Z, emphasis mine:

- `overlay2` is the preferred storage driver, for all currently supported Linux distributions, and requires no extra configuration.
- `aufs` is the preferred storage driver for Docker 18.06 and older, when running on Ubuntu 14.04 on kernel 3.13 which has no support for `overlay2`.
- `devicemapper` is supported, but requires `direct-lvm` for production environments, because `loopback-lvm`, while zero-configuration, has very poor performance. `devicemapper` was the recommended storage driver for CentOS and RHEL, as their kernel version did not support `overlay2`. **However, current versions of CentOS and RHEL now have support for `overlay2`, which is now the recommended driver.**

---

<div class="post-metadata">

**Author:** ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)\
**Post date:** [2019年六月19日 22:03 UTC](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197/30 "2019-06-19T22:03:31Z")

</div>



[上一頁](https://meta.discourse.org/t/upgrade-and-rebuild-reporting-i-need-to-use-aufs-instead-of-devicemapper-on-centos/64197.md?page=1)
