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!

3 comments
  1. Pingback: Dave Drager

Comments are closed.

You May Also Like

Apt-get Update GPG Key Errors and Fix

Running sudo apt-get upgrade, I started getting this error: Reading package lists……

My MySQL Binary Log files are taking up all my disk space!

…and other MySQL Oddities. If your MySQL binary log files are a…

Simple Guide To Signing RPMs with FPM

I’ve been using the excellent fpm (Effing package manager!) tool for automatically…

Cpuspeed Reboot Loop on Dual Opteron

I recently had a problem with a dual Opteron system going into…