All,
As a follow up on this issue. This was not a ZFS issue after all it was a
configuration issue which I'm still curious about.
I had changed ownership from root:sys on a directory that was going to
collect
the anonymous downloads to a user that had the same UID and GID on both
hosts
and permissions 777. I had also changed it to ftp and a known GID, which
still
didn't work.
To get the ZFS file system to upload from the remote host the UID:GID
had to be
set to root:sys on both hosts.
root:sys /export
root:sys /export/ftp
root:sys /export/ftp/incoming <--- this is my anonymous login
repository for both hosts
I would like to thank all who had responded.
Dale
Dale Erhart wrote:
Experts,
Sorry if this is a FAQ but I'm not on this alias.
Please reply directly to me.
I'm working on a project setting up a web portal that
will use 2 hosts for load balancing ftp's. I wanted to
use ZFS to showcase it to our customer.
What I've been trying to setup is anonymous ftp to a host that
is sharing a ZFS file system. Anonymous ftp is configured and
does work on the 2 hosts I'm working with. But when I try to
create a common ftp mount point between the 2 hosts (load balancing)
I get permission errors or fchmown errors.
I was wondering if there is a setup/configuration issue or won't ZFS
work with remote mounting and ftp.
Configuration:
SystemA sharing /export/ftp/incoming (zfs)
SystemB mounting SystemA:/export/ftp/incoming
Both hosts have the same permissions on the directories.
I've setup anonymous ftp on both systems with the ftpconfig.
Went through the steps of setting up a shared zfs file system:
zfs sharenfs=on portal/ftp-incoming
zfs set sharenfs=rw=SystemB.domain,root=SystemB.domain portal/ftp-incoming
Mounted the shared file system on SystemB:
mount SystemA:/export/ftp/incoming /export/ftp/incoming
I've setup /etc/ftpd/ftpaccess for upload to /export/ftp/incoming and
to change owner and permissions to a local user:
upload /export/ftp /incoming yes webadmin www 0440 nodirs
Problem is that I will get errors when I try to upload a file. Errors are
either permission denied or a fchown error. I've changed ownership on the
/export/ftp/incoming from root to webadmnin to ftp without success.
Need suggestions fast for this project is suppose to go live soon.
Thank you for your help,
Dale
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss