StoreEasy Storage
1753903 Members
10166 Online
108810 Solutions
New Discussion юеВ

Re: IMAP with NFS mounted from AiO1200

 
Magnus_Larsson
New Member

IMAP with NFS mounted from AiO1200

Hi there gurus!

We have a couple of DL380G5 servers running 64-bit FreeBSD 6.2 as NFS clients. These two clients have mounted an NFS share from a couple of AiO1200 storage servers. The two clients have IMAP services running which are to be called from an interactive web GUI. The IMAP service is installed from the standard FreeBSD ports system.

However, we are observing an odd behaviour whenever the IMAP software is "doing its thing" with the files on the NFS share. Creating, renaming/moving and deleting files on the NFS share works manually without any problems but when we use the IMAP service (interactively to debug it) it can't rename/move a file from one directory to another. It fails with an error message something like "failed: I/O error err: rename(./new/1234567890.M12345678.servername.domain.tld)".

We have tried to mount an NFS share from another standard Unbuntu Linux server in the same manner as above. The IMAP service then works as expected. We then went ahead and mounted the NFS share from the AiO1200 on the Ubuntu Linux system (running as NFS client) which resulted in the very same problem as above (when using the IMAP service).

We tried to apply the audit function of the AiO1200 to be able to debug the problem further. At first there was the BSOD (blue screen) whenever the audit log was enabled. After searching around the Microsoft knowledge base we got hold of a hotfix to resolve the BSOD. In the log file there are a series of successful events leading up to a failure line saying:


03-07-2008 17:11:40 MOUNT SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE
03-07-2008 17:12:01 CREATE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906188.M518064P5696_courierlock.linuxhost
03-07-2008 17:12:01 WRITE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906188.M518064P5696_courierlock.linuxhost
03-07-2008 17:12:01 DELETE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906188.M518064P5696_courierlock.linuxhost
03-07-2008 17:12:01 READ SUCCESS 10.a.b.c
03-07-2008 17:12:57 CREATE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906244.M306519P5708_courierlock.linuxhost
03-07-2008 17:12:57 WRITE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906244.M306519P5708_courierlock.linuxhost
03-07-2008 17:12:57 DELETE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906244.M306519P5708_courierlock.linuxhost
03-07-2008 17:12:57 DELETE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\courier.lock
03-07-2008 17:13:02 CREATE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906244.M306519P5708_courierlock.linuxhost
03-07-2008 17:13:02 WRITE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906244.M306519P5708_courierlock.linuxhost
03-07-2008 17:13:02 DELETE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906244.M306519P5708_courierlock.linuxhost
03-07-2008 17:13:02 CREATE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906249.M343884P5708_imapuid_0.linuxhost
03-07-2008 17:13:02 READ SUCCESS 10.a.b.c
03-07-2008 17:13:02 WRITE SUCCESS 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\1204906249.M343884P5708_imapuid_0.linuxhost
03-07-2008 17:13:02 DELETE FAILURE 10.a.b.c F:\nfsbase\NFS_SHARE\Maildir\tmp\courier.lock
03-07-2008 17:18:44 CREATE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909908.M413168P940_courierlock.freebsdhost
03-07-2008 17:18:44 WRITE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909908.M413168P940_courierlock.freebsdhost
03-07-2008 17:18:44 DELETE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909908.M413168P940_courierlock.freebsdhost
03-07-2008 17:18:44 READ SUCCESS 10.a.b.d
03-07-2008 17:18:44 READ SUCCESS 10.a.b.d
03-07-2008 17:18:44 DELETE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\courier.lock
03-07-2008 17:18:49 CREATE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909908.M413168P940_courierlock.freebsdhost
03-07-2008 17:18:49 WRITE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909908.M413168P940_courierlock.freebsdhost
03-07-2008 17:18:49 DELETE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909908.M413168P940_courierlock.freebsdhost
03-07-2008 17:18:49 CREATE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909913.M431688P940_imapuid_0.freebsdhost
03-07-2008 17:18:49 READ SUCCESS 10.a.b.d
03-07-2008 17:18:49 READ SUCCESS 10.a.b.d
03-07-2008 17:18:49 WRITE SUCCESS 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\1204909913.M431688P940_imapuid_0.freebsdhost
03-07-2008 17:18:49 DELETE FAILURE 10.a.b.d F:\nfsbase\NFS_SHARE\Maildir\tmp\courier.lock


Any ideas where to go from here? Unfortunately I am not on site where all this equipment is located but I can instruct the staff there to conduct more tests or retrieve more log information should it be neccessary.

Thanks in advance for taking the time in helping me solve this case.


Looking forward to hearing from you.

/Magnus Larsson
3 REPLIES 3
Alan_152
Honored Contributor

Re: IMAP with NFS mounted from AiO1200

Lets take a look at configuration, first. What does your /etc/fstab (or equivalent) look like?
Magnus_Larsson
New Member

Re: IMAP with NFS mounted from AiO1200

Hi Alan!!

Our /etc/fstab looks like this:

10.a.b.e:NFS_SHARE /mailstore_old nfs rw,intr,soft 0 0

We have tried mounting the NFS share without the two options "intr,soft" but unfortunately that didn't improve things.


/Magnus Larsson

Re: IMAP with NFS mounted from AiO1200

The IO-error was caused by ':'-characters in the rename destination.