FS#17182 - copytoram=y does not work with aufs
Attached to Project:
Release Engineering
Opened by Gerardo Exequiel Pozzi (djgera) - Wednesday, 18 November 2009, 05:19 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 17 March 2010, 15:27 GMT
Opened by Gerardo Exequiel Pozzi (djgera) - Wednesday, 18 November 2009, 05:19 GMT
Last edited by Aaron Griffin (phrakture) - Wednesday, 17 March 2010, 15:27 GMT
|
Details
Playing with this option, I discovered that does not work
with aufs (and I don't know if was worked with unionfs).
Reading the aufs manpage can see this: "Aufs rejects the branch which is an ancestor or a descendant of anther branch. It is called overlapped. When the branch is loopback-mounted directory, aufs also checks the source fs-image file of loopback device. If the source file is a descendant of another branch, it will be rejected too." This is the log at startup, ends in kernel panic: :: Copying squashfs image to RAM ::: Adding new aufs branch: overlay aufs test_add:225:mount[483]: /tmpfs/mnt/loop0 is overlapped mount: Invalid argument :: Copying squashfs image to RAM ::: Adding new aufs branch: core-pkgs ::: Binding /tmpfs/mnt/loop1 to /src/core/pkg :: Copying squashfs image to RAM ::: Adding new aufs branch: root-image aufs test_add:225:mount[499]: /tmpfs/mnt/loop2 is overlapped mount: Invalid argument ::: Binding /bootmnt to bootmnt I guess for now, add a comment in the archiso hook to prevent usage, or adding to TODO a reference to this task for futher research. |
This task depends upon
Closed by Aaron Griffin (phrakture)
Wednesday, 17 March 2010, 15:27 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git commit c65f463c
Wednesday, 17 March 2010, 15:27 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in git commit c65f463c
![Link to this comment](../themes/ArchLinux/comment.png)
OK, there is a way to solve this: *.sqfs should be copied to
another directory outside the aufs tree.