LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-10-2009, 02:42 PM   #1
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 620

Rep: Reputation: 33
Install CentOS from NFS-share


I have setup an NFS-share :
Code:
[root@jocan usr]# showmount -e
Export list for nfs.jocan.local:
/var/install *
Portmap and nfs are running.

When trying to install a CentOS-server over the network from the NFS-share, the installation stalls...

The output on alt-F3 is :
Code:
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
But the installation does not continue... Now after waiting 15 minutes.
And according to the RHCE prep guide, this should be the fastest way of installing RedHat/CentOS.

What is failing ?

EDIT : some new information on the prompt :
Code:
<4> Unable to identify CD-ROM format
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 OK
<5> nfs: server 192.168.1.250 not responding, still trying
<5> nfs: server 192.168.1.250 not responding, still trying

Last edited by jonaskellens; 11-10-2009 at 02:45 PM.
 
Old 11-10-2009, 05:25 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Assuming that nfs.jocan.local resolves to 192.168.1.250, can you please boot off a live cd and attempt to mount the nfs share ?

cheers
 
Old 11-10-2009, 06:07 PM   #3
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 620

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by kbp View Post
Assuming that nfs.jocan.local resolves to 192.168.1.250, can you please boot off a live cd and attempt to mount the nfs share ?

cheers
Why would there be a need to resolve nfs.jocan.local ? I gave the IP-address of the nfs-server, so there would not have to be a resolving-issue (although I have a DNS-server).

It is clear that my server is trying to contact 192.168.1.250 directly.
 
Old 11-10-2009, 08:49 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
I wasn't suggesting that name resolution was required... in one section you show that you are exporting from nfs.jocan.local and in another you show connection attempts to 192.168.1.250, it was not clear that they were the same host

Have you attempted to mount the share from a live cd yet ?

cheers
 
Old 11-11-2009, 05:07 AM   #5
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 620

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by kbp View Post
Have you attempted to mount the share from a live cd yet ?
From live-cd :
Code:
[root@localhost centos]# mount 192.168.1.250:/var/install /mnt
works like a charm. No problem at all.

SElinux on the NFS-server is permissive, iptables is up but not blocking any internal traffic.

The NFS-share on 192.168.1.250 (/var/install/) contains the installation cd's of CentOS. Copied them all with "cp -var" to this directory.

Any ideas ?
 
Old 11-11-2009, 07:56 AM   #6
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
Can you check the hidden file '.discinfo' in the root of your share ? ... you may have overwritten it with the one from the last cd. It will need to be modified in any case otherwise the install will think not all the cd's are present, ensure yours matches as per the red text

Code:
1237647910.535193
Final
i386
1,2,3,4,5,6
CentOS/base
/home/buildcentos/CENTOS/5.3/en/i386/CentOS
CentOS/pixmaps
cheers

Last edited by kbp; 11-11-2009 at 07:58 AM. Reason: 'hidden'
 
Old 11-11-2009, 03:56 PM   #7
jonaskellens
Member
 
Registered: Jul 2008
Location: Ghent, Belgium
Distribution: Fedora, CentOS
Posts: 620

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by kbp View Post
Can you check the hidden file '.discinfo' in the root of your share ?
I have not overwritten the .discinfo file. Would this be causing the error ? The only .discinfo that's present is this one of the first cd.

For all the other .discinfo-files I have answered 'no' when it was asked to overwrite the file.

What is the correct way to copy the installation cd's ?
 
Old 11-11-2009, 09:07 PM   #8
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
The method you used was fine, the only difference between them is the 4th line which indicates the cd number. You need to modify yours as listed above so that the installation can use files from all the cd's

cheers
 
  


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
A loop device mounted within an NFS share is not accessible via NFS? srikanthnv Linux - Software 17 12-18-2011 10:31 AM
In NFS server. I want to share directory but i dont want to share subdirectories. aashishdhabarde Linux - Server 1 01-16-2008 04:48 AM
LXer: Install CentOS 5 DomU on CentOS 5 Dom0(64 bit) from NFS share LXer Syndicated Linux News 0 11-09-2007 04:41 AM
nfs install fails manual mounting remote share dohpaz Slackware - Installation 3 05-04-2007 01:00 PM
Install from NFS Share Failing Tarwn Slackware - Installation 5 03-21-2005 05:17 PM


All times are GMT -5. The time now is 11:31 AM.

Main Menu
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