Waarschuwing, opperprutser aan het werk... en als je een opmerking van mij niet snapt, klik dan hier
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
| nohide This option is based on the option of the same name
provided in IRIX NFS. Normally, 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 possi-
ble 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. |
"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan
waar hoor dit mooie stukje tekst bij?? iets meer info mag wel...
ps. als het een toevoeging is voor exports, dan is het niet de oplossing (heb net ff gecheckt, de mappen zijn nog steeds leeg)
Waarschuwing, opperprutser aan het werk... en als je een opmerking van mij niet snapt, klik dan hier
Dan heb je "man exports" nog niet gelezen dus.deepbass909 schreef op 13 juli 2004 @ 18:42:
@Kees
waar hoor dit mooie stukje tekst bij?? iets meer info mag wel...
ps. als het een toevoeging is voor exports, dan is het niet de oplossing (heb net ff gecheckt, de mappen zijn nog steeds leeg)
Heb je na de wijziging opnieuw gemount (en evt. nfsd herstart ?)
You don't need a parachute to go skydiving. You need a parachute to go skydiving twice.
Men heeft het hier expliciet over 2 exported filesystems over NFS. Da's hier niet het geval : Het ISO image is loopback mounted, en daarna geexporteerd. Ik zal het morgen eens op kantoor proberen, eens kijken wat ie bij mij doetKees schreef op 13 juli 2004 @ 18:13:
code:
1 2 3 4 5 6 7 8nohide This option is based on the option of the same name provided in IRIX NFS. Normally, 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".
Waar lees je dat het expliciet over 2 NFS mounts gaat ?igmar schreef op 13 juli 2004 @ 22:49:
[...]
Men heeft het hier expliciet over 2 exported filesystems over NFS. Da's hier niet het geval : Het ISO image is loopback mounted, en daarna geexporteerd. Ik zal het morgen eens op kantoor proberen, eens kijken wat ie bij mij doet
"Normally, if a server exports two filesystems one of which is mounted on the other"
en dat is letterlijk wat je doet , je mount (loopback) een fs op een ander fs ........
You don't need a parachute to go skydiving. You need a parachute to go skydiving twice.
Als ik dan die NFS export mount op pc2 zie ik een lege dir. Volgens mij kan NFS alleen locale directories exporteren (inode verhaal ed.)
net even getest en nohide helpt niet.
"Een serveradmin, voluit een serveradministrator, is dan weer een slavenbeheerder oftewel een slavendrijver" - Rataplan
Mounten is niet exporteren.u_nix_we_all schreef op 14 juli 2004 @ 15:42:
Waar lees je dat het expliciet over 2 NFS mounts gaat ?
"Normally, if a server exports two filesystems one of which is mounted on the other"
en dat is letterlijk wat je doet , je mount (loopback) een fs op een ander fs ........
Verwijderd
-------------------------------------------------------------------------------------------
ik ken fedora gelukkig niet, maar 't wel een moeizame manier van mounten lijkt me.
mount -o loop FC2-i386-DVD.iso /var/ftp/pub/Linux/Fedora
is niet genoeg ?
Werkt hier zonder problemen.igmar schreef op 13 juli 2004 @ 22:49:
Ik zal het morgen eens op kantoor proberen, eens kijken wat ie bij mij doet
Kees schreef op 14 juli 2004 @ 20:56:
Wat is de inhoud van jullie /etc/exports files?
1
2
3
4
5
6
7
8
9
10
| sander@truda sander $ cat /etc/exports # /etc/exports: NFS file systems being exported. See exports(5). /home/sander/mp3/music 192.168.0.2(rw,nohide) /home/sander/mp3/non-music 192.168.0.2(rw,nohide) /home/sander/mp3/movies 192.168.0.2(rw,nohide) /home/sander/mp3/upload 192.168.0.2(rw,nohide) /home/sander/latex 192.168.0.2(rw,nohide) /home/httpd/htdocs 192.168.0.2(rw,nohide) /home/sander/intern 192.168.0.2(rw,nohide) /home/sander/basil 192.168.0.2(rw,nohide) |
nohide heb ik er vandaag bijgezet maar dat haalt niks uit
als ik die samba mount op pc1 met samba doorlus naar pc2 werkt het wel overigens , maar samba is weer wat onhandiger imho.
het betreft hier overigens een uptodate gentoo installatie met een 2.6.7 kernel
[ Voor 6% gewijzigd door balk op 14-07-2004 22:57 ]
Nogmaals alleen bij de nfs export werkt het niet. Samba en apache laten deze mount gewoon zien alsof het een directory is...
@imapbox
Dit heb ik bijna rechtstreeks over genomen uit 'man mount'
Waarschuwing, opperprutser aan het werk... en als je een opmerking van mij niet snapt, klik dan hier