Cannot mount overlay with upperdir on overlay

Bug #1629509 reported by Shaw
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
High
Unassigned
Xenial
Confirmed
High
Unassigned

Bug Description

I have a docker setup using overlay as its storage driver. I mount an overlay in the container. Both the lower, upper and work directories are themselves on an overlay filesystem. This mount started to fail after upgrading to kernel 4.4.0-38 from 4.4.0-34 with the error message "overlayfs: filesystem on '/mnt/overlay/upper' not supported as upperdir".

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-38-generic 4.4.0-38.57
ProcVersionSignature: Ubuntu 4.4.0-38.57-generic 4.4.19
Uname: Linux 4.4.0-38-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: shaw 2257 F.... pulseaudio
 /dev/snd/controlC1: shaw 2257 F.... pulseaudio
CurrentDesktop: Unity
Date: Fri Sep 30 20:06:03 2016
HibernationDevice: RESUME=UUID=f23b927f-5173-43fe-9269-8c7714fb0927
InstallationDate: Installed on 2016-07-23 (69 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
MachineType: Dell Inc. XPS13 9333
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-38-generic root=UUID=306f5ab9-de0e-4920-be20-3f4081e13c7e ro persistent quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-38-generic N/A
 linux-backports-modules-4.4.0-38-generic N/A
 linux-firmware 1.157.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/19/2014
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: 0.1
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd03/19/2014:svnDellInc.:pnXPS139333:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr0.1:
dmi.product.name: XPS13 9333
dmi.sys.vendor: Dell Inc.

Revision history for this message
Shaw (svrana) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream stable kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.4 stable kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.4.23

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Changed in linux (Ubuntu Xenial):
status: New → Incomplete
importance: Undecided → High
tags: added: kernel-da-key needs-bisect
Revision history for this message
Shaw (svrana) wrote :

Yes, exists in 4.4.23-040423-generic as well.

Revision history for this message
Shaw (svrana) wrote :

Hmm, looking at the kernel source this seems intentional. See commit 76bc8e2843b66f8205026365966b49ec6da39ae7.

Shaw (svrana)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Changed in linux (Ubuntu Xenial):
status: Incomplete → Confirmed
Revision history for this message
Raphaël Droz (raphael-droz) wrote :

Any workaround found so far? (still affect kernel 4.9 [both host and guest])

Revision history for this message
Shaw (svrana) wrote :

I switched to devicemapper as the storage driver.

Revision history for this message
Brett Randall (javabrett) wrote :

Commit link: https://github.com/torvalds/linux/commit/76bc8e2843b66f8205026365966b49ec6da39ae7

Does anyone understand enough about "This does not work and does not make sense." to log an upstream/kernel bug, to request a fix/reconsideration? I wonder what broke in overlay-on-overlay.

Revision history for this message
Brett Randall (javabrett) wrote :

To answer my own question above, I found these posts: https://lkml.org/lkml/2018/1/8/81 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.