Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #61147

Re: NFS error-proof mount at boot time

From Soviet_Mario <SovietMario@CCCP.MIR>
Newsgroups alt.os.linux
Subject Re: NFS error-proof mount at boot time
Date 2019-12-02 18:53 +0100
Organization A noiseless patient Spider
Message-ID <qs3j37$tp7$1@dont-email.me> (permalink)
References (1 earlier) <7uodbg-ul6.ln1@Telcontar.valinor> <qs31ou$j7r$1@dont-email.me> <t4hfbg-5lk.ln1@Telcontar.valinor> <qs39qt$3aq$1@dont-email.me> <qs3i3m$ntr$1@dont-email.me>

Show all headers | View raw


Il 02/12/19 18:36, William Unruh ha scritto:
> On 2019-12-02, Soviet_Mario <SovietMario@CCCP.MIR> wrote:
>> Il 02/12/19 14:45, Carlos E.R. ha scritto:
>>> On 02/12/2019 13.58, Soviet_Mario wrote:
>>>> Il 01/12/19 22:46, Carlos E.R. ha scritto:
>>>>> On 01/12/2019 20.34, Soviet_Mario wrote:
>>>
>>>
>>>>>> In case of problems, what "options" could make the boot tolerant to the
>>>>>> state of the remote server ?
>>>>>
>>>>> _netdev,nofail
>>>>>
>>>>> Like:
>>>>>
>>>>> remotenameorIP:/data/something/  /data/remote  nfs  noauto,_netdev 0 0
>>>>
>>>>
>>>> some more questions :
>>>> are remote machine reachable by just "man-decided" qualificators ?
>>>
>>> What does that mean?
>>
>> that I'd very much like to be able to manually and
>> arbitrarily name all PCs connected and make each one see the
>> others "by that names", not by non-sense (= non human
>> readable) codes and numbers
> 
> jThe system only knowns other computers by their IP address. But it has
> a means of translating names to IP addresses. Some are public (and the
> translation takes place via DNS from DNS servers). Some can be private,
> and the translation takes place by lookup in /etc/hosts. The format of a
> "name" is computername.domain, where domain is some higher level search
> (Think of computername as the house address -- 6612 say-- and the rest
> of the address being the "domain".
>   Frothingham St, Wallace, Maine,USA
> In England, the "number" can be a name Ivy Cottage say
> So, Ivy Cottage, Frothingham St, Wallace, Maine,USA
> Then "Ivy Cottage" is then "computername" and Frothingham St, Wallace,
> Maine,USA is the "domain name". But for computers, you cannot use
> spaces, and the separator is a dot, not a comma.
> 
> In /etc/hosts you can have just a "computername" or a domain name as
> well but it can be made up. So codswallop.local is a perfectly good name
> you can use in /etc/hosts. Or just codswallop.
> But then you HAVE to put in the numeric IPV4 or IPV6 address for that
> computer. That can be tricky if your computers use dynamic addresses
> (dhcp) since the address can change from one boot to the next (or even
> from one day to the next). If you are going to go down the /etc/hosts
> route, then make sure all your systems are static addresses rather than
> dynamic.
> 
> 
>>
>>>
>>>>
>>>> I mean a full descriptor of hostname and hostdomain (dunno in what order
>>>> and how connected).
>>>
>>> A fully qualified name, ie "hostname.domain", or an IP address.
>>
>> but what are, if any, the rules to assign both hostname and
>> domain ?
> 
> In /etc/hosts-- do not use spaces ever. Otherwise not much in the way of
> rules.
> 
>>
>>>
>>> You can have a full DNS server on the same machine or another in the
>>> network, or you can define the names in /etc/hosts
>>
>> in those definitions I simply add man-readable names, or
>> they are to be associated with physical IP / MAC or else ?
>> IP are mutable (volatiles), MAC at least would be invariant
> 
> You MUST put in the IP address of the machine correctly. That is the
> ONLY way your machine knows how to find the other machine.

mmm, ok .... i feared that

> 
>>
>>>
>>>> But my question is : can they be human assigned ? Are there limitations
>>>> (for example in charset or who knows, first char must be a letter,
>>>> uppercase forbidden ... what general limitation are relevant to both, or
>>>> to each, hostname and domain name ?)
>>>
>>> That's a very different question, but you see the variety of such names
>>> every time you send an email or browse a site.
>>>
>>> For instance, you can use:
>>>
>>> nfsserver.SovietMario.localnet
>>
>> how many parts are mandatory ? Why 3 parts ?
> 
> One "part" is mandatory.
> 
> 
>>
>>>
>>>
>>>> can I assign them as I prefer, and later use them to identify a machin
>>>> connected to the router without any other reference like IP (I'm rather
>>>> diffident in assignment of static IP, even I don't understand if such
>>>> IPs would be visible outside, on WAN, or remain local to LAN) or MAC
>>>> address.
> 
> It is the IP address that is the way your machine connects to the other.
> /etc/hosts is just a translation table to convert your "human readable"
> names to those IP addresses.
> 
> 
>>>
>>> A 192.... address is not visible from outside. Basics.
> 
> A 192.x.x.x may be visible from outside. It is only the 192.168.x.x
> range that is not. 192.134.7.1 is a perfectly valid address on the
> internet.

ah ! gulp, tnx for the info


> 
> 10.x.x.x is a local set of addresses which are not routable on the
> external network.

is this a special range ? But can one, after the 
modem-router is working and web surfing enabled, manually 
assign this "internal" IP to machines ?

This "internal" IP (seen from inside the lan) has sth to do 
with the WEB<=>modem dynamically assigned IP (DHCP assigned) 
? Or they belong to distinct layers ?

If possible to manually assign the IP (I guess on a per-OS 
basis, I mean when running each distro I have to assign the 
same IP in order to be seen from other PC), does the OS take 
care to "inform" the modem-router ?

In the other machine (client) I must add to /etc/hosts the 
same association, right ?


>>
>> (sgrunt ... basics ... not for me at least :\)
>>
>>>
>>> You can put any name you wish, as long as it resolves inside your
>>> machine.
>>
>> dunno anything about such "resolution". My question was If I
>> can use just assigned names or I have to associate them with
>> physical IPs first, and only later use the names.
>> In such a case I'm not sure how to obtain the IPs in a
>> script for example
>>
>>> A machine can have different names seen from a number of
>>> machines: only by writing different names on each one hosts file.
>>
>> total confusion ... so such a name is not univocally
>> associated with a given machine :\
>>
>>>
>>>>
>>>> tnx
>>>>
>>>>>
>>>>>
>>>>> But you will get no warning if it fails.
>>>>>
>>>>>
>>>>> Or, automount on demand:
>>>>>
>>>>> remotenameorIP:/data/something/  /data/remote  nfs   \
>>>>>       noauto,nofail,x-systemd.automount,\
>>>>>       x-systemd.idle-timeout=300,_netdev,nfsvers=4  0  0
>>>>>
>>>>
>>>> the backslashes are separators or the line continuation chars ?
>>>
>>> Line continuation. This is typical in Linux/unix. The real entry is a
>>> single line, but nntp barks at long lines.
>>>
>>>
>>>>>> Believe me, the more I read the less I understand of networking :(
>>>>>
>>>>> takes time.
>>>>
>>>> yes ...
>>>
>>> If you see a "networking for dummies (Linux)" book, grab it. Don't be
>>> turned of by the "for dummies" thing: I have read some of them and they
>>> make a good read.
>>
>> well, it's english language that puts me off :\
>> I mean, I do much more effort with limited real
>> comprehension. I understand single sentences and often lose
>> the general sense.
>> The opposite when I read chemistry books, I don't even care
>> to translate or to read word by word, I get the general
>> meaning through. Here, well, not :\
>>
>> maybe scientific articles tend to be written in aseptic
>> standard simplified english, while here everyone uses it's
>> native expressions or sometimes jargon I'm not very familiar
>> with
>>
>>>
>>> I want an IPv6 one for me.
>>>
>>
>>


-- 
1) Resistere, resistere, resistere.
2) Se tutti pagano le tasse, le tasse le pagano tutti
Soviet_Mario - (aka Gatto_Vizzato)

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-01 20:34 +0100
  Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-01 14:42 -0700
    Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 13:23 +0100
      Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-02 14:45 +0000
        Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 16:05 +0100
          Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:24 +0100
      Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 10:29 -0700
        Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 18:44 +0100
          Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-02 17:56 +0000
            Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 19:53 +0100
          Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:29 +0100
            Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-03 15:54 +0100
              Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 16:27 +0100
                Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-03 22:17 +0100
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 23:12 +0100
              Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 09:14 -0700
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 19:15 +0100
  Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-01 22:46 +0100
    Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 13:58 +0100
      Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 14:45 +0100
        Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 16:15 +0100
          Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-02 17:36 +0000
            Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 18:53 +0100
              Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:27 -0700
                Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 20:10 +0100
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 13:16 -0700
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 23:36 +0100
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 15:57 -0700
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 00:17 +0100
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 16:41 -0700
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 04:12 +0100
                Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 01:59 +0000
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 19:16 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-02 21:00 -0600
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 20:12 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-02 21:52 -0600
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 21:17 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 02:46 -0600
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 09:03 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 14:28 -0600
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:30 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 19:59 -0600
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 19:37 -0700
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 19:22 +0100
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 14:34 -0600
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 23:23 +0100
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:46 -0700
                Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 18:02 +0000
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 12:57 -0700
                Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 22:11 +0000
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:37 -0700
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 16:59 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 20:27 -0600
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-03 19:44 -0700
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-03 21:32 -0600
                Re: NFS error-proof mount at boot time John Hasler <jhasler@newsguy.com> - 2019-12-04 07:27 -0600
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-04 08:31 -0600
                Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-04 16:59 +0000
                Re: NFS error-proof mount at boot time John Hasler <jhasler@newsguy.com> - 2019-12-04 17:05 -0600
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-05 19:38 +0100
                Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-05 14:25 -0600
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-06 14:26 +0100
                Re: NFS error-proof mount at boot time John Hasler <jhasler@newsguy.com> - 2019-12-06 10:06 -0600
                Re: NFS error-proof mount at boot time Aragorn <thorongil@telenet.be> - 2019-12-07 03:35 +0100
                Re: NFS error-proof mount at boot time flatfish <flatfish@songwriter.net> - 2019-12-04 20:51 -0500
                Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 04:13 +0100
              Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 13:27 -0500
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:35 -0700
                Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 20:16 +0100
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 13:31 -0700
                Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 20:02 -0500
              Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 23:12 +0100
              Re: NFS error-proof mount at boot time William Unruh <unruh@invalid.ca> - 2019-12-03 01:45 +0000
                Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 19:23 -0700
            Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:12 -0700
            Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:59 +0100
          Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 10:55 -0700
            Re: NFS error-proof mount at boot time Soviet_Mario <SovietMario@CCCP.MIR> - 2019-12-02 20:52 +0100
              Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 14:36 -0700
              Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-03 00:08 +0100
                Re: NFS error-proof mount at boot time Ken Hart <kwhart1@frontier.com> - 2019-12-03 20:45 -0500
          Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 13:08 -0500
          Re: NFS error-proof mount at boot time "Carlos E.R." <robin_listas@es.invalid> - 2019-12-02 22:50 +0100
        Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 12:51 -0500
          Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 11:29 -0700
            Re: NFS error-proof mount at boot time "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2019-12-02 13:45 -0500
              Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 12:40 -0700
      Re: NFS error-proof mount at boot time Bit Twister <BitTwister@mouse-potato.com> - 2019-12-02 16:30 -0600
        Re: NFS error-proof mount at boot time Grant Taylor <gtaylor@tnetconsulting.net> - 2019-12-02 15:41 -0700

csiph-web