Using Samba share for /var/piler/store

Issue #744 closed
alu-one created an issue

Hi,

first I have to say I have been testing Piler via OVA VM a few hours today and it seems to be a great system.

As described here, I have moved the store directory to a remote location, but using SMB/CIFS protocol.

For testing purposes, I disconnected the share on the remote server for some minutes to see what happens in that case. This lead me to the error message:

ls /var/piler/store
ls: reading directory .: No such device or address

Even if the share is online again, Debian cannot access the share again until I reboot the Piler VM.

Is there anything I can do to optimize this? What does Piler do in such a case: Does maybe Postfix save the mails until it gets access to the store directory? Or are the mails coming in this time span completely lost?

My /etc/fstab addition:

//nas/arch /var/piler/store cifs auto,_netdev,username=ww,password=xx,domain=yy 0 0

Thank you

Comments (4)

  1. Janos SUTO repo owner

    Well, it seems like a Linux problem. If piler can't write its files, then it returns a 42x error to the sending party which keeps the message in its queue, and tries to delver again later.

  2. Log in to comment