Re: NFS/ro: mv: cannot move 'foo' to a subdirectory of itself, 'bar'

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

 



On Sat, Jun 18, 2016 at 1:32 PM, André Roth <neolynx@xxxxxxxxx> wrote:
>
> Hello,
>
>>  # echo 'module overlay +mp' > /sys/kernel/debug/dynamic_debug/control
>>  # strace -o /tmp/strace mv foo bar
>>  # dmesg | grep overlay > /tmp/debug
>>
>> And post the /tmp/strace and /tmp/debug files.
>
> # strace -o /tmp/strace mv OVERLAYFS foo
> mv: cannot move ‘OVERLAYFS’ to a subdirectory of itself, ‘foo’
>
> files attached...

Overlayfs cannot create a whiteout on the upper fs.

Do you have

  CONFIG_EXT4_USE_FOR_EXT2=y

in your kernel's .config?  If not, then you should.

You'll also need

  a4859d75944a ("ovl: fix dentry leak for default_permissions")

from the overlayfs-linus branch of

  git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git

otherwise "default_permissions" will misbehave.

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-unionfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux