Hello!

I have the following problem.
I have created a simple cluster for testing, with the following softwares:
- Debian sarge (stable)
- Kernel 2.6.14
- PVFS2 v1.3.1

I have a storage server (nothing extra, just a simple PC with IDE HDD), with the following config:
/dev/hda3 mounted under /home/pvfs2 (this will be shared with pvfs2-server)

cd /usr/src
tar xzf pvfs2-1.3.1.tar.gz
cd pvfs2-1.3.1
./configure --enable-fast
make
make install

pvfs2-genconfig /etc/pvfs2/fs.conf /etc/pvfs2/server.conf
pvfs2-server /etc/pvfs2/fs.conf /etc/pvfs2/server.conf -f
/etc/init.d/pvfs2-server start

I have a node connected over ethernet (with a cross cable) to the storage, with the following config:
cd /usr/src
tar xzf pvfs2-1.3.1.tar.gz
cd pvfs2-1.3.1
./configure --enable-fast --disable-server --with-kernel=/usr/src/linux
make
make install
make kmod
make kmod_install

modprobe pvfs2
pvfs2-client pvfs2-client-core
mount -t pvfs2 tcp://storage:3334/pvfs2-fs /mnt/pvfs2
At this point is all ok. The node can mount the pvfs2 filesystem, and from the node can I copy, del, etc. files and dirs to /mnt/pvfs2.

The problem comes when I try to use postfix on the node. Normally mailboxes are under /var/mail.
Access rights for /var/mail are following:
drwxrwsr-x   2 root mail  4096 2005-11-29 15:41 mail

Access rights for /var/mail/user_mail_box_file are following:
-rw-rw----   1 user1 mail  579 2005-11-29 16:00 user1
In this case postfix can without problems create the mailbox file, and write messages to them.

BUT! I would store mailboxes on pvfs2. I create the directory /mnt/pvfs2/mail
Access rights for /mnt/pvfs2/mail are following:
drwxrwsr-x  1 root mail 4096 2005-11-29 14:01 mail

I delete the /var/mail and create a symlink /var/mail to /mnt/pvfs2/mail
Access rights for /var/mail are following:
lrwxrwxrwx   1 root root    15 2005-11-29 16:01 mail -> /mnt/pvfs2/mail

In this case postfix can't create the mailbox files, and the error log shows the following:
Nov 29 16:10:50 sky postfix/pickup[5952]: 123082BE1F: uid=1000 from=<kiri>
Nov 29 16:10:50 sky postfix/cleanup[6262]: 123082BE1F: message-id=<[EMAIL PROTECTED]> Nov 29 16:10:50 sky postfix/qmgr[5953]: 123082BE1F: from=<[EMAIL PROTECTED]>, size=428, nrcpt=1 (queue active) Nov 29 16:10:50 sky postfix/local[6264]: 123082BE1F: to=<[EMAIL PROTECTED]>, orig_to=<user1>, relay=local, delay=0, status=bounced (can't create user output file. Command output: procmail: Couldn't create "/var/mail/user1" )

Pvfs2 log is empty.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> POSTFIX MAIN.CF FILE <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< # See /usr/share/postfix/main.cf.dist for a commented, more complete version
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
# Uncomment the next line to generate "delayed mail" warnings
#delay_warning_time = 4h
myhostname = localhost.localdomain
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = sky.int192.zalaszam.hu, localhost.localdomain, localhost
relayhost =
mynetworks = 127.0.0.0/8
mail_spool_directory = /var/mail
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = loopback-only

What is the problem? Why can postfix not write to pvfs2?
With users (root, or normal user) can I write to pvfs2.
Is this a pvfs2 config problem, or something with postfix?
Any ideas?

Thanks!

--
Király Péter
Zalaszám Informatika Kft.
Rendszergazda - Rendszertechnikai Osztály
Tel.: 92/502-595 Fax.:92/502-501
E-mail: [EMAIL PROTECTED]
        [EMAIL PROTECTED]


_______________________________________________
PVFS2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to