LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   mount error (https://www.linuxquestions.org/questions/red-hat-31/mount-error-4175455193/)

sunveer 03-22-2013 10:11 PM

mount error
 
I have set one iso image to be mounted at boot in the fstab file.

Code:

/root/gparted.iso      /mnt/iso      iso9660    defaults,loop 0 0
However, at boot time, I get

mount:according to mtab /root/gparted.iso is already mounted or /mnt/iso busy

However, when I see after startup, iso image is mounted properly at /mnt/iso.

PTrenholme 03-22-2013 11:08 PM

Are you sure that you don't have /mnt/iso referenced twice in your fstab file? The mtab file to which the error message refers just lists the mounted devices, and you're being told that the iso file was already listed as mounted. (The fact that you see the mount after you finish booting is, probably, a confirmation that the error has been correctly reported, and that (somehow) you've tried to mount the file twice.)

sunveer 03-22-2013 11:20 PM

I have the entry once in the file.

syg00 03-23-2013 12:37 AM

If beating your head hurts, stop doing it. I've had similar issues on occasion, just add the mount to rc.local equivalent.

Could be /mnt is busy, could be loop devices aren't (completely) available at the time fstab is parsed, could be lots of things.


All times are GMT -5. The time now is 10:29 PM.