Serveur Linux NFS et Mac

antoine.m

Membre enregistré
13 Janvier 2007
3
0
Bonjour à tous,

Voici une question que je viens de laisser sur un forum Mac (US).
J'ai deux serveur NFS connectés à mon Mac, l'un fonctionne super, l'autre n'est pas du tout stable... pourquoi?
Voir le post ci dessous.

Dear all,

This question is for NFS network pros

We've setted up in our small visual effects company a linux server to which linux workstations are connected, via NIS.
I've added a Macintosh workstation to the network.

We have 2 Linux CentOS 5.4 servers:

* The Mac is connected to First server via NIS map (automount) which exports each user's "home" folders and a "prod" folder. This server works perfectly, I can access to my data from the Mac, save my profile settings, read documents on the mounted folder called "prod".

Server is srv1.domainname.com/prod and path is /net/prod

* The Mac is connected to the Second server via Macintosh NFS Tool (disk utilities) which exports "raid1" folder. This server can be mounted, BUT keeps disconnecting, every 5 minutes, or twice a day, randomly.

Server is data1.domainname.com/raid1 and path is /Volumes/raid1

We also tried NIS automount on raid1, with path /net/raid1, without getting more stability.

* We have no error messages on the servers. Linux server and Linux workstations DO work perfectly.
* I have no clear error message in my system.log. I've copy/pasted the message below.
* I just get a normal finder pop up saying "disconnected from data1".
* I can be disconnected every 5 minutes or randomly every 2 hours, or just twice a day.
* Sometime the finder reconnects automatically, sometimes the finder CAN NOT reconnect back even when I force entering the path in the "go to Folder" field.
* I can access to the hardrive through the Terminal and read files such as Video, but still not in the Finder when disconnected.
* Remember that the first NFS mounted drive /net/prod and my home account works perfectly en NEVER get disconnected, finder is OK with it.
* After a reboot, everything go back to normal until... I get disconnected again.


Does anyone have an idea on this? A solution?
Thank you very much,
Tony
(Mac Pro early 2008, OSX 10.6.3)






system.log infos:

May 31 16:40:52 Mac-Pro-de-XXXX KernelEventAgent39: tid 00000000 received event(s) VQ_NOTRESP (1)
May 31 16:40:52 Mac-Pro-de-XXXX KernelEventAgent39: tid 00000000 type 'nfs', mounted on '/Volumes/raid1', from 'data1.domainname.com:/raid1', not responding
May 31 16:40:52 Mac-Pro-de-XXXX KernelEventAgent39: tid 00000000 found 1 filesystem(s) with problem(s)

May 31 16:41:10: --- last message repeated 1 time ---
May 31 16:41:10 Mac-Pro-de-XXXX KernelEventAgent39: tid 00000000 unmounting 1 filesystems
May 31 16:41:10 Mac-Pro-de-XXXX com.apple.autofsd50: automount: /net updated
May 31 16:41:10 Mac-Pro-de-XXXX com.apple.autofsd50: automount: /home updated
May 31 16:41:12 Mac-Pro-de-XXXX com.apple.autofsd50: automount: /Volumes/raid1 updated
May 31 16:41:12 Mac-Pro-de-XXXX com.apple.autofsd50: automount: no unmounts
May 31 16:41:20 Mac-Pro-de-XXXX /System/Library/CoreServices/coreservicesd62: FileID race detected: 26901 assigned for Temp File 6.tmp by external allocator is already used by iTunes Library
May 31 16:41:51: --- last message repeated 1 time ---
May 31 16:41:51 Mac-Pro-de-XXXX /System/Library/CoreServices/coreservicesd62: FileID race detected: 26901 assigned for Temp File 6.tmp by external allocator is already used by iTunes Library
May 31 16:42:19: --- last message repeated 1 time ---
May 31 16:42:19 Mac-Pro-de-XXXX loginwindow934: *** -NSCFArray objectAtIndex:: index (3) beyond bounds (3)
May 31 16:42:19 Mac-Pro-de-XXXX com.apple.loginwindow934: 2010-05-31 16:42:19.269 loginwindow934:107 *** -NSCFArray objectAtIndex:: index (3) beyond bounds (3)
May 31 16:42:19 Mac-Pro-de-XXXX com.apple.launchd.peruser.503239 (com.apple.Finder957): Exited: Terminated
May 31 16:42:19 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:42:19 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100681000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:42:24 Mac-Pro-de-XXXX /System/Library/CoreServices/coreservicesd62: FileID race detected: 26901 assigned for Temp File 6.tmp by external allocator is already used by iTunes Library
May 31 16:42:29: --- last message repeated 1 time ---
May 31 16:42:29 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:42:29 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:42:29 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:42:29 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:42:29 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100704000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:42:39 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:42:39 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:42:39 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:42:39 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:42:39 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100681000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:42:49 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:42:49 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:42:49 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:42:49 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:42:49 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100704000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:42:59 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:42:59 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:42:59 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:42:59 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:42:59 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100681000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:42:59 Mac-Pro-de-XXXX /System/Library/CoreServices/coreservicesd62: FileID race detected: 27094 assigned for sessionstore-4616.js by external allocator is already used by sessionstore.js
May 31 16:43:09: --- last message repeated 4 times ---
May 31 16:43:09 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:43:09 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:43:09 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:43:09 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:43:09 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100704000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:43:19 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:43:19 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:43:19 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:43:19 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:43:19 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100681000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:43:20 Mac-Pro-de-XXXX /System/Library/CoreServices/coreservicesd62: FileID race detected: 27095 assigned for sessionstore-4617.js by external allocator is already used by sessionstore.js
May 31 16:43:29: --- last message repeated 4 times ---
May 31 16:43:29 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:43:29 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:43:29 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:43:29 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:43:29 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100704000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:43:35 Mac-Pro-de-XXXX /System/Library/CoreServices/coreservicesd62: FileID race detected: 27096 assigned for sessionstore-4618.js by external allocator is already used by sessionstore.js
May 31 16:43:39: --- last message repeated 2 times ---
May 31 16:43:39 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:43:39 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:43:39 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:43:39 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:43:39 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100681000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:43:39 Mac-Pro-de-XXXX com.apple.launchd.peruser.503239 (com.apple.Finder1587): Exited: Terminated
May 31 16:43:49 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:43:49 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:43:49 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:43:49 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:43:49 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100704000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:43:59 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:43:59 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:43:59 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed
May 31 16:43:59 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:43:59 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100681000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:44:09 Mac-Pro-de-XXXX com.apple.automountd1588: mount_nfs: can't access /raid1: Permission denied
May 31 16:44:09 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100681000 MOUNT REPLY : status=13, AUTOFS_DONE
May 31 16:44:09 Mac-Pro-de-XXXX automountd1588: mount of /Volumes/raid1 failed

May 31 16:47:50 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REQUEST: Thu Jan 1 01:00:00 1970
May 31 16:47:50 Mac-Pro-de-XXXX com.apple.automountd1588]: t0x100704000 name=/Volumes/raid1[ map=-static opts= path=/Volumes/raid1 direct=1
May 31 16:47:50 Mac-Pro-de-XXXX com.apple.automountd1588: t0x100704000 MOUNT REPLY : status=0, AUTOFS_DONE
 
salut,

Dramis a raison ici,
tu est sur un forum français la moindre des chose c'est d'expliquer en français ton problème et de faire un copier/coller de ce que t'as été en anglais :mad:

Donc merci de nous exposer ton problème en français:rolleyes: