LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-19-2007, 12:23 AM   #1
linuxnewbie_2007
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
Lightbulb browsing an iso file in a nfs share


how do i brose an iso file located in a NFS share? Lets say I have the installation iso files located in a NFS share, I have mounted the installation iso files at /mnt/remote. Now if i run the #ls -la all i see is disk1.iso, disk2.iso etc. but I need to see the detailed files (ie. rpm, EULA, .diskinfo) like the ones i can see if i mount the first installation cd and run #ls -la.

thanks for your help.
 
Old 04-19-2007, 01:39 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Unless I am misunderstanding your question, you just mount the ISOs as a loopback device like you would if they were on the local file system.
 
Old 04-19-2007, 03:53 AM   #3
linuxnewbie_2007
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
yes thats what i was trying to do. Now since i am a newbie, how do i do that? I tried # mount -t nfs -o loop 192.168.0.100:/mnt/inst/disk1.iso /mnt/share but i am getting an error:
192.168.0.100:/mnt/inst/disk1.iso: No such file or directory.
I know the NFS server is working because if run #mount -t nfs 192.168.0.100:/mnt/inst /mnt/remote it works.

thanks for your help.
 
Old 04-19-2007, 07:28 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
In a terminal as root:
Code:
mount -oloop /mnt/inst/disk1.iso /mnt/share
where /mnt/inst/disk1.iso is the location of that ISO image, and /mnt/share is where you want to mount it. You must have the loop module in your kernel, also. If "lsmod" does not list loop, then issue "modprobe loop" as root first.
 
Old 04-19-2007, 01:41 PM   #5
windycity_linux
Member
 
Registered: Mar 2006
Distribution: rhel 5
Posts: 74

Rep: Reputation: 15
but dont i need to specify the server address as well? JUst wondering.
 
Old 04-19-2007, 02:05 PM   #6
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
No, if the NFS share is already mounted, then as far as the system is concerned, that is a local file system.

So you just mount it how you would if the ISO was on your own HDD.
 
Old 04-19-2007, 05:30 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Mounting a NFS (or other) filesystem and mounting an ISO image are two separate issues. You appear to already know how to mount the NFS filesystem. Once you've done that, then the ISO image is just a file there -- so now you mount that *.iso using the method outlined above.

The reason you got the error
Code:
192.168.0.100:/mnt/inst/disk1.iso: No such file or directory
is because you were trying to mix the mounting of the NFS share and the ISO image in one command. Therefore, there was no file to be mounted. Mount the NFS filesystem first, then mount the ISO image.

Last edited by Bruce Hill; 04-19-2007 at 05:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
file permission problems on nfs-share Falafel Linux - Networking 3 12-05-2006 02:57 PM
Can't delete file on NFS share in Nautilus corkypa Linux - Software 0 10-18-2005 01:13 PM
Iso share via NFS problem donypie Linux - Software 7 06-21-2005 09:46 AM
Is it better to use sftp to trasfer a file than to use NFS share? mphreddy Linux - Networking 1 01-02-2004 09:34 AM
messages file and other log files on NFS share Supp0rtLinux Linux - Security 1 04-16-2002 10:19 PM


All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration