-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Closed
Copy link
Labels
area/storage/overlaykind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.version/19.03
Description
Description
We are manually building docker / moby runtime in a project and after updating to 19.03.7 we remarked that the Backing Filesystem for overlay2 is now shown as "<unknown>"
while it was "extfs"
in 19.03.6.
Steps to reproduce the issue:
- Install docker 19.03.7
- Execute "docker info"
Describe the results you received:
Server:
Server Version: 19.03.7
Storage Driver: overlay2
Backing Filesystem: <unknown>
Supports d_type: true
Native Overlay Diff: true
Describe the results you expected:
Server:
Server Version: 19.03.7
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Additional information:
This seems have been introduced with commit 5b6f2e1 which removes the filesystem check and now ommits setting backingFs variable, making it default to "<unknown>"
I am not a Go programmer, but probably something like the following can be readded in overlay.go in both overlay drivers:
fsMagic, err := graphdriver.GetFSMagic(testdir)
if err == nil {
if fsName, ok := graphdriver.FsNames[
64F0
fsMagic]; ok {
backingFs = fsName
}
}
devplayer0, tao12345666333, wuka1, vmmelo, niuqg and 2 more
Metadata
Metadata
Assignees
Labels
area/storage/overlaykind/bugBugs are bugs. The cause may or may not be known at triage time so debugging may be needed.Bugs are bugs. The cause may or may not be known at triage time so debugging may be needed.version/19.03