"No space left on device" when constructing a vanilla image

Bug #993737 reported by Spring Zhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA master image scripts
Fix Released
Medium
Spring Zhang

Bug Description

The linaro-media-create --image-size option is only 1G, but it's not possible for ubuntu desktop master image.

-----
mv: cannot create directory `/tmp/tmpkw3CLg/root-disc/var': No space left on device
Traceback (most recent call last):
  File "/usr/local/bin/linaro-media-create", line 184, in <module>
    board_config.mmc_part_offset, board_config)
  File "/usr/lib/pymodules/python2.6/linaro_image_tools/media_create/rootfs.py", line 64, in populate_rootfs
    move_contents(content_dir, root_disk)
  File "/usr/lib/pymodules/python2.6/linaro_image_tools/media_create/rootfs.py", line 151, in move_contents
    cmd_runner.run(mv_cmd, as_root=True).wait()
  File "/usr/lib/pymodules/python2.6/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['mv', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/.disk', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/bin', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/boot', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/dev', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/etc', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/home', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/initrd.img', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/lib', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/media', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/mnt', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/opt', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/proc', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/root', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/run', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/sbin', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/selinux', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/srv', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/sys', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/tmp', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/usr', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/var', '/tmp/tmpkw3CLg/binary/boot/filesystem.dir/vmlinuz', '/tmp/tmpkw3CLg/root-disc']" returned a non-zero value: 1
Error: linaro-media-create failed to construct a vanilla image
 * Stopping udisks --inhibit

Related branches

Revision history for this message
Dave Pigott (dpigott) wrote :

OK. Something's changed then, because we were specifying --image-size 3G previously, for just this reason. Anyone know how/when this changed?

Spring Zhang (qzhang)
Changed in lava-master-image-scripts:
importance: Undecided → Medium
assignee: nobody → Spring Zhang (qzhang)
status: New → Fix Committed
milestone: none → 2012.05
Fathi Boudra (fboudra)
Changed in lava-master-image-scripts:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.