{"id":1657,"date":"2016-12-14T16:46:35","date_gmt":"2016-12-14T07:46:35","guid":{"rendered":"https:\/\/blog.ymyzk.com\/?p=1657"},"modified":"2016-12-14T18:21:18","modified_gmt":"2016-12-14T09:21:18","slug":"aufs-unavailable-by-default-on-debian-9-stretch","status":"publish","type":"post","link":"https:\/\/blog.ymyzk.com\/2016\/12\/aufs-unavailable-by-default-on-debian-9-stretch\/","title":{"rendered":"Debian 9 stretch \u3067\u306f aufs \u3092\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5229\u7528\u3067\u304d\u306a\u3044"},"content":{"rendered":"
aufs \u306f union mount \u3092\u5b9f\u73fe\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u4e00\u3064\u3067, Docker \u304c\u5229\u7528\u3057\u3066\u3044\u308b\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u4e00\u3064\u3067\u3059. \u00a02017\u5e74\u306b\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u308c\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044 Debian 9 stretch \u3067\u306f aufs \u304c\u6a19\u6e96\u306e\u30ab\u30fc\u30cd\u30eb\u3067\u306f\u5229\u7528\u3067\u304d\u306a\u304f\u306a\u308a, DKMS \u3092\u7528\u3044\u3066\u5c0e\u5165\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059.<\/p>\n
<\/p>\n
Debian 8 jessie \u4ee5\u524d\u3067\u306f aufs \u304c\u6a19\u6e96\u306e linux-image \u306b\u30ab\u30fc\u30cd\u30eb\u30e2\u30b8\u30e5\u30fc\u30eb\u3068\u3057\u3066\u542b\u307e\u308c\u3066\u304a\u308a, \u7c21\u5358\u306b\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f. Docker \u3082 Debian \u3067\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30c9\u30e9\u30a4\u30d0\u3068\u3057\u3066 aufs \u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3057\u305f.<\/p>\n
Debian 9 stretch \u3067\u306f aufs \u304c linux-image \u306e\u4e2d\u306b\u542b\u307e\u308c\u306a\u304f\u306a\u308a\u307e\u3057\u305f. \u3053\u306e\u3053\u3068\u306f2014\u5e7412\u6708\u306e debian-kernel ML \u306b\u8a18\u8ff0\u3055\u308c\u3066\u3044\u307e\u3059.<\/p>\n
The overlayfs union filesystem was included in Linux 3.18. I am
\nassuming that this will cover the needs of Debian live systems, so I\u2019ve\u00a0dropped aufs from the Debian packaging. Replacing aufs with overlayfs<\/cite><\/a><\/p><\/blockquote>\nDebian \u3067 aufs \u3092\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u306e\u306f Live \u30b7\u30b9\u30c6\u30e0 (Live CD \u306a\u3069) \u306e\u305f\u3081\u3067, Linux 3.18 \u304b\u3089\u65b0\u3057\u3044 union mount \u306b\u5bfe\u5fdc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u3067\u3042\u308b overlayfs \u304c\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u305f\u3081, aufs \u306f\u4e0d\u8981\u306b\u306a\u3063\u305f\u3068\u3044\u3046\u7d4c\u7def\u306e\u3088\u3046\u3067\u3059.<\/p>\n
Debian 9 stretch \u3067\u306e aufs-dkms \u306e\u63d0\u4f9b<\/h2>\n
aufs \u304c\u5229\u7528\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u304b\u3089\u3057\u3070\u3089\u304f\u7d4c\u3063\u305f 2016\u5e749\u6708\u306b, aufs-dkms<\/a> \u3068\u3044\u3046\u30d1\u30c3\u30b1\u30fc\u30b8\u304c unstable \u306b\u8ffd\u52a0\u3055\u308c, 2016\u5e7410\u6708\u304b\u3089 stretch\/testing \u3067\u3082\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f. DKMS \u306f apt \u3067\u7c21\u5358\u306b\u5c0e\u5165\u3067\u304d\u307e\u3059.<\/p>\n
sudo aptitude install aufs-dkms<\/code><\/pre>\n
Docker \u3067\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30b9\u30c8\u30ec\u30fc\u30b8\u30c9\u30e9\u30a4\u30d0<\/h2>\n
aufs-dkms \u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408, Debian 9 stretch \u3067\u306f Docker \u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30c9\u30e9\u30a4\u30d0\u304c devicemapper \u306b\u5909\u308f\u3063\u3066\u3044\u307e\u3059. aufs-dkms \u3092\u5c0e\u5165\u3057\u305f\u72b6\u614b\u3067 Docker \u3092\u5c0e\u5165\u3059\u308b\u3068, \u30c7\u30d5\u30a9\u30eb\u30c8\u3067 aufs \u306e\u30b9\u30c8\u30ec\u30fc\u30b8\u30c9\u30e9\u30a4\u30d0\u304c\u5229\u7528\u3055\u308c\u308b\u3088\u3046\u3067\u3059.<\/p>\n
aufs \u306f Docker \u3067\u306e\u4f7f\u7528\u306b\u304a\u3044\u3066 stable \u3067 production ready \u3068\u3055\u308c\u3066\u3044\u308b<\/a>\u305f\u3081, \u5fc5\u8981\u306b\u5fdc\u3058\u3067 aufs-dkms \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u5229\u7528\u3059\u308b\u306e\u304c\u826f\u3055\u305d\u3046\u3067\u3059.\u00a0\u306a\u304a, Debian \u3092\u3082\u3068\u306b\u3057\u3066\u3044\u308b Ubuntu \u3067\u306f, \u6700\u65b0\u306e Ubuntu 16.10 Yakkety Yak \u3067\u3082\u6a19\u6e96\u3067 aufs \u304c\u5229\u7528\u3067\u304d\u307e\u3059.<\/p>\n
\u53c2\u8003<\/h2>\n