Hi
I've been having problems using the following with my xfs fs
cp --parents -pRdf /usr/local/share/mondo /home/mondo.scratch.1050/
which returns the following
cp: `/usr/local/share/mondo/restore-scripts.tgz': Argument list too long
cp: preserving permissions for
`/home/mondo.scratch.19294/usr/local/share/mondo': Invalid argument
Steve has suggested I run the comand with strace -v to confirm its not XFS
related. Not being a developer myself the output does not really help me but
I would be greatful for any insight on this Even a pointer in the right
direction. I have a small ext3 partition where the comand works fine but its
smaller and different files are involved so this may not be a proof.
The end of the strace is below I am not sure which parts are required if
anyone needs to see more pls let me know I just didnt want to waste bandwidth
read(3, "", 4096) = 0
close(4) = 0
close(3) = 0
utime("/home/mondo.scratch.30606/usr/local/share/mondo/restore-scripts.tgz",
[2002/06/03-21:42:43, 2002/06/03-14:18:36]) = 0
SYS_229(0x8054e78, 0x4d286327, 0xbff72684, 0x84, 0x62) = -1 E2BIG (Argument
list too long)
write(2, "cp: ", 4cp: ) = 4
write(2, "`/usr/local/share/mondo/restore-"...,
44`/usr/local/share/mondo/restore-scripts.tgz') = 44
write(2, ": Argument list too long", 24: Argument list too long) = 24
write(2, "\n", 1
) = 1
utime("/home/mondo.scratch.30606/usr/local/share/mondo", [2002/06/03-21:42:43,
2002/06/03-14:18:36]) = 0
SYS_229(0xbff73b9c, 0x4d286327, 0xbff728b4, 0x84, 0) = -1 ENODATA (No data
available)
stat64("/usr/local/share/mondo", {st_dev=makedev(3, 5), st_ino=25175423,
st_mode=S_IFDIR|0755, st_nlink=2, st_uid=0, st_gid=0, st_blksize=4096,
st_blocks=0, st_size=32, st_atime=2002/06/03-21:59:11,
st_mtime=2002/06/03-14:18:36, st_ctime=2002/06/03-14:18:36}) = 0
SYS_226(0x8054df0, 0x4d286370, 0x8054f08, 0x1c, 0) = 0
SYS_229(0xbff73b9c, 0x4d28633f, 0xbff728b4, 0x84, 0x4d26308d) = -1 ENODATA (No
data available)
SYS_226(0x8054df0, 0x4d286388, 0x8054ea8, 0x4, 0) = -1 EINVAL (Invalid
argument)
write(2, "cp: ", 4cp: ) = 4
write(2, "preserving permissions for `/hom"..., 76preserving permissions for
`/home/mondo.scratch.30606/usr/local/share/mondo') = 76
write(2, ": Invalid argument", 18: Invalid argument) = 18
write(2, "\n", 1
) = 1
geteuid32() = 0
_exit(1) = ?
local
Thanks
Mark
|