zfs not supported as upperdir or workdir for overlay mount
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
zfs cannot be used as a filesystem for an overlay mount's 'upperdir' or 'workdir' arguement.
If you have zfs root, or are inside an lxd that uses zfs then you'll not be able to use overlay mounts without working around this bug.
It can be worked around by using a tmpfs.
$ ./test-overlay
container=lxc
$ lsb_release -sc
focal
$ uname -r
5.4.0-25-generic
$ id
uid=0(root) gid=0(root) groups=0(root)
$ df --print-type /tmp/test-dir/mp
Filesystem Type 1K-blocks Used Available Use% Mounted on
default/
$ mount -t tmpfs tmpfs /tmp/test-dir/up
$ mount -t overlay -o lowerdir=
mount: /tmp/test-dir/mp: wrong fs type, bad option, bad superblock on overlay, missing codepage or helper program, or other error.
[ 1820.651111] overlayfs: filesystem on '/tmp/test-dir/wk' not supported as upperdir
FAIL
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: linux-image-
ProcVersionSign
Uname: Linux 5.4.0-25-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Apr 20 13:14:37 2020
InstallationDate: Installed on 2020-01-15 (95 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
MachineType: LENOVO 20KGS3Y900
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.187
SourcePackage: linux
UpgradeStatus: Upgraded to focal on 2020-04-17 (3 days ago)
dmi.bios.date: 04/20/2019
dmi.bios.vendor: LENOVO
dmi.bios.version: N23ET63W (1.38 )
dmi.board.
dmi.board.name: 20KGS3Y900
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad X1 Carbon 6th
dmi.product.name: 20KGS3Y900
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
This change was made by a bot.