Talk to the Sysop - cp -p gives errors on ZFS
Hi,
I am using the command cp -p file1 file2 where file2 is being written to a nfs mounted zfs partition. But the commands gives an error while executing.
cp: preserving permissions for `./ncftp-3.1.9.tar': Invalid argument
The same works fine when the nfs partition mounted is UFS.
So the issue is with the ACL's.
My client is a RHEL 3 Linux system.
The same error is observed on SUSE 9. Enterprise Server.
Is there any fix for this?
Thanks,
--Walter
[527 byte] By [
curtorkara] at [2007-11-26 23:23:12]

# 1
I'm receiving the same error as you are, a year later.
cp: preserving permissions for `./file': Invalid argument
cp: preserving ACL for `/file': Invalid argument
This is on every file copied from a Debian 4 system to my X4500 running Solaris 10. The original `file' in Debian:
-rw-r--r-- 1 1662964 335166 55 Nov 27 1999 file
The file over the NFS mounted Solaris/ZFS server:
-rw-r--r--+ 1 1662964 335166 55 Jun 13 23:05 file
Note the time change as well. I'm using cp -a.
# 2
I had this question too - we just applied the latest Rec'n'Sec patch cluster and the error is still there. Been there for months.
I found the bug id post here:
http://bugs.opensolaris.org/view_bug.do?bug_id=6528189
It says the fix is delivered, but apparently not incorporated yet.
Please release this patch soon! I have created a temporary workaround installing our linux files to a Disksuite set of drives and rsync'*** them to the zfs partitions. But this has become a dealbreaker for doing stores of linux data and programs, since so many of them (particularly installers) use the "-p" flag. Management is not happy.
Erik