Release Engineering

Tasklist

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
Task Type Bug Report
Category ArchISO
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Very Low
Priority Normal
Reported Version 2009.08
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 01 March 2010, 14:15 GMT
OK, there is a way to solve this: *.sqfs should be copied to another directory outside the aufs tree.

Loading...