Robert Milkowski wrote:
> Hello Christopher,
> 
> Friday, January 25, 2008, 5:37:58 AM, you wrote:
> 
> CG> michael schuster wrote:
>>> I assume you've assured that there's enough space in /pond ...
>>>
>>> can you try
>>>
>>> $(cd pond/photos; tar cf - *) | (cd /pond/copytestsame; tar xf -)
> 
> CG> I tried it, and it worked.  The new tree is an exact copy of the old one.
> 
> could you run your cp as 'truss -t open -o /tmp/cp.truss cp * ....'
> 
> and then see if you can see all files being open for reads and check
> if they were successfully opened for writes?
> 

I ran:

#truss -t open -o /tmp/cp.truss cp -pr * /pond/copytestsame/

Same result as with cp.  The same files are missing in the new tree.

"unsorted/photosbackup/laptopd600/[D]/cag2b/eujpg/103-0398_IMG.JPG" is a
file that is always missing in the new tree.

# ls
/pond/photos/unsorted/drive-452a/\[E\]/drive/archives/seconddisk_20nov2002/eujpg/103*
/pond/photos/unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0398_IMG.JPG
/pond/photos/unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0399_IMG.JPG
/pond/photos/unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0400_IMG.JPG
# ls
/pond/copytestsame/unsorted/drive-452a/\[E\]/drive/archives/seconddisk_20nov2002/eujpg/103*
/pond/copytestsame/unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0399_IMG.JPG
/pond/copytestsame/unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0400_IMG.JPG
# grep eujpg /tmp/cp.truss | grep 103 | grep seconddisk
open64("unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0399_IMG.JPG",
O_RDONLY) = 0
open64("unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0399_IMG.JPG",
O_RDONLY) = 0
open64("/pond/copytestsame//unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0399_IMG.JPG",
O_RDONLY) = 6
open64("unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0400_IMG.JPG",
O_RDONLY) = 0
open64("unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0400_IMG.JPG",
O_RDONLY) = 0
open64("/pond/copytestsame//unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0400_IMG.JPG",
O_RDONLY) = 6

The missing file does not seem to be in the truss output.

-Chris

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to