Bug 517841 - livecd-creator -b gives "IOError: [Errno 28] No space left on device"
Summary: livecd-creator -b gives "IOError: [Errno 28] No space left on device"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-17 13:02 UTC by Jens Petersen
Modified: 2009-08-17 13:52 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-17 13:52:41 UTC


Attachments (Terms of Use)

Description Jens Petersen 2009-08-17 13:02:17 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
$ sudo livecd-creator -b desktop-i386-20090813.16.iso -c work/spin-kickstarts/HEAD/fedora-livecd-desktop.ks
  
Actual results:
mount: block device /dev/loop3 is write-protected, mounting read-only
Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 140, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 122, in main
    creator.mount(options.base_on, options.cachedir)
  File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 510, in mount
    self._mount_instroot(base_on)
  File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 180, in _mount_instroot
    LoopImageCreator._mount_instroot(self, base_on)
  File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 922, in _mount_instroot
    self._base_on(base_on)
  File "/usr/lib/python2.6/site-packages/imgcreate/live.py", line 174, in _base_on
    shutil.copyfile(os_image, self._image)
  File "/usr/lib/python2.6/shutil.py", line 54, in copyfile
    copyfileobj(fsrc, fdst)
  File "/usr/lib/python2.6/shutil.py", line 30, in copyfileobj
    fdst.write(buf)
IOError: [Errno 28] No space left on device
[petersen@localhost ~]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       6567456   3442148   3058588  53% /
/dev/sda1               198337     15065    173032   9% /boot
tmpfs                   239232       756    238476   1% /dev/shm

Expected results:
success or more meaningful error

Comment 1 Jeremy Katz 2009-08-17 13:52:41 UTC
The regular live images have a 3 GB ext3fs.img -- with base-on, we have to copy that out for you to make modifications to it.  You don't have that much disk space free

But added a catch of the exception to make it a little more clear in the future


Note You need to log in before you can comment on or make changes to this bug.