Error While Mounting an ISO Image in Linux: ioctl: LOOP_SET_FD: Invalid argument

I recently received this error while mounting an iso image in a CentOS 5.3 install:

[root@host ~]# mount -t iso9660 -o loop /mnt/glusterfs/ecp-spe-4867.iso /mnt/iso/
ioctl: LOOP_SET_FD: Invalid argument

For more detail:

[root@host ~]# mount -v -t iso9660 -o loop /mnt/glusterfs/ecp-spe-4867.iso /mnt/iso/
mount: going to use the loop device /dev/loop0
ioctl: LOOP_SET_FD: Invalid argument
mount: failed setting up loop device

So what could this mean? The confusing error message “ioctl: LOOP_SET_FD: Invalid argument” means that your ISO image is on a filesystem that is not supported for the loopback device on your system. In my case, that was a GlusterFS mount that was hosting the image.

I copied it into another directory on my root ext3 filesystem and it mounted just fine!

1 Trackbacks

You can leave a trackback using this URL: http://systembash.com/content/error-while-mounting-an-iso-image-in-linux-ioctl-loop_set_fd-invalid-argument/trackback/

  1. By Dave Drager on June 17, 2009 at 1:22 am

    New blog post: Error While Mounting an ISO Image in Linux: ioctl: LOOP_SET_FD: Invalid argument http://bit.ly/w8n9L

One Comment

  1. David

    Thanks for your help!!

    Posted February 3, 2010 at 4:37 pm | Permalink

Post a Comment

Your email is never shared. Required fields are marked *

*
*
blog comments powered by Disqus