* ovl: mounting two times the same mount overlayfs will not list any directory entry anymore
@ 2017-09-12 9:38 Jordi Pujol Palomer
2017-09-12 10:47 ` Amir Goldstein
0 siblings, 1 reply; 5+ messages in thread
From: Jordi Pujol Palomer @ 2017-09-12 9:38 UTC (permalink / raw)
To: overlayfs, Amir Goldstein
[-- Attachment #1: Type: text/plain, Size: 625 bytes --]
Hello,
Maybe this is another overlayfs error, only for v4.13; it works well in
previous version 4.12.
When mounting two times the same mount, overlayfs will not list any
directory entry anymore.
Attached is the script log,
Look for the line:
+lnet-remaster:361:_chroot_mount: mount -o
bind /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp/
Comments:
/tmp/ is already mounted in /tmp/live-net-remaster-Fg9o5x/chroot/tmp/
after mounting /tmp another time in the same location all overlay
entries in the chroot directory disappear,
no errors are listed in the log file, dmesg or journalctl.
Thanks,
Jordi Pujol i Palomer
[-- Attachment #2: lnet-remaster-_chroot_mount.txt --]
[-- Type: text/plain, Size: 15183 bytes --]
+lnet-remaster:353:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 24
drwxr-xr-x 2 root root 2398 ago 26 09:40 bin
drwxr-xr-x 2 root root 148 set 12 10:44 boot
drwxr-xr-x 2 root root 3 set 12 10:40 dev
drwxr-xr-x 1 root root 4096 set 12 11:06 etc
drwxr-xr-x 1 root root 4096 set 12 11:06 home
lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686
drwxr-xr-x 15 root root 399 ago 8 08:08 lib
drwxr-xr-x 2 root root 3 set 24 2009 media
drwxr-xr-x 2 root root 3 nov 26 2014 mnt
drwxr-xr-x 2 root root 3 set 4 2009 opt
dr-xr-xr-x 2 root root 3 set 12 10:40 proc
drwxr-xr-x 1 root root 4096 set 12 11:06 root
drwxr-xr-x 1 root root 4096 set 12 11:06 run
drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin
drwxr-xr-x 2 root root 3 set 4 2009 srv
dr-xr-xr-x 13 root root 0 set 12 11:06 sys
drwxrwxrwt 11 root root 260 set 12 11:07 tmp
drwxr-xr-x 1 root root 4096 des 19 2011 usr
drwxr-xr-x 1 root root 4096 jun 30 2011 var
lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686
+lnet-remaster:354:_chroot_mount: mount -o bind /dev/ /tmp/live-net-remaster-Fg9o5x/chroot/dev
+lnet-remaster:355:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 24
drwxr-xr-x 2 root root 2398 ago 26 09:40 bin
drwxr-xr-x 2 root root 148 set 12 10:44 boot
drwxr-xr-x 19 root root 3420 set 12 11:06 dev
drwxr-xr-x 1 root root 4096 set 12 11:06 etc
drwxr-xr-x 1 root root 4096 set 12 11:06 home
lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686
drwxr-xr-x 15 root root 399 ago 8 08:08 lib
drwxr-xr-x 2 root root 3 set 24 2009 media
drwxr-xr-x 2 root root 3 nov 26 2014 mnt
drwxr-xr-x 2 root root 3 set 4 2009 opt
dr-xr-xr-x 2 root root 3 set 12 10:40 proc
drwxr-xr-x 1 root root 4096 set 12 11:06 root
drwxr-xr-x 1 root root 4096 set 12 11:06 run
drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin
drwxr-xr-x 2 root root 3 set 4 2009 srv
dr-xr-xr-x 13 root root 0 set 12 11:06 sys
drwxrwxrwt 11 root root 260 set 12 11:07 tmp
drwxr-xr-x 1 root root 4096 des 19 2011 usr
drwxr-xr-x 1 root root 4096 jun 30 2011 var
lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686
+lnet-remaster:356:_chroot_mount: mount -o bind /dev/pts /tmp/live-net-remaster-Fg9o5x/chroot/dev/pts
+lnet-remaster:357:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 24
drwxr-xr-x 2 root root 2398 ago 26 09:40 bin
drwxr-xr-x 2 root root 148 set 12 10:44 boot
drwxr-xr-x 19 root root 3420 set 12 11:06 dev
drwxr-xr-x 1 root root 4096 set 12 11:06 etc
drwxr-xr-x 1 root root 4096 set 12 11:06 home
lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686
drwxr-xr-x 15 root root 399 ago 8 08:08 lib
drwxr-xr-x 2 root root 3 set 24 2009 media
drwxr-xr-x 2 root root 3 nov 26 2014 mnt
drwxr-xr-x 2 root root 3 set 4 2009 opt
dr-xr-xr-x 2 root root 3 set 12 10:40 proc
drwxr-xr-x 1 root root 4096 set 12 11:06 root
drwxr-xr-x 1 root root 4096 set 12 11:06 run
drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin
drwxr-xr-x 2 root root 3 set 4 2009 srv
dr-xr-xr-x 13 root root 0 set 12 11:06 sys
drwxrwxrwt 11 root root 260 set 12 11:07 tmp
drwxr-xr-x 1 root root 4096 des 19 2011 usr
drwxr-xr-x 1 root root 4096 jun 30 2011 var
lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686
+lnet-remaster:358:_chroot_mount: mount -o bind /sys /tmp/live-net-remaster-Fg9o5x/chroot/sys
+lnet-remaster:359:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 24
drwxr-xr-x 2 root root 2398 ago 26 09:40 bin
drwxr-xr-x 2 root root 148 set 12 10:44 boot
drwxr-xr-x 19 root root 3420 set 12 11:06 dev
drwxr-xr-x 1 root root 4096 set 12 11:06 etc
drwxr-xr-x 1 root root 4096 set 12 11:06 home
lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686
drwxr-xr-x 15 root root 399 ago 8 08:08 lib
drwxr-xr-x 2 root root 3 set 24 2009 media
drwxr-xr-x 2 root root 3 nov 26 2014 mnt
drwxr-xr-x 2 root root 3 set 4 2009 opt
dr-xr-xr-x 2 root root 3 set 12 10:40 proc
drwxr-xr-x 1 root root 4096 set 12 11:06 root
drwxr-xr-x 1 root root 4096 set 12 11:06 run
drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin
drwxr-xr-x 2 root root 3 set 4 2009 srv
dr-xr-xr-x 13 root root 0 set 12 11:06 sys
drwxrwxrwt 11 root root 260 set 12 11:07 tmp
drwxr-xr-x 1 root root 4096 des 19 2011 usr
drwxr-xr-x 1 root root 4096 jun 30 2011 var
lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686
+lnet-remaster:360:_chroot_mount: mount-list
sysfs /sys sysfs nodev,noexec,nosuid,relatime,rw sysfs 0:17
proc /proc proc nodev,noexec,nosuid,relatime,rw proc 0:5
udev /dev devtmpfs mode=755,nosuid,nr_inodes=978526,relatime,rw,size=3914104k udev 0:6
devpts /dev/pts devpts gid=5,mode=620,noexec,nosuid,ptmxmode=000,relatime,rw devpts 0:18
tmpfs /run tmpfs mode=755,noexec,nosuid,relatime,rw,size=786156k tmpfs 0:19
tmpfs /lnet tmpfs mode=755,relatime,rw,size=7861540k tmpfs 0:20
/dev/sda1 /lnet/image ext2 errors=continue,noacl,noatime,nouser_xattr,ro /dev/sda1 8:1
/lnet/image/LneTXFCE64/00filesystem.squashfs /lnet/00filesystem.squashfs squashfs noatime,ro,loop=/dev/loop0 /dev/loop0 7:0
/lnet/image/LneTXFCE64/10interfaces.squashfs /lnet/10interfaces.squashfs squashfs noatime,ro,loop=/dev/loop1 /dev/loop1 7:1
/dev/sda2 /lnet/cowroot ext4 data=ordered,relatime,rw /dev/sda2 8:2
overlay / overlay index=off,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,relatime,rw,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work overlay 0:21
tmpfs /tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:22
tmpfs /var/log tmpfs mode=755,nosuid,relatime,rw,size=7861540k tmpfs 0:23
tmpfs /var/tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:24
securityfs /sys/kernel/security securityfs nodev,noexec,nosuid,relatime,rw securityfs 0:7
tmpfs /dev/shm tmpfs nodev,nosuid,rw,mode=1777 tmpfs 0:25
tmpfs /run/lock tmpfs nodev,noexec,nosuid,relatime,rw,size=5120k,mode=1777 tmpfs 0:26
tmpfs /sys/fs/cgroup tmpfs mode=755,nodev,noexec,nosuid,ro tmpfs 0:27
cgroup /sys/fs/cgroup/unified cgroup2 nodev,noexec,nosuid,relatime,rw cgroup 0:28
cgroup /sys/fs/cgroup/systemd cgroup name=systemd,nodev,noexec,nosuid,relatime,rw,xattr cgroup 0:29
pstore /sys/fs/pstore pstore nodev,noexec,nosuid,relatime,rw pstore 0:30
cgroup /sys/fs/cgroup/cpu cgroup cpu,nodev,noexec,nosuid,relatime,rw cgroup 0:31
systemd-1 /proc/sys/fs/binfmt_misc autofs direct,fd=32,maxproto=5,minproto=5,pgrp=1,relatime,rw,timeout=0 systemd-1 0:32
/lnet/cowroot/LneTXFCEhome /home none rw,bind /dev/sda2 8:2
/lnet/image/LneTXFCE64 /boot none ro,bind /dev/sda1 8:1
debugfs /sys/kernel/debug debugfs relatime,rw debugfs 0:8
mqueue /dev/mqueue mqueue relatime,rw mqueue 0:16
hugetlbfs /dev/hugepages hugetlbfs pagesize=2M,relatime,rw hugetlbfs 0:33
/lnet/image/grub /boot/grub none ro,bind /dev/sda1 8:1
/lnet/image/grub /lnet/image/LneTXFCE64/grub none ro,bind /dev/sda1 8:1
/lnet/cowroot/JPLive /home/JPLive none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive /lnet/cowroot/LneTXFCEhome/JPLive none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive/apt-cache-amd64 /var/cache/apt none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive/apt-lib-amd64 /var/lib/apt none rw,bind /dev/sda2 8:2
/lnet/cowroot/LneTXFCEhome/root /root none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive/var-spool /var/spool none rw,bind /dev/sda2 8:2
tmpfs /run/user/1001 tmpfs gid=100,mode=700,nodev,nosuid,relatime,rw,size=786152k,uid=1001 tmpfs 0:37
/home/JPLive/LneT-Lite-686/iso/LneT-Lite/00filesystem.squashfs /tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs squashfs relatime,ro,loop=/dev/loop2 /dev/loop2 7:2
overlay /tmp/live-net-remaster-Fg9o5x/chroot overlay index=off,lowerdir=/tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs,relatime,rw,upperdir=/home/tmp.uqIFpoBStR/upper,workdir=/home/tmp.uqIFpoBStR/work overlay 0:39
/sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17
/tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp none rw,bind tmpfs 0:22
/dev/ /tmp/live-net-remaster-Fg9o5x/chroot/dev none rw,bind udev 0:6
/dev/pts/ /tmp/live-net-remaster-Fg9o5x/chroot/dev/pts none rw,bind devpts 0:18
/dev/pts/ /dev/pts none rw,bind devpts 0:18
/sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17
/sys/ /sys none rw,bind sysfs 0:17
+lnet-remaster:361:_chroot_mount: mount -o bind /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp/
+lnet-remaster:362:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 0
+lnet-remaster:363:_chroot_mount: mount-list
sysfs /sys sysfs nodev,noexec,nosuid,relatime,rw sysfs 0:17
proc /proc proc nodev,noexec,nosuid,relatime,rw proc 0:5
udev /dev devtmpfs mode=755,nosuid,nr_inodes=978526,relatime,rw,size=3914104k udev 0:6
devpts /dev/pts devpts gid=5,mode=620,noexec,nosuid,ptmxmode=000,relatime,rw devpts 0:18
tmpfs /run tmpfs mode=755,noexec,nosuid,relatime,rw,size=786156k tmpfs 0:19
tmpfs /lnet tmpfs mode=755,relatime,rw,size=7861540k tmpfs 0:20
/dev/sda1 /lnet/image ext2 errors=continue,noacl,noatime,nouser_xattr,ro /dev/sda1 8:1
/lnet/image/LneTXFCE64/00filesystem.squashfs /lnet/00filesystem.squashfs squashfs noatime,ro,loop=/dev/loop0 /dev/loop0 7:0
/lnet/image/LneTXFCE64/10interfaces.squashfs /lnet/10interfaces.squashfs squashfs noatime,ro,loop=/dev/loop1 /dev/loop1 7:1
/dev/sda2 /lnet/cowroot ext4 data=ordered,relatime,rw /dev/sda2 8:2
overlay / overlay index=off,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,relatime,rw,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work overlay 0:21
tmpfs /tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:22
tmpfs /var/log tmpfs mode=755,nosuid,relatime,rw,size=7861540k tmpfs 0:23
tmpfs /var/tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:24
securityfs /sys/kernel/security securityfs nodev,noexec,nosuid,relatime,rw securityfs 0:7
tmpfs /dev/shm tmpfs nodev,nosuid,rw,mode=1777 tmpfs 0:25
tmpfs /run/lock tmpfs nodev,noexec,nosuid,relatime,rw,size=5120k,mode=1777 tmpfs 0:26
tmpfs /sys/fs/cgroup tmpfs mode=755,nodev,noexec,nosuid,ro tmpfs 0:27
cgroup /sys/fs/cgroup/unified cgroup2 nodev,noexec,nosuid,relatime,rw cgroup 0:28
cgroup /sys/fs/cgroup/systemd cgroup name=systemd,nodev,noexec,nosuid,relatime,rw,xattr cgroup 0:29
pstore /sys/fs/pstore pstore nodev,noexec,nosuid,relatime,rw pstore 0:30
cgroup /sys/fs/cgroup/cpu cgroup cpu,nodev,noexec,nosuid,relatime,rw cgroup 0:31
systemd-1 /proc/sys/fs/binfmt_misc autofs direct,fd=32,maxproto=5,minproto=5,pgrp=1,relatime,rw,timeout=0 systemd-1 0:32
/lnet/cowroot/LneTXFCEhome /home none rw,bind /dev/sda2 8:2
/lnet/image/LneTXFCE64 /boot none ro,bind /dev/sda1 8:1
debugfs /sys/kernel/debug debugfs relatime,rw debugfs 0:8
mqueue /dev/mqueue mqueue relatime,rw mqueue 0:16
hugetlbfs /dev/hugepages hugetlbfs pagesize=2M,relatime,rw hugetlbfs 0:33
/lnet/image/grub /boot/grub none ro,bind /dev/sda1 8:1
/lnet/image/grub /lnet/image/LneTXFCE64/grub none ro,bind /dev/sda1 8:1
/lnet/cowroot/JPLive /home/JPLive none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive /lnet/cowroot/LneTXFCEhome/JPLive none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive/apt-cache-amd64 /var/cache/apt none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive/apt-lib-amd64 /var/lib/apt none rw,bind /dev/sda2 8:2
/lnet/cowroot/LneTXFCEhome/root /root none rw,bind /dev/sda2 8:2
/lnet/cowroot/JPLive/var-spool /var/spool none rw,bind /dev/sda2 8:2
tmpfs /run/user/1001 tmpfs gid=100,mode=700,nodev,nosuid,relatime,rw,size=786152k,uid=1001 tmpfs 0:37
/home/JPLive/LneT-Lite-686/iso/LneT-Lite/00filesystem.squashfs /tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs squashfs relatime,ro,loop=/dev/loop2 /dev/loop2 7:2
overlay /tmp/live-net-remaster-Fg9o5x/chroot overlay index=off,lowerdir=/tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs,relatime,rw,upperdir=/home/tmp.uqIFpoBStR/upper,workdir=/home/tmp.uqIFpoBStR/work overlay 0:39
/sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17
/tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp none rw,bind tmpfs 0:22
/dev/ /tmp/live-net-remaster-Fg9o5x/chroot/dev none rw,bind udev 0:6
/dev/pts/ /tmp/live-net-remaster-Fg9o5x/chroot/dev/pts none rw,bind devpts 0:18
/dev/pts/ /dev/pts none rw,bind devpts 0:18
/sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17
/sys/ /sys none rw,bind sysfs 0:17
/tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp none rw,bind tmpfs 0:22
/tmp/ /tmp none rw,bind tmpfs 0:22
+lnet-remaster:364:_chroot_mount: '[' -z 'mkdir -p ${BASE_CHROOT}/home/JPLive; mount -o bind /home/JPLive ${BASE_CHROOT}/home/JPLive' ']'
+lnet-remaster:365:_chroot_mount: eval mkdir -p '${BASE_CHROOT}/home/JPLive;' mount -o bind /home/JPLive '${BASE_CHROOT}/home/JPLive'
++lnet-remaster:365:_chroot_mount: mkdir -p /tmp/live-net-remaster-Fg9o5x/chroot/home/JPLive
++lnet-remaster:365:_chroot_mount: mount -o bind /home/JPLive /tmp/live-net-remaster-Fg9o5x/chroot/home/JPLive
+lnet-remaster:366:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 0
drwxr-xr-x 3 root root 60 set 12 11:07 home
+lnet-remaster:368:_chroot_mount: export DISPLAY=:0.0
+lnet-remaster:368:_chroot_mount: DISPLAY=:0.0
+lnet-remaster:369:_chroot_mount: export HOME=/root
+lnet-remaster:369:_chroot_mount: HOME=/root
+lnet-remaster:370:_chroot_mount: export LC_ALL=C
+lnet-remaster:370:_chroot_mount: LC_ALL=C
+lnet-remaster:372:_chroot_mount: '[' '!' -L /tmp/live-net-remaster-Fg9o5x/chroot/etc/mtab ']'
+lnet-remaster:374:_chroot_mount: rm -f /tmp/live-net-remaster-Fg9o5x/chroot/etc/mtab
+lnet-remaster:375:_chroot_mount: ln -fs /proc/mounts /tmp/live-net-remaster-Fg9o5x/chroot/etc/mtab
+lnet-remaster:375:_chroot_mount: :
+lnet-remaster:377:_chroot_mount: cp /etc/hosts /tmp/live-net-remaster-Fg9o5x/chroot/etc/
+lnet-remaster:378:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 0
drwxr-xr-x 3 root root 60 Sep 12 11:07 home
+lnet-remaster:380:_chroot_mount: chroot /tmp/live-net-remaster-Fg9o5x/chroot/ mount -t proc none /proc
+lnet-remaster:381:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 0
drwxr-xr-x 3 root root 60 Sep 12 11:07 home
+lnet-remaster:382:_chroot_mount: :
+lnet-remaster:736:_prepare_web_database: _chroot_mount_compress
+lnet-remaster:395:_chroot_mount_compress: mkdir -p /tmp/live-net-remaster-Fg9o5x/chroot/var/tmp/mnt/
+lnet-remaster:396:_chroot_mount_compress: mount -o bind /home/JPLive/LneT-Lite-686 /tmp/live-net-remaster-Fg9o5x/chroot/var/tmp/mnt/
+lnet-remaster:397:_chroot_mount_compress: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot
total 0
drwxr-xr-x 3 root root 60 Sep 12 11:07 home
drwxr-xr-x 3 root root 60 Sep 12 11:07 var
+lnet-remaster:398:_chroot_mount_compress: :
+lnet-remaster:737:_prepare_web_database: chroot /tmp/live-net-remaster-Fg9o5x/chroot/ sh
+lnet-remaster:857:_prepare_web_database: echo 'Error: when preparing web database.'
+lnet-remaster:858:_prepare_web_database: return 1
+lnet-remaster:1505: exit 1
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: ovl: mounting two times the same mount overlayfs will not list any directory entry anymore 2017-09-12 9:38 ovl: mounting two times the same mount overlayfs will not list any directory entry anymore Jordi Pujol Palomer @ 2017-09-12 10:47 ` Amir Goldstein 2017-09-12 13:04 ` Jordi Pujol 0 siblings, 1 reply; 5+ messages in thread From: Amir Goldstein @ 2017-09-12 10:47 UTC (permalink / raw) To: Jordi Pujol Palomer; +Cc: overlayfs, Andrei Vagin, Eric W. Biederman, Ram Pai [-- Attachment #1: Type: text/plain, Size: 1120 bytes --] On Tue, Sep 12, 2017 at 12:38 PM, Jordi Pujol Palomer <jordipujolp@gmail.com> wrote: > Hello, > > Maybe this is another overlayfs error, only for v4.13; it works well in > previous version 4.12. > > When mounting two times the same mount, overlayfs will not list any > directory entry anymore. > This does not smell like overlayfs issue to me, but more like bind mount issue, so adding some mount ns folks in CC. > Attached is the script log, > > Look for the line: > +lnet-remaster:361:_chroot_mount: mount -o > bind /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp/ > > Comments: > > /tmp/ is already mounted in /tmp/live-net-remaster-Fg9o5x/chroot/tmp/ > > after mounting /tmp another time in the same location all overlay > entries in the chroot directory disappear, > no errors are listed in the log file, dmesg or journalctl. So is this reproducible at every run with v4.13? Are you able to try this without overlayfs? i.e. chroot to squashfs mount? I am guessing there is nothing important in upper layer when this error occurs, Am I right? does script need write to chroot path before this error occurs? Amir. [-- Attachment #2: lnet-remaster-_chroot_mount.txt --] [-- Type: text/plain, Size: 15411 bytes --] +lnet-remaster:353:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 24 drwxr-xr-x 2 root root 2398 ago 26 09:40 bin drwxr-xr-x 2 root root 148 set 12 10:44 boot drwxr-xr-x 2 root root 3 set 12 10:40 dev drwxr-xr-x 1 root root 4096 set 12 11:06 etc drwxr-xr-x 1 root root 4096 set 12 11:06 home lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686 drwxr-xr-x 15 root root 399 ago 8 08:08 lib drwxr-xr-x 2 root root 3 set 24 2009 media drwxr-xr-x 2 root root 3 nov 26 2014 mnt drwxr-xr-x 2 root root 3 set 4 2009 opt dr-xr-xr-x 2 root root 3 set 12 10:40 proc drwxr-xr-x 1 root root 4096 set 12 11:06 root drwxr-xr-x 1 root root 4096 set 12 11:06 run drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin drwxr-xr-x 2 root root 3 set 4 2009 srv dr-xr-xr-x 13 root root 0 set 12 11:06 sys drwxrwxrwt 11 root root 260 set 12 11:07 tmp drwxr-xr-x 1 root root 4096 des 19 2011 usr drwxr-xr-x 1 root root 4096 jun 30 2011 var lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686 +lnet-remaster:354:_chroot_mount: mount -o bind /dev/ /tmp/live-net-remaster-Fg9o5x/chroot/dev +lnet-remaster:355:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 24 drwxr-xr-x 2 root root 2398 ago 26 09:40 bin drwxr-xr-x 2 root root 148 set 12 10:44 boot drwxr-xr-x 19 root root 3420 set 12 11:06 dev drwxr-xr-x 1 root root 4096 set 12 11:06 etc drwxr-xr-x 1 root root 4096 set 12 11:06 home lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686 drwxr-xr-x 15 root root 399 ago 8 08:08 lib drwxr-xr-x 2 root root 3 set 24 2009 media drwxr-xr-x 2 root root 3 nov 26 2014 mnt drwxr-xr-x 2 root root 3 set 4 2009 opt dr-xr-xr-x 2 root root 3 set 12 10:40 proc drwxr-xr-x 1 root root 4096 set 12 11:06 root drwxr-xr-x 1 root root 4096 set 12 11:06 run drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin drwxr-xr-x 2 root root 3 set 4 2009 srv dr-xr-xr-x 13 root root 0 set 12 11:06 sys drwxrwxrwt 11 root root 260 set 12 11:07 tmp drwxr-xr-x 1 root root 4096 des 19 2011 usr drwxr-xr-x 1 root root 4096 jun 30 2011 var lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686 +lnet-remaster:356:_chroot_mount: mount -o bind /dev/pts /tmp/live-net-remaster-Fg9o5x/chroot/dev/pts +lnet-remaster:357:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 24 drwxr-xr-x 2 root root 2398 ago 26 09:40 bin drwxr-xr-x 2 root root 148 set 12 10:44 boot drwxr-xr-x 19 root root 3420 set 12 11:06 dev drwxr-xr-x 1 root root 4096 set 12 11:06 etc drwxr-xr-x 1 root root 4096 set 12 11:06 home lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686 drwxr-xr-x 15 root root 399 ago 8 08:08 lib drwxr-xr-x 2 root root 3 set 24 2009 media drwxr-xr-x 2 root root 3 nov 26 2014 mnt drwxr-xr-x 2 root root 3 set 4 2009 opt dr-xr-xr-x 2 root root 3 set 12 10:40 proc drwxr-xr-x 1 root root 4096 set 12 11:06 root drwxr-xr-x 1 root root 4096 set 12 11:06 run drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin drwxr-xr-x 2 root root 3 set 4 2009 srv dr-xr-xr-x 13 root root 0 set 12 11:06 sys drwxrwxrwt 11 root root 260 set 12 11:07 tmp drwxr-xr-x 1 root root 4096 des 19 2011 usr drwxr-xr-x 1 root root 4096 jun 30 2011 var lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686 +lnet-remaster:358:_chroot_mount: mount -o bind /sys /tmp/live-net-remaster-Fg9o5x/chroot/sys +lnet-remaster:359:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 24 drwxr-xr-x 2 root root 2398 ago 26 09:40 bin drwxr-xr-x 2 root root 148 set 12 10:44 boot drwxr-xr-x 19 root root 3420 set 12 11:06 dev drwxr-xr-x 1 root root 4096 set 12 11:06 etc drwxr-xr-x 1 root root 4096 set 12 11:06 home lrwxrwxrwx 1 root root 33 jun 11 2016 initrd.img -> /boot/initrd.img-4.6.2-1-lnet-686 drwxr-xr-x 15 root root 399 ago 8 08:08 lib drwxr-xr-x 2 root root 3 set 24 2009 media drwxr-xr-x 2 root root 3 nov 26 2014 mnt drwxr-xr-x 2 root root 3 set 4 2009 opt dr-xr-xr-x 2 root root 3 set 12 10:40 proc drwxr-xr-x 1 root root 4096 set 12 11:06 root drwxr-xr-x 1 root root 4096 set 12 11:06 run drwxr-xr-x 2 root root 3304 ago 26 09:46 sbin drwxr-xr-x 2 root root 3 set 4 2009 srv dr-xr-xr-x 13 root root 0 set 12 11:06 sys drwxrwxrwt 11 root root 260 set 12 11:07 tmp drwxr-xr-x 1 root root 4096 des 19 2011 usr drwxr-xr-x 1 root root 4096 jun 30 2011 var lrwxrwxrwx 1 root root 29 jun 11 2016 vmlinuz -> boot/vmlinuz-4.6.2-1-lnet-686 +lnet-remaster:360:_chroot_mount: mount-list sysfs /sys sysfs nodev,noexec,nosuid,relatime,rw sysfs 0:17 proc /proc proc nodev,noexec,nosuid,relatime,rw proc 0:5 udev /dev devtmpfs mode=755,nosuid,nr_inodes=978526,relatime,rw,size=3914104k udev 0:6 devpts /dev/pts devpts gid=5,mode=620,noexec,nosuid,ptmxmode=000,relatime,rw devpts 0:18 tmpfs /run tmpfs mode=755,noexec,nosuid,relatime,rw,size=786156k tmpfs 0:19 tmpfs /lnet tmpfs mode=755,relatime,rw,size=7861540k tmpfs 0:20 /dev/sda1 /lnet/image ext2 errors=continue,noacl,noatime,nouser_xattr,ro /dev/sda1 8:1 /lnet/image/LneTXFCE64/00filesystem.squashfs /lnet/00filesystem.squashfs squashfs noatime,ro,loop=/dev/loop0 /dev/loop0 7:0 /lnet/image/LneTXFCE64/10interfaces.squashfs /lnet/10interfaces.squashfs squashfs noatime,ro,loop=/dev/loop1 /dev/loop1 7:1 /dev/sda2 /lnet/cowroot ext4 data=ordered,relatime,rw /dev/sda2 8:2 overlay / overlay index=off,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,relatime,rw,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work overlay 0:21 tmpfs /tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:22 tmpfs /var/log tmpfs mode=755,nosuid,relatime,rw,size=7861540k tmpfs 0:23 tmpfs /var/tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:24 securityfs /sys/kernel/security securityfs nodev,noexec,nosuid,relatime,rw securityfs 0:7 tmpfs /dev/shm tmpfs nodev,nosuid,rw,mode=1777 tmpfs 0:25 tmpfs /run/lock tmpfs nodev,noexec,nosuid,relatime,rw,size=5120k,mode=1777 tmpfs 0:26 tmpfs /sys/fs/cgroup tmpfs mode=755,nodev,noexec,nosuid,ro tmpfs 0:27 cgroup /sys/fs/cgroup/unified cgroup2 nodev,noexec,nosuid,relatime,rw cgroup 0:28 cgroup /sys/fs/cgroup/systemd cgroup name=systemd,nodev,noexec,nosuid,relatime,rw,xattr cgroup 0:29 pstore /sys/fs/pstore pstore nodev,noexec,nosuid,relatime,rw pstore 0:30 cgroup /sys/fs/cgroup/cpu cgroup cpu,nodev,noexec,nosuid,relatime,rw cgroup 0:31 systemd-1 /proc/sys/fs/binfmt_misc autofs direct,fd=32,maxproto=5,minproto=5,pgrp=1,relatime,rw,timeout=0 systemd-1 0:32 /lnet/cowroot/LneTXFCEhome /home none rw,bind /dev/sda2 8:2 /lnet/image/LneTXFCE64 /boot none ro,bind /dev/sda1 8:1 debugfs /sys/kernel/debug debugfs relatime,rw debugfs 0:8 mqueue /dev/mqueue mqueue relatime,rw mqueue 0:16 hugetlbfs /dev/hugepages hugetlbfs pagesize=2M,relatime,rw hugetlbfs 0:33 /lnet/image/grub /boot/grub none ro,bind /dev/sda1 8:1 /lnet/image/grub /lnet/image/LneTXFCE64/grub none ro,bind /dev/sda1 8:1 /lnet/cowroot/JPLive /home/JPLive none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive /lnet/cowroot/LneTXFCEhome/JPLive none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/apt-cache-amd64 /var/cache/apt none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/apt-lib-amd64 /var/lib/apt none rw,bind /dev/sda2 8:2 /lnet/cowroot/LneTXFCEhome/root /root none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/var-spool /var/spool none rw,bind /dev/sda2 8:2 tmpfs /run/user/1001 tmpfs gid=100,mode=700,nodev,nosuid,relatime,rw,size=786152k,uid=1001 tmpfs 0:37 /home/JPLive/LneT-Lite-686/iso/LneT-Lite/00filesystem.squashfs /tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs squashfs relatime,ro,loop=/dev/loop2 /dev/loop2 7:2 overlay /tmp/live-net-remaster-Fg9o5x/chroot overlay index=off,lowerdir=/tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs,relatime,rw,upperdir=/home/tmp.uqIFpoBStR/upper,workdir=/home/tmp.uqIFpoBStR/work overlay 0:39 /sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17 /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp none rw,bind tmpfs 0:22 /dev/ /tmp/live-net-remaster-Fg9o5x/chroot/dev none rw,bind udev 0:6 /dev/pts/ /tmp/live-net-remaster-Fg9o5x/chroot/dev/pts none rw,bind devpts 0:18 /dev/pts/ /dev/pts none rw,bind devpts 0:18 /sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17 /sys/ /sys none rw,bind sysfs 0:17 +lnet-remaster:361:_chroot_mount: mount -o bind /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp/ +lnet-remaster:362:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 0 +lnet-remaster:363:_chroot_mount: mount-list sysfs /sys sysfs nodev,noexec,nosuid,relatime,rw sysfs 0:17 proc /proc proc nodev,noexec,nosuid,relatime,rw proc 0:5 udev /dev devtmpfs mode=755,nosuid,nr_inodes=978526,relatime,rw,size=3914104k udev 0:6 devpts /dev/pts devpts gid=5,mode=620,noexec,nosuid,ptmxmode=000,relatime,rw devpts 0:18 tmpfs /run tmpfs mode=755,noexec,nosuid,relatime,rw,size=786156k tmpfs 0:19 tmpfs /lnet tmpfs mode=755,relatime,rw,size=7861540k tmpfs 0:20 /dev/sda1 /lnet/image ext2 errors=continue,noacl,noatime,nouser_xattr,ro /dev/sda1 8:1 /lnet/image/LneTXFCE64/00filesystem.squashfs /lnet/00filesystem.squashfs squashfs noatime,ro,loop=/dev/loop0 /dev/loop0 7:0 /lnet/image/LneTXFCE64/10interfaces.squashfs /lnet/10interfaces.squashfs squashfs noatime,ro,loop=/dev/loop1 /dev/loop1 7:1 /dev/sda2 /lnet/cowroot ext4 data=ordered,relatime,rw /dev/sda2 8:2 overlay / overlay index=off,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,relatime,rw,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work overlay 0:21 tmpfs /tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:22 tmpfs /var/log tmpfs mode=755,nosuid,relatime,rw,size=7861540k tmpfs 0:23 tmpfs /var/tmp tmpfs nodev,nosuid,relatime,rw,size=7861540k,mode=1777 tmpfs 0:24 securityfs /sys/kernel/security securityfs nodev,noexec,nosuid,relatime,rw securityfs 0:7 tmpfs /dev/shm tmpfs nodev,nosuid,rw,mode=1777 tmpfs 0:25 tmpfs /run/lock tmpfs nodev,noexec,nosuid,relatime,rw,size=5120k,mode=1777 tmpfs 0:26 tmpfs /sys/fs/cgroup tmpfs mode=755,nodev,noexec,nosuid,ro tmpfs 0:27 cgroup /sys/fs/cgroup/unified cgroup2 nodev,noexec,nosuid,relatime,rw cgroup 0:28 cgroup /sys/fs/cgroup/systemd cgroup name=systemd,nodev,noexec,nosuid,relatime,rw,xattr cgroup 0:29 pstore /sys/fs/pstore pstore nodev,noexec,nosuid,relatime,rw pstore 0:30 cgroup /sys/fs/cgroup/cpu cgroup cpu,nodev,noexec,nosuid,relatime,rw cgroup 0:31 systemd-1 /proc/sys/fs/binfmt_misc autofs direct,fd=32,maxproto=5,minproto=5,pgrp=1,relatime,rw,timeout=0 systemd-1 0:32 /lnet/cowroot/LneTXFCEhome /home none rw,bind /dev/sda2 8:2 /lnet/image/LneTXFCE64 /boot none ro,bind /dev/sda1 8:1 debugfs /sys/kernel/debug debugfs relatime,rw debugfs 0:8 mqueue /dev/mqueue mqueue relatime,rw mqueue 0:16 hugetlbfs /dev/hugepages hugetlbfs pagesize=2M,relatime,rw hugetlbfs 0:33 /lnet/image/grub /boot/grub none ro,bind /dev/sda1 8:1 /lnet/image/grub /lnet/image/LneTXFCE64/grub none ro,bind /dev/sda1 8:1 /lnet/cowroot/JPLive /home/JPLive none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive /lnet/cowroot/LneTXFCEhome/JPLive none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/apt-cache-amd64 /var/cache/apt none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/apt-lib-amd64 /var/lib/apt none rw,bind /dev/sda2 8:2 /lnet/cowroot/LneTXFCEhome/root /root none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/var-spool /var/spool none rw,bind /dev/sda2 8:2 tmpfs /run/user/1001 tmpfs gid=100,mode=700,nodev,nosuid,relatime,rw,size=786152k,uid=1001 tmpfs 0:37 /home/JPLive/LneT-Lite-686/iso/LneT-Lite/00filesystem.squashfs /tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs squashfs relatime,ro,loop=/dev/loop2 /dev/loop2 7:2 overlay /tmp/live-net-remaster-Fg9o5x/chroot overlay index=off,lowerdir=/tmp/live-net-remaster-Fg9o5x/image/00filesystem.squashfs,relatime,rw,upperdir=/home/tmp.uqIFpoBStR/upper,workdir=/home/tmp.uqIFpoBStR/work overlay 0:39 /sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17 /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp none rw,bind tmpfs 0:22 /dev/ /tmp/live-net-remaster-Fg9o5x/chroot/dev none rw,bind udev 0:6 /dev/pts/ /tmp/live-net-remaster-Fg9o5x/chroot/dev/pts none rw,bind devpts 0:18 /dev/pts/ /dev/pts none rw,bind devpts 0:18 /sys/ /tmp/live-net-remaster-Fg9o5x/chroot/sys none rw,bind sysfs 0:17 /sys/ /sys none rw,bind sysfs 0:17 /tmp/ /tmp/live-net-remaster-Fg9o5x/chroot/tmp none rw,bind tmpfs 0:22 /tmp/ /tmp none rw,bind tmpfs 0:22 +lnet-remaster:364:_chroot_mount: '[' -z 'mkdir -p ${BASE_CHROOT}/home/JPLive; mount -o bind /home/JPLive ${BASE_CHROOT}/home/JPLive' ']' +lnet-remaster:365:_chroot_mount: eval mkdir -p '${BASE_CHROOT}/home/JPLive;' mount -o bind /home/JPLive '${BASE_CHROOT}/home/JPLive' ++lnet-remaster:365:_chroot_mount: mkdir -p /tmp/live-net-remaster-Fg9o5x/chroot/home/JPLive ++lnet-remaster:365:_chroot_mount: mount -o bind /home/JPLive /tmp/live-net-remaster-Fg9o5x/chroot/home/JPLive +lnet-remaster:366:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 0 drwxr-xr-x 3 root root 60 set 12 11:07 home +lnet-remaster:368:_chroot_mount: export DISPLAY=:0.0 +lnet-remaster:368:_chroot_mount: DISPLAY=:0.0 +lnet-remaster:369:_chroot_mount: export HOME=/root +lnet-remaster:369:_chroot_mount: HOME=/root +lnet-remaster:370:_chroot_mount: export LC_ALL=C +lnet-remaster:370:_chroot_mount: LC_ALL=C +lnet-remaster:372:_chroot_mount: '[' '!' -L /tmp/live-net-remaster-Fg9o5x/chroot/etc/mtab ']' +lnet-remaster:374:_chroot_mount: rm -f /tmp/live-net-remaster-Fg9o5x/chroot/etc/mtab +lnet-remaster:375:_chroot_mount: ln -fs /proc/mounts /tmp/live-net-remaster-Fg9o5x/chroot/etc/mtab +lnet-remaster:375:_chroot_mount: : +lnet-remaster:377:_chroot_mount: cp /etc/hosts /tmp/live-net-remaster-Fg9o5x/chroot/etc/ +lnet-remaster:378:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 0 drwxr-xr-x 3 root root 60 Sep 12 11:07 home +lnet-remaster:380:_chroot_mount: chroot /tmp/live-net-remaster-Fg9o5x/chroot/ mount -t proc none /proc +lnet-remaster:381:_chroot_mount: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 0 drwxr-xr-x 3 root root 60 Sep 12 11:07 home +lnet-remaster:382:_chroot_mount: : +lnet-remaster:736:_prepare_web_database: _chroot_mount_compress +lnet-remaster:395:_chroot_mount_compress: mkdir -p /tmp/live-net-remaster-Fg9o5x/chroot/var/tmp/mnt/ +lnet-remaster:396:_chroot_mount_compress: mount -o bind /home/JPLive/LneT-Lite-686 /tmp/live-net-remaster-Fg9o5x/chroot/var/tmp/mnt/ +lnet-remaster:397:_chroot_mount_compress: ls -lA /tmp/live-net-remaster-Fg9o5x/chroot total 0 drwxr-xr-x 3 root root 60 Sep 12 11:07 home drwxr-xr-x 3 root root 60 Sep 12 11:07 var +lnet-remaster:398:_chroot_mount_compress: : +lnet-remaster:737:_prepare_web_database: chroot /tmp/live-net-remaster-Fg9o5x/chroot/ sh +lnet-remaster:857:_prepare_web_database: echo 'Error: when preparing web database.' +lnet-remaster:858:_prepare_web_database: return 1 +lnet-remaster:1505: exit 1 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ovl: mounting two times the same mount overlayfs will not list any directory entry anymore 2017-09-12 10:47 ` Amir Goldstein @ 2017-09-12 13:04 ` Jordi Pujol 2017-09-14 10:12 ` Miklos Szeredi 0 siblings, 1 reply; 5+ messages in thread From: Jordi Pujol @ 2017-09-12 13:04 UTC (permalink / raw) To: Amir Goldstein; +Cc: overlayfs, Andrei Vagin, Eric W. Biederman, Ram Pai [-- Attachment #1: Type: text/plain, Size: 665 bytes --] On Tue, Sep 12, 2017 at 12:47 PM, Amir Goldstein <amir73il@gmail.com> wrote: > So is this reproducible at every run with v4.13? yes, > Are you able to try this without overlayfs? i.e. chroot to squashfs mount? I have found the same in 4.12 when mounting only one squashfs image. Therefore we could say that when working with previous versions overlayfs was solving the problem in some way. > I am guessing there is nothing important in upper layer when this error occurs, > Am I right? does script need write to chroot path before this error occurs? Correct, there is no need to write or enter in the chroot, only repeat the mount command. Thanks, Jordi Pujol [-- Attachment #2: notes-4.12-mount-over-same-mount.txt --] [-- Type: text/plain, Size: 4737 bytes --] # uname -a Linux pcjordi 4.12.11-1-haswell-lnet-amd64 #1 SMP PREEMPT Thu Sep 7 12:27:02 CEST 2017 x86_64 GNU/Linux root@pcjordi:~# cd /tmp/ root@pcjordi:tmp# mkdir fs root@pcjordi:tmp# mount -o loop,ro /lnet/image/LneTLXQT64/00filesystem.squashfs /tmp/fs/ root@pcjordi:tmp# mount -o bind /tmp /tmp/fs/tmp/ root@pcjordi:tmp# ls -lA /tmp/fs/ total 0 drwxr-xr-x 2 root root 1925 Sep 5 11:00 bin drwxr-xr-x 2 root root 196 Sep 10 09:59 boot drwxr-xr-x 2 root root 3 Sep 10 09:22 dev drwxr-xr-x 97 root root 2867 Sep 10 09:58 etc drwxr-xr-x 2 root root 3 Sep 10 09:24 home lrwxrwxrwx 1 root root 45 Sep 7 13:57 initrd.img -> /boot/initrd.img-4.12.11-1-haswell-lnet-amd64 drwxr-xr-x 12 root root 290 Jul 5 11:54 lib drwxr-xr-x 2 root root 43 Aug 31 09:55 lib64 drwxr-xr-x 2 root root 3 Feb 6 2017 media drwxr-xr-x 2 root root 3 Feb 6 2017 mnt drwxr-xr-x 2 root root 3 Feb 6 2017 opt dr-xr-xr-x 2 root root 3 Sep 10 09:22 proc drwx------ 2 root root 3 Sep 10 09:24 root drwxr-xr-x 2 root root 3 Sep 10 09:24 run drwxr-xr-x 2 root root 2085 Sep 5 11:00 sbin drwxr-xr-x 2 root root 3 Feb 6 2017 srv dr-xr-xr-x 2 root root 3 Sep 10 09:22 sys drwxrwxrwt 11 root root 260 Sep 12 14:42 tmp drwxr-xr-x 10 root root 162 Feb 6 2017 usr drwxr-xr-x 11 root root 184 Feb 6 2017 var lrwxrwxrwx 1 root root 41 Sep 7 13:57 vmlinuz -> boot/vmlinuz-4.12.11-1-haswell-lnet-amd64 root@pcjordi:tmp# mount -o bind /tmp /tmp/fs/tmp/ root@pcjordi:tmp# ls -lA /tmp/fs/ total 0 root@pcjordi:tmp# mount-list sysfs /sys sysfs nodev,noexec,nosuid,relatime,rw sysfs 0:17 proc /proc proc nodev,noexec,nosuid,relatime,rw proc 0:5 udev /dev devtmpfs mode=755,nosuid,nr_inodes=978778,relatime,rw,size=3915112k udev 0:6 devpts /dev/pts devpts gid=5,mode=620,noexec,nosuid,ptmxmode=000,relatime,rw devpts 0:18 tmpfs /run tmpfs mode=755,noexec,nosuid,relatime,rw,size=786164k tmpfs 0:19 tmpfs /lnet tmpfs mode=755,relatime,rw,size=7861632k tmpfs 0:20 /dev/sda1 /lnet/image ext2 errors=continue,noacl,noatime,nouser_xattr,ro /dev/sda1 8:1 /lnet/image/LneTXFCE64/00filesystem.squashfs /lnet/00filesystem.squashfs squashfs noatime,ro,loop=/dev/loop0 /dev/loop0 7:0 /lnet/image/LneTXFCE64/10interfaces.squashfs /lnet/10interfaces.squashfs squashfs noatime,ro,loop=/dev/loop1 /dev/loop1 7:1 /dev/sda2 /lnet/cowroot ext4 data=ordered,relatime,rw /dev/sda2 8:2 overlay / overlay lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,relatime,rw,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work overlay 0:21 tmpfs /tmp tmpfs nodev,nosuid,relatime,rw,size=7861632k,mode=1777 tmpfs 0:22 tmpfs /var/log tmpfs mode=755,nosuid,relatime,rw,size=7861632k tmpfs 0:23 tmpfs /var/tmp tmpfs nodev,nosuid,relatime,rw,size=7861632k,mode=1777 tmpfs 0:24 securityfs /sys/kernel/security securityfs nodev,noexec,nosuid,relatime,rw securityfs 0:7 tmpfs /dev/shm tmpfs nodev,nosuid,rw,mode=1777 tmpfs 0:25 tmpfs /run/lock tmpfs nodev,noexec,nosuid,relatime,rw,size=5120k,mode=1777 tmpfs 0:26 tmpfs /sys/fs/cgroup tmpfs mode=755,nodev,noexec,nosuid,ro tmpfs 0:27 cgroup /sys/fs/cgroup/unified cgroup2 nodev,noexec,nosuid,relatime,rw cgroup 0:28 cgroup /sys/fs/cgroup/systemd cgroup name=systemd,nodev,noexec,nosuid,relatime,rw,xattr cgroup 0:29 pstore /sys/fs/pstore pstore nodev,noexec,nosuid,relatime,rw pstore 0:30 cgroup /sys/fs/cgroup/cpu cgroup cpu,nodev,noexec,nosuid,relatime,rw cgroup 0:31 systemd-1 /proc/sys/fs/binfmt_misc autofs direct,fd=33,maxproto=5,minproto=5,pgrp=1,relatime,rw,timeout=0 systemd-1 0:32 /lnet/cowroot/LneTXFCEhome /home none rw,bind /dev/sda2 8:2 /lnet/image/LneTXFCE64 /boot none ro,bind /dev/sda1 8:1 mqueue /dev/mqueue mqueue relatime,rw mqueue 0:16 debugfs /sys/kernel/debug debugfs relatime,rw debugfs 0:8 hugetlbfs /dev/hugepages hugetlbfs relatime,rw hugetlbfs 0:33 /lnet/image/grub /boot/grub none ro,bind /dev/sda1 8:1 /lnet/image/grub /lnet/image/LneTXFCE64/grub none ro,bind /dev/sda1 8:1 /lnet/cowroot/JPLive /home/JPLive none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive /lnet/cowroot/LneTXFCEhome/JPLive none rw,bind /dev/sda2 8:2 /lnet/cowroot/LneTXFCEhome/root /root none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/var-spool /var/spool none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/apt-cache-amd64 /var/cache/apt none rw,bind /dev/sda2 8:2 /lnet/cowroot/JPLive/apt-lib-amd64 /var/lib/apt none rw,bind /dev/sda2 8:2 tmpfs /run/user/1001 tmpfs gid=100,mode=700,nodev,nosuid,relatime,rw,size=786160k,uid=1001 tmpfs 0:37 /lnet/image/LneTLXQT64/00filesystem.squashfs /tmp/fs squashfs relatime,ro,loop=/dev/loop2 /dev/loop2 7:2 /tmp/ /tmp/fs/tmp none rw,bind tmpfs 0:22 /tmp/ /tmp/fs/tmp none rw,bind tmpfs 0:22 /tmp/ /tmp none rw,bind tmpfs 0:22 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ovl: mounting two times the same mount overlayfs will not list any directory entry anymore 2017-09-12 13:04 ` Jordi Pujol @ 2017-09-14 10:12 ` Miklos Szeredi 2017-09-14 14:54 ` Jordi Pujol 0 siblings, 1 reply; 5+ messages in thread From: Miklos Szeredi @ 2017-09-14 10:12 UTC (permalink / raw) To: Jordi Pujol Cc: Amir Goldstein, overlayfs, Andrei Vagin, Eric W. Biederman, Ram Pai On Tue, Sep 12, 2017 at 3:04 PM, Jordi Pujol <jordipujolp@gmail.com> wrote: > On Tue, Sep 12, 2017 at 12:47 PM, Amir Goldstein <amir73il@gmail.com> wrote: > >> So is this reproducible at every run with v4.13? > yes, > >> Are you able to try this without overlayfs? i.e. chroot to squashfs mount? > I have found the same in 4.12 when mounting only one squashfs image. > Therefore we could say that when working with previous versions > overlayfs was solving the problem in some way. Can you please post the contents of /proc/self/mountinfo? Thanks, Miklos ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: ovl: mounting two times the same mount overlayfs will not list any directory entry anymore 2017-09-14 10:12 ` Miklos Szeredi @ 2017-09-14 14:54 ` Jordi Pujol 0 siblings, 0 replies; 5+ messages in thread From: Jordi Pujol @ 2017-09-14 14:54 UTC (permalink / raw) To: Miklos Szeredi Cc: Amir Goldstein, overlayfs, Andrei Vagin, Eric W. Biederman, Ram Pai [-- Attachment #1: Type: text/plain, Size: 718 bytes --] Here is kernel v4.13 and one squashfs file Thanks, Jordi Pujol On Thu, Sep 14, 2017 at 12:12 PM, Miklos Szeredi <miklos@szeredi.hu> wrote: > On Tue, Sep 12, 2017 at 3:04 PM, Jordi Pujol <jordipujolp@gmail.com> wrote: >> On Tue, Sep 12, 2017 at 12:47 PM, Amir Goldstein <amir73il@gmail.com> wrote: >> >>> So is this reproducible at every run with v4.13? >> yes, >> >>> Are you able to try this without overlayfs? i.e. chroot to squashfs mount? >> I have found the same in 4.12 when mounting only one squashfs image. >> Therefore we could say that when working with previous versions >> overlayfs was solving the problem in some way. > > Can you please post the contents of /proc/self/mountinfo? > > Thanks, > Miklos [-- Attachment #2: notes.txt --] [-- Type: text/plain, Size: 505 bytes --] root@pcjordi:notes# cat /proc/self/mountinfo > mountinfo-4.13.2-previous,txt root@pcjordi:notes# mkdir /tmp/fs root@pcjordi:notes# mount -o loop,ro /lnet/image/LneTLXQT64/00filesystem.squashfs /tmp/fs/ root@pcjordi:notes# mount -o bind /tmp /tmp/fs/tmp/ root@pcjordi:notes# cat /proc/self/mountinfo > mountinfo-4.13.2-mount1,txt root@pcjordi:notes# mount -o bind /tmp /tmp/fs/tmp/ root@pcjordi:notes# ls -lA /tmp/fs/ total 0 root@pcjordi:notes# cat /proc/self/mountinfo > mountinfo-4.13.2-mount2,txt [-- Attachment #3: mountinfo-4.13.2-mount1,txt --] [-- Type: application/octet-stream, Size: 3937 bytes --] 17 27 0:17 / /sys rw,nosuid,nodev,noexec,relatime shared:15 - sysfs sysfs rw 18 27 0:5 / /proc rw,nosuid,nodev,noexec,relatime shared:21 - proc proc rw 19 27 0:6 / /dev rw,nosuid,relatime shared:10 - devtmpfs udev rw,size=3913928k,nr_inodes=978482,mode=755 20 19 0:18 / /dev/pts rw,nosuid,noexec,relatime shared:11 - devpts devpts rw,gid=5,mode=620,ptmxmode=000 21 27 0:19 / /run rw,nosuid,noexec,relatime shared:13 - tmpfs tmpfs rw,size=786156k,mode=755 22 27 0:20 / /lnet rw,relatime shared:5 - tmpfs tmpfs rw,size=7861540k,mode=755 23 22 8:1 / /lnet/image ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 24 22 7:0 / /lnet/00filesystem.squashfs ro,noatime shared:7 - squashfs /dev/loop0 ro 25 22 7:1 / /lnet/10interfaces.squashfs ro,noatime shared:8 - squashfs /dev/loop1 ro 26 22 8:2 / /lnet/cowroot rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 27 1 0:21 / / rw,relatime shared:1 - overlay overlay rw,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work,index=off 31 27 0:22 / /tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k 32 27 0:23 / /var/log rw,nosuid,relatime shared:3 - tmpfs tmpfs rw,size=7861540k,mode=755 33 27 0:24 / /var/tmp rw,nosuid,nodev,relatime shared:4 - tmpfs tmpfs rw,size=7861540k 34 17 0:7 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:16 - securityfs securityfs rw 35 19 0:25 / /dev/shm rw,nosuid,nodev shared:12 - tmpfs tmpfs rw 36 21 0:26 / /run/lock rw,nosuid,nodev,noexec,relatime shared:14 - tmpfs tmpfs rw,size=5120k 37 17 0:27 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:17 - tmpfs tmpfs ro,mode=755 38 37 0:28 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:18 - cgroup2 cgroup rw 39 37 0:29 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:19 - cgroup cgroup rw,xattr,name=systemd 40 17 0:30 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:20 - pstore pstore rw 41 37 0:31 / /sys/fs/cgroup/cpu rw,nosuid,nodev,noexec,relatime shared:22 - cgroup cgroup rw,cpu 42 18 0:32 / /proc/sys/fs/binfmt_misc rw,relatime shared:23 - autofs systemd-1 rw,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 43 27 8:1 /LneTXFCE64 /boot ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 44 19 0:16 / /dev/mqueue rw,relatime shared:24 - mqueue mqueue rw 45 19 0:33 / /dev/hugepages rw,relatime shared:25 - hugetlbfs hugetlbfs rw,pagesize=2M 46 27 8:2 /LneTXFCEhome /home rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 47 17 0:8 / /sys/kernel/debug rw,relatime shared:26 - debugfs debugfs rw 48 43 8:1 /grub /boot/grub ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 49 23 8:1 /grub /lnet/image/LneTXFCE64/grub ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 50 46 8:2 /JPLive /home/JPLive rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 51 26 8:2 /JPLive /lnet/cowroot/LneTXFCEhome/JPLive rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 52 27 8:2 /JPLive/apt-lib-amd64 /var/lib/apt rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 53 27 8:2 /LneTXFCEhome/root /root rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 54 27 8:2 /JPLive/apt-cache-amd64 /var/cache/apt rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 55 27 8:2 /JPLive/var-spool /var/spool rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 232 21 0:37 / /run/user/1001 rw,nosuid,nodev,relatime shared:162 - tmpfs tmpfs rw,size=786152k,mode=700,uid=1001,gid=100 237 27 0:38 / /media/sshfs rw,nosuid,nodev,relatime shared:166 - fuse.sshfs livenet://home rw,user_id=0,group_id=0,allow_other 243 17 0:39 / /sys/fs/fuse/connections rw,relatime shared:170 - fusectl fusectl rw 248 31 7:2 / /tmp/fs ro,relatime shared:174 - squashfs /dev/loop2 ro 253 248 0:22 / /tmp/fs/tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k [-- Attachment #4: mountinfo-4.13.2-mount2,txt --] [-- Type: application/octet-stream, Size: 4113 bytes --] 17 27 0:17 / /sys rw,nosuid,nodev,noexec,relatime shared:15 - sysfs sysfs rw 18 27 0:5 / /proc rw,nosuid,nodev,noexec,relatime shared:21 - proc proc rw 19 27 0:6 / /dev rw,nosuid,relatime shared:10 - devtmpfs udev rw,size=3913928k,nr_inodes=978482,mode=755 20 19 0:18 / /dev/pts rw,nosuid,noexec,relatime shared:11 - devpts devpts rw,gid=5,mode=620,ptmxmode=000 21 27 0:19 / /run rw,nosuid,noexec,relatime shared:13 - tmpfs tmpfs rw,size=786156k,mode=755 22 27 0:20 / /lnet rw,relatime shared:5 - tmpfs tmpfs rw,size=7861540k,mode=755 23 22 8:1 / /lnet/image ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 24 22 7:0 / /lnet/00filesystem.squashfs ro,noatime shared:7 - squashfs /dev/loop0 ro 25 22 7:1 / /lnet/10interfaces.squashfs ro,noatime shared:8 - squashfs /dev/loop1 ro 26 22 8:2 / /lnet/cowroot rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 27 1 0:21 / / rw,relatime shared:1 - overlay overlay rw,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work,index=off 31 27 0:22 / /tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k 32 27 0:23 / /var/log rw,nosuid,relatime shared:3 - tmpfs tmpfs rw,size=7861540k,mode=755 33 27 0:24 / /var/tmp rw,nosuid,nodev,relatime shared:4 - tmpfs tmpfs rw,size=7861540k 34 17 0:7 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:16 - securityfs securityfs rw 35 19 0:25 / /dev/shm rw,nosuid,nodev shared:12 - tmpfs tmpfs rw 36 21 0:26 / /run/lock rw,nosuid,nodev,noexec,relatime shared:14 - tmpfs tmpfs rw,size=5120k 37 17 0:27 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:17 - tmpfs tmpfs ro,mode=755 38 37 0:28 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:18 - cgroup2 cgroup rw 39 37 0:29 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:19 - cgroup cgroup rw,xattr,name=systemd 40 17 0:30 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:20 - pstore pstore rw 41 37 0:31 / /sys/fs/cgroup/cpu rw,nosuid,nodev,noexec,relatime shared:22 - cgroup cgroup rw,cpu 42 18 0:32 / /proc/sys/fs/binfmt_misc rw,relatime shared:23 - autofs systemd-1 rw,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 43 27 8:1 /LneTXFCE64 /boot ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 44 19 0:16 / /dev/mqueue rw,relatime shared:24 - mqueue mqueue rw 45 19 0:33 / /dev/hugepages rw,relatime shared:25 - hugetlbfs hugetlbfs rw,pagesize=2M 46 27 8:2 /LneTXFCEhome /home rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 47 17 0:8 / /sys/kernel/debug rw,relatime shared:26 - debugfs debugfs rw 48 43 8:1 /grub /boot/grub ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 49 23 8:1 /grub /lnet/image/LneTXFCE64/grub ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 50 46 8:2 /JPLive /home/JPLive rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 51 26 8:2 /JPLive /lnet/cowroot/LneTXFCEhome/JPLive rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 52 27 8:2 /JPLive/apt-lib-amd64 /var/lib/apt rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 53 27 8:2 /LneTXFCEhome/root /root rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 54 27 8:2 /JPLive/apt-cache-amd64 /var/cache/apt rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 55 27 8:2 /JPLive/var-spool /var/spool rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 232 21 0:37 / /run/user/1001 rw,nosuid,nodev,relatime shared:162 - tmpfs tmpfs rw,size=786152k,mode=700,uid=1001,gid=100 237 27 0:38 / /media/sshfs rw,nosuid,nodev,relatime shared:166 - fuse.sshfs livenet://home rw,user_id=0,group_id=0,allow_other 243 17 0:39 / /sys/fs/fuse/connections rw,relatime shared:170 - fusectl fusectl rw 248 31 7:2 / /tmp/fs ro,relatime shared:174 - squashfs /dev/loop2 ro 253 248 0:22 / /tmp/fs/tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k 258 253 0:22 / /tmp/fs/tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k 259 31 0:22 / /tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k [-- Attachment #5: mountinfo-4.13.2-previous,txt --] [-- Type: application/octet-stream, Size: 3776 bytes --] 17 27 0:17 / /sys rw,nosuid,nodev,noexec,relatime shared:15 - sysfs sysfs rw 18 27 0:5 / /proc rw,nosuid,nodev,noexec,relatime shared:21 - proc proc rw 19 27 0:6 / /dev rw,nosuid,relatime shared:10 - devtmpfs udev rw,size=3913928k,nr_inodes=978482,mode=755 20 19 0:18 / /dev/pts rw,nosuid,noexec,relatime shared:11 - devpts devpts rw,gid=5,mode=620,ptmxmode=000 21 27 0:19 / /run rw,nosuid,noexec,relatime shared:13 - tmpfs tmpfs rw,size=786156k,mode=755 22 27 0:20 / /lnet rw,relatime shared:5 - tmpfs tmpfs rw,size=7861540k,mode=755 23 22 8:1 / /lnet/image ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 24 22 7:0 / /lnet/00filesystem.squashfs ro,noatime shared:7 - squashfs /dev/loop0 ro 25 22 7:1 / /lnet/10interfaces.squashfs ro,noatime shared:8 - squashfs /dev/loop1 ro 26 22 8:2 / /lnet/cowroot rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 27 1 0:21 / / rw,relatime shared:1 - overlay overlay rw,lowerdir=/lnet/00filesystem.squashfs:/lnet/10interfaces.squashfs,upperdir=/lnet/cowroot/LneTXFCECOW/upper,workdir=/lnet/cowroot/LneTXFCECOW/work,index=off 31 27 0:22 / /tmp rw,nosuid,nodev,relatime shared:2 - tmpfs tmpfs rw,size=7861540k 32 27 0:23 / /var/log rw,nosuid,relatime shared:3 - tmpfs tmpfs rw,size=7861540k,mode=755 33 27 0:24 / /var/tmp rw,nosuid,nodev,relatime shared:4 - tmpfs tmpfs rw,size=7861540k 34 17 0:7 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:16 - securityfs securityfs rw 35 19 0:25 / /dev/shm rw,nosuid,nodev shared:12 - tmpfs tmpfs rw 36 21 0:26 / /run/lock rw,nosuid,nodev,noexec,relatime shared:14 - tmpfs tmpfs rw,size=5120k 37 17 0:27 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:17 - tmpfs tmpfs ro,mode=755 38 37 0:28 / /sys/fs/cgroup/unified rw,nosuid,nodev,noexec,relatime shared:18 - cgroup2 cgroup rw 39 37 0:29 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:19 - cgroup cgroup rw,xattr,name=systemd 40 17 0:30 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:20 - pstore pstore rw 41 37 0:31 / /sys/fs/cgroup/cpu rw,nosuid,nodev,noexec,relatime shared:22 - cgroup cgroup rw,cpu 42 18 0:32 / /proc/sys/fs/binfmt_misc rw,relatime shared:23 - autofs systemd-1 rw,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct 43 27 8:1 /LneTXFCE64 /boot ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 44 19 0:16 / /dev/mqueue rw,relatime shared:24 - mqueue mqueue rw 45 19 0:33 / /dev/hugepages rw,relatime shared:25 - hugetlbfs hugetlbfs rw,pagesize=2M 46 27 8:2 /LneTXFCEhome /home rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 47 17 0:8 / /sys/kernel/debug rw,relatime shared:26 - debugfs debugfs rw 48 43 8:1 /grub /boot/grub ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 49 23 8:1 /grub /lnet/image/LneTXFCE64/grub ro,noatime shared:6 - ext2 /dev/sda1 ro,errors=continue,nouser_xattr,noacl 50 46 8:2 /JPLive /home/JPLive rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 51 26 8:2 /JPLive /lnet/cowroot/LneTXFCEhome/JPLive rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 52 27 8:2 /JPLive/apt-lib-amd64 /var/lib/apt rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 53 27 8:2 /LneTXFCEhome/root /root rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 54 27 8:2 /JPLive/apt-cache-amd64 /var/cache/apt rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 55 27 8:2 /JPLive/var-spool /var/spool rw,relatime shared:9 - ext4 /dev/sda2 rw,data=ordered 232 21 0:37 / /run/user/1001 rw,nosuid,nodev,relatime shared:162 - tmpfs tmpfs rw,size=786152k,mode=700,uid=1001,gid=100 237 27 0:38 / /media/sshfs rw,nosuid,nodev,relatime shared:166 - fuse.sshfs livenet://home rw,user_id=0,group_id=0,allow_other 243 17 0:39 / /sys/fs/fuse/connections rw,relatime shared:170 - fusectl fusectl rw ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-09-14 14:54 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-09-12 9:38 ovl: mounting two times the same mount overlayfs will not list any directory entry anymore Jordi Pujol Palomer 2017-09-12 10:47 ` Amir Goldstein 2017-09-12 13:04 ` Jordi Pujol 2017-09-14 10:12 ` Miklos Szeredi 2017-09-14 14:54 ` Jordi Pujol
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).