lkml.org 
[lkml]   [2014]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Unionmount and overlayfs testsuite
Date
Sedat Dilek <sedat.dilek@gmail.com> wrote:

> # LC_ALL=C TEST_OVERLAYFS="1" ./run.sh
> [ run.sh ] TEST_OVERLAYFS is 1
> ***
> *** ./run.sh open-plain.test
> ***
> [ mount_union.sh ] TEST_OVERLAYFS is 1
> TEST100: Open O_RDONLY
> - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
> - open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
> TEST101: Open O_WRONLY
> - open_file -w /mnt/a/foo101 -W q
> /mnt/a/foo101: Test file not on upper filesystem (line 30)

This looks like what I see when I run it:

[root@andromeda union-testsuite]# TEST_OVERLAYFS=1 ./run.sh
***
*** ./run.sh open-plain.test
***
umount: /mnt: not mounted
TEST100: Open O_RDONLY
- open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
- open_file -r /mnt/a/foo100 -R :xxx:yyy:zzz
TEST101: Open O_WRONLY
- open_file -w /mnt/a/foo101 -W q
/mnt/a/foo101: Test file not on upper filesystem (line 30)

I think the problem is that the script expecting the "upper" fs inodes to have
the overlay superblock dev ID and not the upper superblock dev ID. That
should be easily fixable.

David


\
 
 \ /
  Last update: 2014-05-29 22:21    [W:0.269 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site