From: "Haftaoglu, Cetin" <Cetin.Haftaoglu () bam ! de>
To: tru64-unix-managers
Subject: Summary: NFS-mount
Date: Mon, 09 Jul 2001 18:55:52 +0000 [thread overview]
Message-ID: <102653652421743.tru64-unix-managers.marc@archive.invalid> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--Boundary_(ID_uEiXsor3zZLYKkp4wDissQ)", Size: 18703 bytes --]
This is a multi-part message in MIME format.
--Boundary_(ID_uEiXsor3zZLYKkp4wDissQ)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8BIT
My original question was :
>Another Update,
>
>both illustrated NICs are in the server machine. Both machines (server and
backup) are in the
>same network (same subnet mask) and have the same gateway. Mounting will be
done from the server. >Mounting from the backup to server is easy.
>
>Ok, Ok, I got many response. But I will my it explain again :
>
> b | | S
> a tu0 <-+--------------minor-nic--+-> tu1 E
> c | | R
> k | | V
> u | +---major-nic--+-> tu0 E
> p | | | R
> | | |
> users
>
>I have an entry in my export-file on my backup-machine
>call "/backup". I want to mount this export entry to my
>minor NIC (tu1).
>
>When I do a normal nfs-mount like:
>
> mount -t nfs /backup@backup local-mountpoint
>
>the system mounts it over the major NIC (tu0) and I get
>many problems because a backup produce high traffic and
>the interactive users have a high response time.
>
>So my question is : How can I mount the export @ backup
>to my local machine over the minor NIC (tu0) from the server?
>
Many thanks to all of you who send me a possible solution. The
answers reaches from temporary turn off the master nic, mount
the export and turn on the master nic to make a routing entry.
The first solution should work if you mount once. I mount the
export every day twice at night.
I think the right solution is to make a routing entry like :
route add -host backup gateway(ip or name) -dev tu1
I have read the man pages for route and find a hint to -interface | -face
instead the gateway. But when i used it i got an error message. I think
it is my mistake. I will check it out.
When you use netstat -I tu1 1 you can see the whole traffic is changing to
the minar nic.
The last question is if this is a temporary entry or a permanent changing.
Must I edit the /etc/routes or is it enough to enter the route add command.
Maybe Dr. Thomas P. Blinn can give me the right answer.
Thanks to all,
regards
Cetin Haftaoglu
Labor V.23 - Rechneriche Werkstoff- und Bauteilanalyse
Bundesanstalt f�r Materialforschung und -pr�fung (BAM)
Unter den Eichen 87
12205 Berlin
fon: +49 (0)30 - 8104-3194
fax: +49 (0)30 - 8104-1527
mail: cetin.haftaoglu@bam.de
online: www.bam.de
--Boundary_(ID_uEiXsor3zZLYKkp4wDissQ)
Content-type: text/html; charset=iso-8859-1
Content-transfer-encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4134.600" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial>
<DIV><SPAN class=3D267123812-09072001><FONT color=3D#0000ff><FONT =
size=3D2><SPAN=20
class=3D473193118-09072001>My original question was=20
:</SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D267123812-09072001><FONT color=3D#0000ff><FONT =
size=3D2><SPAN=20
class=3D473193118-09072001></SPAN></FONT></FONT></SPAN> </DIV>
<DIV><SPAN class=3D267123812-09072001><FONT color=3D#0000ff><FONT =
size=3D2><SPAN=20
class=3D473193118-09072001>></SPAN>Another =
Update,</FONT></FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D267123812-09072001><SPAN=20
class=3D473193118-09072001>></SPAN></SPAN></FONT></DIV>
<DIV><SPAN class=3D267123812-09072001><FONT color=3D#0000ff><FONT =
size=3D2><SPAN=20
class=3D473193118-09072001>></SPAN>both illustrated NICs are in the =
server=20
machine. Both machines (server and backup) are in =
the</FONT></FONT></SPAN></DIV>
<DIV><FONT color=3D#0000ff><FONT size=3D2><SPAN =
class=3D267123812-09072001><SPAN=20
class=3D473193118-09072001>></SPAN>same network (same subnet =
mask)<SPAN=20
class=3D266430113-09072001> and have the same gateway</SPAN>. Mounting =
will be=20
done from the <SPAN class=3D473193118-09072001> =
</SPAN>server. <SPAN=20
class=3D473193118-09072001> </SPAN><SPAN=20
class=3D473193118-09072001>></SPAN>Mounting from the </SPAN><SPAN=20
class=3D267123812-09072001>backup <SPAN =
class=3D266430113-09072001>to server=20
</SPAN>is easy.</SPAN></FONT></FONT></DIV>
<DIV><FONT color=3D#0000ff size=3D2><SPAN =
class=3D267123812-09072001><SPAN=20
class=3D473193118-09072001>></SPAN></SPAN></FONT></DIV>
<DIV><FONT face=3DArial><SPAN class=3D267123812-09072001>
<DIV><SPAN class=3D234262009-09072001><FONT color=3D#0000ff><FONT =
size=3D2><SPAN=20
class=3D266430113-09072001>></SPAN>Ok, Ok, I got many response. But I =
will my=20
it explain again :</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> b<SPAN =
class=3D266430113-09072001> </SPAN> &nb=
sp;<SPAN=20
class=3D266430113-09072001>| =20
</SPAN> =
=20
| =
S</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> a<SPAN =
class=3D266430113-09072001> tu0 </SPAN><SPAN=20
class=3D266430113-09072001><</SPAN>-<SPAN=20
class=3D266430113-09072001>+</SPAN>--------------minor-nic--+-> =
tu1 =20
E</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> =20
c <SPAN=20
class=3D266430113-09072001>| =20
</SPAN> =
=20
| =
R</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> =20
k <SPAN=20
class=3D266430113-09072001>| =20
</SPAN> =
=20
| =
V</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> =20
u <SPAN=20
class=3D266430113-09072001>| </SPAN>&n=
bsp; +---major-nic--+->=20
tu0 E</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> =20
p <SPAN=20
class=3D266430113-09072001>| =20
</SPAN> =20
| =
=20
| =
R</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN=20
class=3D266430113-09072001>></SPAN>  =
; <SPAN=20
class=3D266430113-09072001>| =20
</SPAN> =20
| =
=20
| </FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN=20
class=3D266430113-09072001>></SPAN>  =
; <SPAN=20
class=3D266430113-09072001> </SP=
AN> =20
users</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>I have an entry in =
my=20
export-file on my backup-machine</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>call "/backup". I =
want to mount=20
this export entry to my</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>minor NIC (tu1).=20
</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>When I do a normal =
nfs-mount=20
like:</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN> =
mount -t nfs=20
</FONT></FONT></FONT><A><FONT face=3DCourier color=3D#0000ff=20
size=3D2>/backup@backup</FONT></A><FONT face=3DCourier color=3D#0000ff =
size=3D2>=20
local-mountpoint</FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><FONT face=3DCourier><FONT color=3D#0000ff><FONT size=3D2><SPAN=20
class=3D234262009-09072001><SPAN =
class=3D266430113-09072001>></SPAN>the system=20
</SPAN><SPAN class=3D234262009-09072001>mounts it over the major =
NIC (tu0)=20
and I get </SPAN></FONT></FONT></FONT></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT color=3D#0000ff><FONT =
size=3D2><FONT=20
face=3DCourier><SPAN class=3D266430113-09072001>></SPAN>many problems =
because a=20
backup produce high traffic</FONT> <FONT=20
face=3DCourier>and</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>the interactive =
users have a=20
high response time.</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>So my question is : =
How can I=20
mount the export @ backup </FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier><FONT =
color=3D#0000ff><FONT=20
size=3D2><SPAN class=3D266430113-09072001>></SPAN>to my local machine =
over the=20
minor NIC (tu0) <SPAN class=3D266430113-09072001>from the=20
server</SPAN>?</FONT></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001>></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN =
class=3D266430113-09072001></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>Many thanks=20
to all of you who send me a possible solution.=20
The</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>answers=20
reaches from temporary turn off the master nic, mount=20
</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>the export=20
and turn on the master nic to make a routing=20
entry.</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>The first=20
solution should work if you mount once. I mount=20
the</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>export=20
every day twice at night. </SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>I think the=20
right solution is to make a routing entry like=20
:</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001> route add -host backup =
gateway(ip or=20
name) -dev tu1</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>I have read=20
the man pages for route and find a hint to -interface |=20
-face</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>instead the=20
gateway. But when i used it i got an error message. I think=20
</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>it is my=20
mistake. I will check it out.</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>When you=20
use netstat -I tu1 1 you can see the whole traffic is changing=20
to</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>the minar=20
nic.</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>The last=20
question is if this is a temporary entry or a permanent=20
changing.</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>Must I edit=20
the /etc/routes or is it enough to enter the route add=20
command.</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>Maybe <FONT=20
size=3D2>Dr. Thomas P. Blinn can give me the right=20
answer.</FONT></SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN =
class=3D473193118-09072001>Thanks to=20
all,</SPAN></SPAN></FONT></SPAN></DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001></SPAN></SPAN></FONT></SPAN> </DIV>
<DIV><SPAN class=3D234262009-09072001><FONT face=3DCourier =
color=3D#0000ff=20
size=3D2><SPAN class=3D266430113-09072001><SPAN=20
class=3D473193118-09072001>regards</SPAN></SPAN></FONT></SPAN></DIV></SPA=
N></FONT></DIV></FONT></DIV>
<P><FONT size=3D2><B><FONT color=3D#ff0000 size=3D1>Cetin =
Haftaoglu</FONT></B><FONT=20
color=3D#ff0000 size=3D1><BR>Labor V.23 - Rechneriche Werkstoff- und=20
Bauteilanalyse<BR>Bundesanstalt f=FCr Materialforschung und -pr=FCfung=20
(BAM)<BR>Unter den Eichen 87<BR>12205 Berlin<BR></FONT></FONT><FONT=20
color=3D#ff0000 size=3D1><BR>fon: +49 (0)30 - 8104-3194<BR>fax: +49 =
(0)30 -=20
8104-1527<BR><BR>mail: cetin.haftaoglu@bam.de<BR>online: =
www.bam.de</FONT><FONT=20
size=3D2><BR> </FONT> </P>
<DIV> </DIV></BODY></HTML>
--Boundary_(ID_uEiXsor3zZLYKkp4wDissQ)--
reply other threads:[~2001-07-09 18:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox