Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mounten über NFS?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 373

PostPosted: Sat Feb 05, 2005 9:42 pm    Post subject: Mounten über NFS? Reply with quote

Hallo,

ich hab ein komisches Problem.

Ich habe auf einem Rechner einen NFS eingerichtet, der einfach / freigibt.

Nun mounte ich auf dem Rechner ganz normal eine Windowspartition unter /windows/c/

Der Witz ist nun, dass ich dieses Verzeichnis nich sehe, wenn ich den NFS auf dem anderen Rechner mounte. Ich sehe zwar das komplette / Verzeichnis, nur nicht /windows/c/

Kann mir einer einen Tip geben.

Danke!
Back to top
View user's profile Send private message
benjamin200
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1426
Location: DE Munich

PostPosted: Sat Feb 05, 2005 10:28 pm    Post subject: Reply with quote

Quote:

Der Witz ist nun, dass ich dieses Verzeichnis nich sehe, wenn ich den NFS auf dem anderen Rechner mounte. Ich sehe zwar das komplette / Verzeichnis, nur nicht /windows/c/

Du kannst alle Unterverzeichnisse von / erreichen, z.B. /usr /sbin etc.?

Post dochmal deine /etc/fstab vom Client sowie
die /etc/exports vom Server


Thx,
Benjamin
_________________
Gentoo Linux Stage1 / Kernel 2.6.18
AMD Athlon64 3500+ on Asus A8N-E / 1024 MB DDR-RAM / ATI X700 PCIe
Take LINUX and forget Blue Screens
Back to top
View user's profile Send private message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 373

PostPosted: Sat Feb 05, 2005 10:46 pm    Post subject: Reply with quote

Ja, das kann ich. Nur alle Geräte, die gemountet werden, also auch die Optischen und USB Laufwerke, kann ich nicht im NFS sehen.

Hier mal die Export:
Code:
/       *(rw,root_squash,sync)


Und hier der Mountbefehl in der fstab des Client:
Code:
#Netzwerk
192.168.2.17:/          /mnt/suse       nfs             noauto,user,bg,rsize=8192,wsize=8192,intr,soft,timeo=20         1 1


Vielleicht hilft das weiter.
Vielleicht ist noch wichtig zu erwähnen, dass der Server SuSE 9.1 ist und der Client Gentoo.
Back to top
View user's profile Send private message
SinoTech
Advocate
Advocate


Joined: 20 Mar 2004
Posts: 2579
Location: Neunkirchen / Saarland / Germany

PostPosted: Sat Feb 05, 2005 11:51 pm    Post subject: Reply with quote

Jo, also ist bei mir auch so. Ist anscheinst standart Einstellung das du nur die Dateien und Verzeichnisse siehst die auf der selben Partition liegen wie das exportierte Verzeichniss. Hatte leider noch keine Zeit mich genauer damit zu beschäftigen. Evtl. gibt es eine Option um einen kompletten Verzeichnissbaum zu exportieren (Egal auf welcher Partition die Unterverzeichnisse liegen), ansonsten einfach die Unterverzeichnisse manuell exportieren.

Mfg

Sino
Back to top
View user's profile Send private message
STiGMaTa_ch
Veteran
Veteran


Joined: 28 Dec 2004
Posts: 1686
Location: Rüti ZH / Schweiz

PostPosted: Sun Feb 06, 2005 8:22 am    Post subject: Reply with quote

Es gibt dafür keine Möglichkeit (ausser du hackst dir selber was zusammen). Da gibt es keine Optionen und nichts.

Bei einer NFS Freigabe wird nur die aktuelle Partition freigegeben. Andere eingebundene Partitionen werden nicht berücksichtigt.

Wir haben in der Firma noch einige alte HP-RT/HP-UX Maschinen, bei denen es aber geht. Dort hat aber HP am Code rumgewurstelt.

Lieber Gruss
STiGGi
Back to top
View user's profile Send private message
Macrobiotus
Apprentice
Apprentice


Joined: 06 Oct 2002
Posts: 230

PostPosted: Sun Feb 06, 2005 8:59 am    Post subject: Reply with quote

Also:

Jede Partition einzeln freigeben:

/etc/exports :
Code:

/       *(rw,root_squash,sync)
/windows/c       *(rw,root_squash,sync)



und die /etc/fstab des mountenden Recheners anpassen:

Code:
192.168.2.17:/windows/c          /mnt/suse/windows/c       nfs             noauto,user    0  0


oder so, Experten werden dir bessere mount-Optionen nennen können.

Und an die richtige Reihenfolge beim mounten denken :wink:
Back to top
View user's profile Send private message
Pegasus87
Guru
Guru


Joined: 09 Sep 2004
Posts: 373

PostPosted: Sun Feb 06, 2005 11:07 am    Post subject: Reply with quote

Jo, vielen Dank, werde ich das so machen...

Ist immer noch besser, als wenn es gar nicht funktioniert :lol:

Danke noch mal!
Back to top
View user's profile Send private message
treibholz
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2004
Posts: 90
Location: Germany

PostPosted: Sun Feb 06, 2005 11:17 am    Post subject: Reply with quote

Tote reden nicht! - Django
_________________
Das Internet lügt!
Back to top
View user's profile Send private message
schachti
Advocate
Advocate


Joined: 28 Jul 2003
Posts: 3765
Location: Gifhorn, Germany

PostPosted: Sun Feb 06, 2005 1:16 pm    Post subject: Reply with quote

Es geht mit NFS nicht, gemountete Partitionen/Medien etc wiederzugeben.

Der Grund ist auch ganz einfach: Das ist die einzige Moeglichkeit, um zyklische Abhaengigkeiten zu vermeiden.
Back to top
View user's profile Send private message
Robelix
l33t
l33t


Joined: 21 Jul 2002
Posts: 760
Location: in a World created by a Flying Spaghetti Monster

PostPosted: Sun Feb 06, 2005 2:49 pm    Post subject: Reply with quote

Unsinn!

man exports
Code:

nohide   This option is based on the option of the same name provided in IRIX NFS. ormally, if a server exports two filesystems one  of  which  is  mounted  on the other, then the client will have to mount both filesystems explicitly to get access to them.  If it just mounts the parent, it will see an empty directory at the place where the other filesystem is mounted.  That filesystem is "hidden". Setting the nohide option on a filesystem causes it not to be hidden, and an appropriately authorised client will be able to move from  the  parent to that filesystem without noticing the change.
However,  some  NFS  clients  do  not cope well with this situation as, for instance, it is then possible for two files in the one apparent filesystem to have the same inode number.
The nohide option is currently only effective on single host exports.  It does  not  work  reliably  with  netgroup,  subnet,  or  wildcard exports.
This  option  can  be very useful in some situations, but it should be used with due care, and only after confirming that the client system copes with the situation effectively.
The option can be explicitly disabled with hide.

_________________
mysql> SELECT question FROM life, universe, everything WHERE answer=42;
Empty set (2079460347 sec)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum