Re: Unionmount and overlayfs testsuite
From: David Howells
Date: Thu May 29 2014 - 15:37:40 EST
Sedat Dilek <sedat.dilek@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/