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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-26-2012, 07:45 PM
Jonathan Ryshpan
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

Can anyone explain this? How can it be fixed? Do some services need to
be started on the server?

The server is "weather". This log is from the client:
# mount -t nfs weather:/home/jonrysh /mnt/weather
# ls /mnt/weather
Desktop Documents Downloads Music Pictures Public Templates Videos grub2
# umount /mnt/weather
# mount -t nfs4 weather:/home/jonrysh /mnt/weather
mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
No such file or directory
#
Thanks in advance - jon




--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 07:59 PM
Joe Zeff
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On 04/26/2012 12:45 PM, Jonathan Ryshpan wrote:

Thanks in advance - jon


I'll admit that I don't know much about this, but it might help to know
how that partition's formatted. It might make a difference in how it
gets mounted.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 08:17 PM
Jonathan Ryshpan
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On Thu, 2012-04-26 at 12:45 -0700, Jonathan Ryshpan wrote:
> Can anyone explain this? How can it be fixed? Do some services need to
> be started on the server?
>
> The server is "weather". This log is from the client:
> # mount -t nfs weather:/home/jonrysh /mnt/weather
> # ls /mnt/weather
> Desktop Documents Downloads Music Pictures Public Templates Videos grub2
> # umount /mnt/weather
> # mount -t nfs4 weather:/home/jonrysh /mnt/weather
> mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
> No such file or directory
> #
Following a suggestion in the Arch Linux Wiki:
https://wiki.archlinux.org/index.php/NFSv4#Exports
I made this minor edit to /etc/exports on weather (the server)

Old /etc/exports:
/ amito(rw,no_root_squash)
/home/jonrysh amito(rw,no_root_squash)
New /etc/exports:
/ amito(rw,fsid=0,no_root_squash)
/home/jonrysh amito(rw,no_root_squash)
Note that the addition of "fsid=0" to the entry for the root directory
allows *both* the root and a directory under it to be exported. To
understand this better, read the following section in the Arch Linux
Wiki: Exporting directories outside your NFS root

All very subtle, and undocumented.

jon


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 08:17 PM
Veli-Pekka Kestilš
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On 26.4.2012 22:45, Jonathan Ryshpan wrote:

Can anyone explain this? How can it be fixed? Do some services need to
be started on the server?

The server is "weather". This log is from the client:
# mount -t nfs weather:/home/jonrysh /mnt/weather
# ls /mnt/weather
Desktop Documents Downloads Music Pictures Public Templates Videos grub2
# umount /mnt/weather
# mount -t nfs4 weather:/home/jonrysh /mnt/weather
mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
No such file or directory
#
Thanks in advance - jon
Could you post your /etc/exports from "weather" as the exports syntax is
different for nfs3 and nfs4.


-vpk

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 08:23 PM
Ian Pilcher
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On 04/26/2012 02:45 PM, Jonathan Ryshpan wrote:
> Can anyone explain this? How can it be fixed? Do some services need to
> be started on the server?
>
> The server is "weather". This log is from the client:
> # mount -t nfs weather:/home/jonrysh /mnt/weather
> # ls /mnt/weather
> Desktop Documents Downloads Music Pictures Public Templates Videos grub2
> # umount /mnt/weather
> # mount -t nfs4 weather:/home/jonrysh /mnt/weather
> mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
> No such file or directory
> #
> Thanks in advance - jon

NFSv4 works very differently from previous versions. You should be able
to Google up plenty of documentation.

The key point is that you can't just switch between v3 and v4 without
reconfiguring things.

--
================================================== ======================
Ian Pilcher arequipeno@gmail.com
"If you're going to shift my paradigm ... at least buy me dinner first."
================================================== ======================

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 08:38 PM
"Robert P. J. Day"
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On Thu, 26 Apr 2012, Ian Pilcher wrote:

> On 04/26/2012 02:45 PM, Jonathan Ryshpan wrote:
> > Can anyone explain this? How can it be fixed? Do some services need to
> > be started on the server?
> >
> > The server is "weather". This log is from the client:
> > # mount -t nfs weather:/home/jonrysh /mnt/weather
> > # ls /mnt/weather
> > Desktop Documents Downloads Music Pictures Public Templates Videos grub2
> > # umount /mnt/weather
> > # mount -t nfs4 weather:/home/jonrysh /mnt/weather
> > mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
> > No such file or directory
> > #
> > Thanks in advance - jon
>
> NFSv4 works very differently from previous versions. You should be
> able to Google up plenty of documentation.
>
> The key point is that you can't just switch between v3 and v4
> without reconfiguring things.

possibly off-topic but a long, long, *long* time ago, i wondered if
you could set up a network using *exclusively* NFSv4, and found it was
impossible -- at least one of the client programs required some
earlier version of NFS even if it wasn't being used.

any clarification on whether one can run a *purely* NFSv4 network?

rday

--

================================================== ======================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
================================================== ======================
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 08:41 PM
Ed Greshko
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On 04/27/2012 03:45 AM, Jonathan Ryshpan wrote:
> Can anyone explain this? How can it be fixed? Do some services need to
> be started on the server?
>
> The server is "weather". This log is from the client:
> # mount -t nfs weather:/home/jonrysh /mnt/weather
> # ls /mnt/weather
> Desktop Documents Downloads Music Pictures Public Templates Videos grub2
> # umount /mnt/weather
> # mount -t nfs4 weather:/home/jonrysh /mnt/weather
> mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
> No such file or directory
> #
> Thanks in advance - jon
>

If you do a "modprobe nfs" the mount would work....

See this https://bugzilla.redhat.com/show_bug.cgi?id=806333

--
Never be afraid to laugh at yourself, after all, you could be missing out on the joke
of the century. -- Dame Edna Everage
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 08:58 PM
Kernel Guardian
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

what version of Fedora you use? (nfs server / nfs client)
can you attach /etc/exports and /etc/syconfig/nfs files?
can you attach /etc/sysconfig/iptables?
All of these files are from nfs server side.

On 26 April 2012 21:45, Jonathan Ryshpan <jonrysh@pacbell.net> wrote:
> Can anyone explain this? *How can it be fixed? *Do some services need to
> be started on the server?
>
> The server is "weather". *This log is from the client:
> * * * *# mount -t nfs weather:/home/jonrysh /mnt/weather
> * * * *# ls /mnt/weather
> * * * *Desktop *Documents *Downloads *Music *Pictures *Public *Templates *Videos *grub2
> * * * *# umount /mnt/weather
> * * * *# mount -t nfs4 weather:/home/jonrysh /mnt/weather
> * * * *mount.nfs4: mounting weather:/home/jonrysh failed, reason given by server:
> * * * * *No such file or directory
> * * * *#
> Thanks in advance - jon
>
>
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 09:01 PM
Kernel Guardian
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

partition? usually problems are among some of these files: exports
file, iptables, sysconifg/nfs

On 26 April 2012 21:59, Joe Zeff <joe@zeff.us> wrote:
> On 04/26/2012 12:45 PM, Jonathan Ryshpan wrote:
>>
>> Thanks in advance - jon
>
>
> I'll admit that I don't know much about this, but it might help to know how
> that partition's formatted. *It might make a difference in how it gets
> mounted.
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 04-26-2012, 09:38 PM
Joe Zeff
 
Default mount -t nfs4 fails, but mount -t nfs succeeds

On 04/26/2012 02:01 PM, Kernel Guardian wrote:

partition? usually problems are among some of these files: exports
file, iptables, sysconifg/nfs


My thought was that you probably couldn't mount it as ntfs4 if it were
formatted as ntfs3. Again, just trying to eliminate an unlikely
possibility.

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 04:35 PM.

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