* [gentoo-user] URGENT: nfs stopped working
@ 2011-04-30 0:46 Michael Sullivan
2011-04-30 2:54 ` Stroller
2011-04-30 23:29 ` [gentoo-user] Re: URGENT: nfs stopped working walt
0 siblings, 2 replies; 17+ messages in thread
From: Michael Sullivan @ 2011-04-30 0:46 UTC (permalink / raw
To: gentoo-user
OK. I recently switched my three computers (carter, camille, and
catherine) to the new gcc profile: i686-pc-linux-gnu-4.4.5 from
i686-pc-linux-gnu-4.3.4. As recommended, I performed emerge -e system
and then emerge -e world on all of them. Carter finished his emerge -e
world a couple of days ago (he's faster than the others). Camille and
catherine were a few hundred packages from the end of their emerge -e
world when the power went out. Carter supplies daily
updated /usr/portage to camille and catherine via nfs, but when I
restarted the computers when the power came back on, I get this:
camille ~ # mount carter:/usr/portage /usr/portage/
mount.nfs: an incorrect mount option was specified
Am I not constructing my command correctly?
I have tried mount -t nfs and it still doesn't work. I can ping carter
fine, and carter says nfs is running. How do I get nfs back?
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] URGENT: nfs stopped working
2011-04-30 0:46 [gentoo-user] URGENT: nfs stopped working Michael Sullivan
@ 2011-04-30 2:54 ` Stroller
2011-04-30 3:34 ` Michael Sullivan
2011-04-30 23:29 ` [gentoo-user] Re: URGENT: nfs stopped working walt
1 sibling, 1 reply; 17+ messages in thread
From: Stroller @ 2011-04-30 2:54 UTC (permalink / raw
To: gentoo-user
On 30/4/2011, at 1:46am, Michael Sullivan wrote:
> ...
> camille ~ # mount carter:/usr/portage /usr/portage/
> mount.nfs: an incorrect mount option was specified
> ...
$ zcat /proc/config.gz | grep -i nfs
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
CONFIG_NFS_V3_ACL=y
CONFIG_NFS_V4=y
CONFIG_NFS_V4_1=y
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
CONFIG_NFSD_V4=y
CONFIG_NFS_ACL_SUPPORT=y
CONFIG_NFS_COMMON=y
CONFIG_NCPFS_NFS_NS=y
$
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] URGENT: nfs stopped working
2011-04-30 2:54 ` Stroller
@ 2011-04-30 3:34 ` Michael Sullivan
2011-04-30 13:16 ` Stroller
0 siblings, 1 reply; 17+ messages in thread
From: Michael Sullivan @ 2011-04-30 3:34 UTC (permalink / raw
To: gentoo-user
On Sat, 2011-04-30 at 03:54 +0100, Stroller wrote:
> On 30/4/2011, at 1:46am, Michael Sullivan wrote:
> > ...
> > camille ~ # mount carter:/usr/portage /usr/portage/
> > mount.nfs: an incorrect mount option was specified
> > ...
>
> $ zcat /proc/config.gz | grep -i nfs
> CONFIG_NFS_FS=y
> CONFIG_NFS_V3=y
> CONFIG_NFS_V3_ACL=y
> CONFIG_NFS_V4=y
> CONFIG_NFS_V4_1=y
> CONFIG_NFSD=m
> CONFIG_NFSD_V2_ACL=y
> CONFIG_NFSD_V3=y
> CONFIG_NFSD_V3_ACL=y
> CONFIG_NFSD_V4=y
> CONFIG_NFS_ACL_SUPPORT=y
> CONFIG_NFS_COMMON=y
> CONFIG_NCPFS_NFS_NS=y
> $
>
Mine says:
camille ~ # zcat /proc/config.gz | grep -i nfs
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_NFS_COMMON=y
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] URGENT: nfs stopped working
2011-04-30 3:34 ` Michael Sullivan
@ 2011-04-30 13:16 ` Stroller
2011-04-30 15:08 ` Peter Humphrey
0 siblings, 1 reply; 17+ messages in thread
From: Stroller @ 2011-04-30 13:16 UTC (permalink / raw
To: gentoo-user
On 30/4/2011, at 4:34am, Michael Sullivan wrote:
>
> Mine says:
>
> camille ~ # zcat /proc/config.gz | grep -i nfs
> CONFIG_NFS_FS=m
> CONFIG_NFS_V3=y
> # CONFIG_NFS_V3_ACL is not set
> # CONFIG_NFS_V4 is not set
> CONFIG_NFSD=m
> CONFIG_NFSD_V3=y
> # CONFIG_NFSD_V3_ACL is not set
> # CONFIG_NFSD_V4 is not set
> CONFIG_NFS_COMMON=y
The same on both systems? The other one doesn't have v4 set?
Did you try modprobing NFS before trying your mount command?
Unless you don't know what modprobe is, I shouldn't have had to ask this. You should have replied with `lsmod | grep -i nfs` (showing that the module is loaded) and a second attempt to perform the NFS mount.
Stroller.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] URGENT: nfs stopped working
2011-04-30 13:16 ` Stroller
@ 2011-04-30 15:08 ` Peter Humphrey
2011-04-30 16:25 ` [gentoo-user] URGENT: nfs stopped working SOLVED (mostly) Michael Sullivan
0 siblings, 1 reply; 17+ messages in thread
From: Peter Humphrey @ 2011-04-30 15:08 UTC (permalink / raw
To: gentoo-user
On Saturday 30 April 2011 14:16:15 Stroller wrote:
> On 30/4/2011, at 4:34am, Michael Sullivan wrote:
> > Mine says:
> >
> > camille ~ # zcat /proc/config.gz | grep -i nfs
> > CONFIG_NFS_FS=m
> > CONFIG_NFS_V3=y
> > # CONFIG_NFS_V3_ACL is not set
> > # CONFIG_NFS_V4 is not set
> > CONFIG_NFSD=m
> > CONFIG_NFSD_V3=y
> > # CONFIG_NFSD_V3_ACL is not set
> > # CONFIG_NFSD_V4 is not set
> > CONFIG_NFS_COMMON=y
>
> The same on both systems? The other one doesn't have v4 set?
If one has no V4 you'll have to use V3, so add vers=3 to your mount options.
--
Rgds
Peter
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] URGENT: nfs stopped working SOLVED (mostly)
2011-04-30 15:08 ` Peter Humphrey
@ 2011-04-30 16:25 ` Michael Sullivan
0 siblings, 0 replies; 17+ messages in thread
From: Michael Sullivan @ 2011-04-30 16:25 UTC (permalink / raw
To: gentoo-user
On Sat, 2011-04-30 at 16:08 +0100, Peter Humphrey wrote:
> On Saturday 30 April 2011 14:16:15 Stroller wrote:
> > On 30/4/2011, at 4:34am, Michael Sullivan wrote:
> > > Mine says:
> > >
> > > camille ~ # zcat /proc/config.gz | grep -i nfs
> > > CONFIG_NFS_FS=m
> > > CONFIG_NFS_V3=y
> > > # CONFIG_NFS_V3_ACL is not set
> > > # CONFIG_NFS_V4 is not set
> > > CONFIG_NFSD=m
> > > CONFIG_NFSD_V3=y
> > > # CONFIG_NFSD_V3_ACL is not set
> > > # CONFIG_NFSD_V4 is not set
> > > CONFIG_NFS_COMMON=y
> >
> > The same on both systems? The other one doesn't have v4 set?
>
> If one has no V4 you'll have to use V3, so add vers=3 to your mount options.
>
I rebuilt kernels on camille and catherine, enabling every NFS option I
could and now they both can use NFS from carter. However, carter cannot
mount camille's /mnt/store:
carter ~ # mount camille:/mnt/store/ /mnt/store/
mount.nfs: requested NFS version or transport protocol is not supported
But, somehow, carter has access to all the recordings. This happens
sometimes and I don't know why...
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: URGENT: nfs stopped working
2011-04-30 0:46 [gentoo-user] URGENT: nfs stopped working Michael Sullivan
2011-04-30 2:54 ` Stroller
@ 2011-04-30 23:29 ` walt
2011-04-30 23:53 ` Adam Carter
1 sibling, 1 reply; 17+ messages in thread
From: walt @ 2011-04-30 23:29 UTC (permalink / raw
To: gentoo-user
On 04/29/2011 05:46 PM, Michael Sullivan wrote:
> OK. I recently switched my three computers (carter, camille, and
> catherine) to the new gcc profile: i686-pc-linux-gnu-4.4.5 from
> i686-pc-linux-gnu-4.3.4. As recommended, I performed emerge -e system
> and then emerge -e world on all of them. Carter finished his emerge -e
> world a couple of days ago (he's faster than the others). Camille and
> catherine were a few hundred packages from the end of their emerge -e
> world when the power went out. Carter supplies daily
> updated /usr/portage to camille and catherine via nfs, but when I
> restarted the computers when the power came back on, I get this:
>
> camille ~ # mount carter:/usr/portage /usr/portage/
> mount.nfs: an incorrect mount option was specified
>
> Am I not constructing my command correctly?
>
> I have tried mount -t nfs and it still doesn't work. I can ping carter
> fine, and carter says nfs is running. How do I get nfs back?
I use nfs about twice/year to transfer large files between machines -- so
I'm quite an expert at praying to the computer gods to "please let this nfs
mount work just this one last time and I'll never bother you again, I promise!"
I'm lying, of course, because I intend to do it again six months from now.
Every time, the computer gods make me suffer through multiple attempts to
guess the correct magic prayer before the remote nfs filesystem finally
appears for its biannual visit on /mnt/nfs.
Yes, I may well be paranoid, but it seems to me that the magic prayer for
nfs mounts changes every time I need it.
Sometimes I succeed using mount.nfs4, sometimes using mount -t nfs -o
nfsvers=4, or sometimes just mount -t nfs.
I have NFI what the real secret is, so I ask you nfs wonks to have mercy
and fill us in...
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-04-30 23:29 ` [gentoo-user] Re: URGENT: nfs stopped working walt
@ 2011-04-30 23:53 ` Adam Carter
2011-05-01 0:53 ` Dale
2011-05-02 23:00 ` walt
0 siblings, 2 replies; 17+ messages in thread
From: Adam Carter @ 2011-04-30 23:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 374 bytes --]
> I use nfs about twice/year to transfer large files between machines -- so
> I'm quite an expert at praying to the computer gods to "please let this nfs
> mount work just this one last time and I'll never bother you again, I
> promise!"
>
> I'm lying, of course, because I intend to do it again six months from now.
>
Why not just use scp of sftp since its so infrequent?
[-- Attachment #2: Type: text/html, Size: 561 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-04-30 23:53 ` Adam Carter
@ 2011-05-01 0:53 ` Dale
2011-05-01 1:51 ` Volker Armin Hemmann
2011-05-01 2:40 ` Adam Carter
2011-05-02 23:00 ` walt
1 sibling, 2 replies; 17+ messages in thread
From: Dale @ 2011-05-01 0:53 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 476 bytes --]
Adam Carter wrote:
>
> I use nfs about twice/year to transfer large files between
> machines -- so
> I'm quite an expert at praying to the computer gods to "please let
> this nfs
> mount work just this one last time and I'll never bother you
> again, I promise!"
>
> I'm lying, of course, because I intend to do it again six months
> from now.
>
>
> Why not just use scp of sftp since its so infrequent?
New can of worms. o_O
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 1005 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-01 0:53 ` Dale
@ 2011-05-01 1:51 ` Volker Armin Hemmann
2011-05-01 15:17 ` Kfir Lavi
2011-05-01 20:21 ` Dale
2011-05-01 2:40 ` Adam Carter
1 sibling, 2 replies; 17+ messages in thread
From: Volker Armin Hemmann @ 2011-05-01 1:51 UTC (permalink / raw
To: gentoo-user
On Saturday 30 April 2011 19:53:21 Dale wrote:
> Adam Carter wrote:
> > I use nfs about twice/year to transfer large files between
> > machines -- so
> > I'm quite an expert at praying to the computer gods to "please
> > let
> > this nfs
> > mount work just this one last time and I'll never bother you
> > again, I promise!"
> >
> > I'm lying, of course, because I intend to do it again six months
> > from now.
> >
> > Why not just use scp of sftp since its so infrequent?
>
> New can of worms. o_O
>
scp is fucking easy to do. Even easier: pure-ftpd.
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-01 0:53 ` Dale
2011-05-01 1:51 ` Volker Armin Hemmann
@ 2011-05-01 2:40 ` Adam Carter
1 sibling, 0 replies; 17+ messages in thread
From: Adam Carter @ 2011-05-01 2:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 130 bytes --]
>
> Why not just use scp of sftp since its so infrequent?
>
>
> New can of worms. o_O
>
> Dale
>
>
> Much smaller can thought :)
[-- Attachment #2: Type: text/html, Size: 433 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-01 1:51 ` Volker Armin Hemmann
@ 2011-05-01 15:17 ` Kfir Lavi
2011-05-01 20:21 ` Dale
1 sibling, 0 replies; 17+ messages in thread
From: Kfir Lavi @ 2011-05-01 15:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 818 bytes --]
On Sun, May 1, 2011 at 4:51 AM, Volker Armin Hemmann <
volkerarmin@googlemail.com> wrote:
> On Saturday 30 April 2011 19:53:21 Dale wrote:
> > Adam Carter wrote:
> > > I use nfs about twice/year to transfer large files between
> > > machines -- so
> > > I'm quite an expert at praying to the computer gods to "please
> > > let
> > > this nfs
> > > mount work just this one last time and I'll never bother you
> > > again, I promise!"
> > >
> > > I'm lying, of course, because I intend to do it again six months
> > > from now.
> > >
> > > Why not just use scp of sftp since its so infrequent?
> >
> > New can of worms. o_O
> >
>
> scp is fucking easy to do. Even easier: pure-ftpd.
>
> I'm using sys-fs/sshfs-fuse which is working very good, and it is really
easy to setup.
Kfir
[-- Attachment #2: Type: text/html, Size: 1346 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-01 1:51 ` Volker Armin Hemmann
2011-05-01 15:17 ` Kfir Lavi
@ 2011-05-01 20:21 ` Dale
2011-05-01 20:39 ` Volker Armin Hemmann
1 sibling, 1 reply; 17+ messages in thread
From: Dale @ 2011-05-01 20:21 UTC (permalink / raw
To: gentoo-user
Volker Armin Hemmann wrote:
> On Saturday 30 April 2011 19:53:21 Dale wrote:
>
>> Adam Carter wrote:
>>
>>> I use nfs about twice/year to transfer large files between
>>> machines -- so
>>> I'm quite an expert at praying to the computer gods to "please
>>> let
>>> this nfs
>>> mount work just this one last time and I'll never bother you
>>> again, I promise!"
>>>
>>> I'm lying, of course, because I intend to do it again six months
>>> from now.
>>>
>>> Why not just use scp of sftp since its so infrequent?
>>>
>> New can of worms. o_O
>>
>>
> scp is fucking easy to do. Even easier: pure-ftpd.
>
>
Yea, like using hal. lol I used scp a few times. Figuring out how to
get it to work was like pulling teeth.
It did work once I got it figured out.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-01 20:21 ` Dale
@ 2011-05-01 20:39 ` Volker Armin Hemmann
2011-05-02 0:19 ` Dale
0 siblings, 1 reply; 17+ messages in thread
From: Volker Armin Hemmann @ 2011-05-01 20:39 UTC (permalink / raw
To: gentoo-user
On Sunday 01 May 2011 15:21:04 Dale wrote:
> Volker Armin Hemmann wrote:
> > On Saturday 30 April 2011 19:53:21 Dale wrote:
> >> Adam Carter wrote:
> >>> I use nfs about twice/year to transfer large files between
> >>> machines -- so
> >>> I'm quite an expert at praying to the computer gods to
> >>> "please
> >>> let
> >>> this nfs
> >>> mount work just this one last time and I'll never bother
> >>> you
> >>> again, I promise!"
> >>>
> >>> I'm lying, of course, because I intend to do it again six
> >>> months
> >>> from now.
> >>>
> >>> Why not just use scp of sftp since its so infrequent?
> >>
> >> New can of worms. o_O
> >
> > scp is fucking easy to do. Even easier: pure-ftpd.
>
> Yea, like using hal. lol I used scp a few times. Figuring out how to
> get it to work was like pulling teeth.
>
> It did work once I got it figured out.
>
> Dale
>
> :-) :-)
have sshd running
read man scp
done
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-01 20:39 ` Volker Armin Hemmann
@ 2011-05-02 0:19 ` Dale
2011-05-02 1:04 ` Adam Carter
0 siblings, 1 reply; 17+ messages in thread
From: Dale @ 2011-05-02 0:19 UTC (permalink / raw
To: gentoo-user
Volker Armin Hemmann wrote:
> On Sunday 01 May 2011 15:21:04 Dale wrote:
>
>> Volker Armin Hemmann wrote:
>>
>>> On Saturday 30 April 2011 19:53:21 Dale wrote:
>>>
>>>> Adam Carter wrote:
>>>>
>>>>> I use nfs about twice/year to transfer large files between
>>>>> machines -- so
>>>>> I'm quite an expert at praying to the computer gods to
>>>>> "please
>>>>> let
>>>>> this nfs
>>>>> mount work just this one last time and I'll never bother
>>>>> you
>>>>> again, I promise!"
>>>>>
>>>>> I'm lying, of course, because I intend to do it again six
>>>>> months
>>>>> from now.
>>>>>
>>>>> Why not just use scp of sftp since its so infrequent?
>>>>>
>>>> New can of worms. o_O
>>>>
>>> scp is fucking easy to do. Even easier: pure-ftpd.
>>>
>> Yea, like using hal. lol I used scp a few times. Figuring out how to
>> get it to work was like pulling teeth.
>>
>> It did work once I got it figured out.
>>
>> Dale
>>
>> :-) :-)
>>
> have sshd running
> read man scp
> done
>
>
>
That was what I did. Still not always so simple tho.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [gentoo-user] Re: URGENT: nfs stopped working
2011-05-02 0:19 ` Dale
@ 2011-05-02 1:04 ` Adam Carter
0 siblings, 0 replies; 17+ messages in thread
From: Adam Carter @ 2011-05-02 1:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 255 bytes --]
> have sshd running
>> read man scp
>> done
>>
>>
>
> That was what I did. Still not always so simple tho.
>
>
There's not much else simpler than scp! I should have added a smiley to my
comment about smaller can or worms - NFS is not complicated either.
[-- Attachment #2: Type: text/html, Size: 615 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* [gentoo-user] Re: URGENT: nfs stopped working
2011-04-30 23:53 ` Adam Carter
2011-05-01 0:53 ` Dale
@ 2011-05-02 23:00 ` walt
1 sibling, 0 replies; 17+ messages in thread
From: walt @ 2011-05-02 23:00 UTC (permalink / raw
To: gentoo-user
On 04/30/2011 04:53 PM, Adam Carter wrote:
>
> I use nfs about twice/year to transfer large files between machines -- so
> I'm quite an expert at praying to the computer gods to "please let this nfs
> mount work just this one last time and I'll never bother you again, I promise!"
>
> I'm lying, of course, because I intend to do it again six months from now.
>
>
> Why not just use scp or sftp since its so infrequent?
I use scp all the time -- but It's The Principle Of The Thing(TM) :p
I never had any trouble with NFS until version 4 came along, and nothing *but*
trouble since then.
I figure if I invoke mount.nfs4, I shouldn't need to include the nfsvers=4
option in addition -- but that's what it has made me do.
At least until the last time I tried it about two weeks ago, when plain old
mount -t nfs seemed to work without any magic incantations. OTOH, I didn't
bother to investigate which nfs version actually connected. I just gave thanks
for the crumbs it tossed me and copied my files across ;)
OTOH sftp really is quite nifty...
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2011-05-02 23:03 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-30 0:46 [gentoo-user] URGENT: nfs stopped working Michael Sullivan
2011-04-30 2:54 ` Stroller
2011-04-30 3:34 ` Michael Sullivan
2011-04-30 13:16 ` Stroller
2011-04-30 15:08 ` Peter Humphrey
2011-04-30 16:25 ` [gentoo-user] URGENT: nfs stopped working SOLVED (mostly) Michael Sullivan
2011-04-30 23:29 ` [gentoo-user] Re: URGENT: nfs stopped working walt
2011-04-30 23:53 ` Adam Carter
2011-05-01 0:53 ` Dale
2011-05-01 1:51 ` Volker Armin Hemmann
2011-05-01 15:17 ` Kfir Lavi
2011-05-01 20:21 ` Dale
2011-05-01 20:39 ` Volker Armin Hemmann
2011-05-02 0:19 ` Dale
2011-05-02 1:04 ` Adam Carter
2011-05-01 2:40 ` Adam Carter
2011-05-02 23:00 ` walt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox