Re: [atomic-devel] Fedora 26 change: using overlayfs as default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The Docker docs also has a breakdown of incompatibilities:

https://docs.docker.com/engine/userguide/storagedriver/overlayfs-driver/#/overlayfs-compatibility

Notably, there's the open(2) issue that has already been
mentioned. The second issue is that rename(2) can fail if
trying to move a dir across the lower and upper dirs:

$ mkdir lower upper work merged
$ mkdir lower/dir
$ sudo mount -t overlay overlay \
    -olowerdir=$PWD/lower,upperdir=$PWD/upper,workdir=$PWD/work \
    merged
$ python -c 'import os; os.rename("merged/dir", "merged/dir2")'
Traceback (most recent call last):
    File "<string>", line 1, in <module>
    OSError: [Errno 18] Invalid cross-device link

So you have to watch for EXDEV and fall back on copying.
_______________________________________________
cloud mailing list -- cloud@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to cloud-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux