use of ramdisk causes builds to fail on machines with 'only' 2GB RAM
Bug #1175453 reported by
Robert Collins
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
Fix Released
|
Critical
|
Clint Byrum |
Bug Description
tmpfs defaults to allowing up to 50% RAM, a machine with 2GB ram gets a 1G ramdisk. a 1G image fails to build when we copy it to the loopback device, due to the losetup device being inside the ramdisk.
We could move the device outside of the ramdisk, or make the ramdisk optional.
We should definitely document in /README.md the presence and use of the ramdisk too, as well as the failure mode - which is the loopback device becoming readonly , with block errors in dmesg.
Changed in diskimage-builder: | |
status: | Triaged → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
Changed in diskimage-builder: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Workarounds : http:// paste.ubuntu. com/5624972/ or use a machine with more RAM.