FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 09-15-2008, 10:42 PM
Charlie Kravetz
 
Default problems mounting nfs share

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 15 Sep 2008 16:17:56 -0600
Charlie Kravetz <cjk@teamcharliesangels.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, 15 Sep 2008 12:34:04 -0700
> John Hubbard <ender8282@yahoo.com> wrote:
>
> > jhubbard@jhubbard-laptop:/mnt$ sudo mount 192.168.1.11:/srv/files/media
> > /mnt/media/
> > mount.nfs: rpc.statd is not running but is required for remote locking.
> > Either use '-o nolocks' to keep locks local, or start statd.
> > jhubbard@jhubbard-laptop:/mnt$ sudo mount -o nolocks
> > 192.168.1.11:/srv/files/media /mnt/media/
> > mount.nfs: Unsupported nfs mount option: nolocks
> >
> > 192.168.1.11 is my server running 8.04.1. My laptop is running 7.10.
> > Everything works fine when I try to mount the share on my server.
> >
> > Any thoughts?
> >
> > --
> > -john
> >
> > To be or not to be, that is the question
> > 2b || !2b
> > (0b10)*(0b1100010) || !(0b10)*(0b1100010)
> > 0b11000100 || !0b11000100
> > 0b11000100 || 0b00111011
> > 0b11111111
> > 255, that is the answer.
> >
>
> Server is running NFSv4 by default, which requires some changes to the
> configure files. You need to go to /etc/default/nfs-common on both
> systems and change the line "NEED_IDMAPD=" to "NEED_IDMAPD=yes". This
> at least worked for me. Ubuntu 7.10 used NFSv3 by default and it did
> not need this.
>
> Good luck,
>
> - --
> Charlie Kravetz
> Linux Registered User Number 425914 [http://counter.li.org/]
> Never let anyone steal your DREAM. [http://keepingdreams.com]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)

Sorry, it looks like I should have read all of your message first. I
think you said that part is working. NFS-common is loaded on both
machines, right?

- --
Charlie Kravetz
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIzuTJ535p7ZS+ALgRAgFXAJ4rvkNAaQplaJdeHFjVRS 9PWrX1FgCfabk9
22kdXBQH/qWtsvJugprkRXg=
=5eaZ
-----END PGP SIGNATURE-----

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-16-2008, 01:17 AM
"Brian McKee"
 
Default problems mounting nfs share

On Mon, Sep 15, 2008 at 3:34 PM, John Hubbard <ender8282@yahoo.com> wrote:
> jhubbard@jhubbard-laptop:/mnt$ sudo mount 192.168.1.11:/srv/files/media
> /mnt/media/
> mount.nfs: rpc.statd is not running but is required for remote locking.
> Either use '-o nolocks' to keep locks local, or start statd.

Is statd running? Is it blocked by a firewall?

eg on my hardy box
statd 4261 0.0 0.1 1896 712 ? Ss 04:59 0:00 /sbin/rpc.statd

What does sudo showmount -e on both client and server show?

Brian

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-16-2008, 03:17 AM
John Hubbard
 
Default problems mounting nfs share

Charlie Kravetz wrote:
>
> Server is running NFSv4 by default, which requires some changes to the
> configure files. You need to go to /etc/default/nfs-common on both
> systems and change the line "NEED_IDMAPD=" to "NEED_IDMAPD=yes". This
> at least worked for me. Ubuntu 7.10 used NFSv3 by default and it did
> not need this.
>
I made the switch on both machines and did a
/etc/init.d/nfs-kernel-server restart
on the server and a
/etc/init.d/nfx-common restart
on both machines. Still no luck.


--
-john

To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-16-2008, 03:19 AM
John Hubbard
 
Default problems mounting nfs share

Charlie Kravetz wrote:
> Sorry, it looks like I should have read all of your message first. I
> think you said that part is working. NFS-common is loaded on both
> machines, right?
>
Correct but I only have the nfs-kernel-server installed on my server.

--
-john

To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 09-16-2008, 03:25 AM
John Hubbard
 
Default problems mounting nfs share

Brian McKee wrote:
>
> Is statd running? Is it blocked by a firewall?
>
> eg on my hardy box
> statd 4261 0.0 0.1 1896 712 ? Ss 04:59 0:00 /sbin/rpc.statd
>
> What does sudo showmount -e on both client and server show?
>
> Brian
>
statd is running on the server but not on the client. On the client I
did an 'apt-get install statd' and was informed that it was already the
newest version. I have tried a 'statd' and a 'sudo statd' on the client
and both commands just hang until I give up with a ctrl+c.

showmount -e shows:
/srv/files/backup *
/home/jhubbard 192.168.1.1/225.225.225.0
/srv/files/media 192.168.1.1/225.225.225.0
on the server.
On the client it hangs. The client does not have an /etc/exports as I
don't want to export any folders on my laptop which roams onto different
networks.

--
-john

To be or not to be, that is the question
2b || !2b
(0b10)*(0b1100010) || !(0b10)*(0b1100010)
0b11000100 || !0b11000100
0b11000100 || 0b00111011
0b11111111
255, that is the answer.



--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org