LinuxQuestions.org
Visit Jeremy's Blog.
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 06-11-2010, 12:15 PM   #1
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Unable to mount nfs share under rescue in VM


Dear All,

I have shared few directories through nfs in my fedora 12 OS.

Here is the output of few commands from the virtual machine running on CentOS in both normal and rescue mode

Code:
[root@localhost /]# showmount -e 192.168.0.3
Export list for 192.168.0.3:
/home/vinay/Desktop     *
/var/www/html/cdrom/iso *
Code:
[root@localhost /]# rpcinfo -p 192.168.0.3
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp   4003  status
    100024    1   tcp   4003  status
    100011    1   udp   4005  rquotad
    100011    2   udp   4005  rquotad
    100011    1   tcp   4005  rquotad
    100011    2   tcp   4005  rquotad
    100021    1   udp   4004  nlockmgr
    100021    3   udp   4004  nlockmgr
    100021    4   udp   4004  nlockmgr
    100021    1   tcp   4004  nlockmgr
    100021    3   tcp   4004  nlockmgr
    100021    4   tcp   4004  nlockmgr
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100005    1   udp   4002  mountd
    100005    1   tcp   4002  mountd
    100005    2   udp   4002  mountd
    100005    2   tcp   4002  mountd
    100005    3   udp   4002  mountd
    100005    3   tcp   4002  mountd
I am able to mount Both the shared directories when VM is running normally.

When I enter rescue mode in CentOS VM. I started Networking, I have checked network connections. Also I am getting above outputs for rpcinfo and showmount commands in rescue mode as well.

But when I fire

Code:
mount -t nfs 192.168.0.3:/var/www/html/cdrom/iso /mnt
It just hangs like this...What could be the reason ?

Can anyone please help me with this ?
 
Old 06-12-2010, 05:30 AM   #2
arashi256
Member
 
Registered: Jan 2008
Location: Brighton, UK
Distribution: Ubuntu 12.04 / CentOS 6.5
Posts: 394

Rep: Reputation: 61
Isn't rescue mode's default to put the filesystem in read-only mode? Have you checked that you've remounted the system as read-write?
 
Old 06-12-2010, 09:10 AM   #3
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Original Poster
Rep: Reputation: 55
Thanks for reply arashi256.

But even in rescue mode /mnt directory is with rw mode. I checked with mount commmand

Still No luck in mounting nfs filesystem in rescue mode...
 
  


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
Unable to boot RHEL 5.2 and Unable to mount root file system in rescue mode vknemannavar Red Hat 5 01-29-2010 10:05 AM
Unable to mount NFS Share [RPCPROG_MNT: RPC: Timed out] paragkalra *BSD 5 02-12-2009 07:03 AM
Unable to mount NFS share present on server to client vathsan AIX 1 11-11-2008 12:19 AM
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 10:03 AM
Unable to mount NFS share through network IP hot_wired13 Linux - Server 1 09-02-2007 08:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration