Hello Christopher,

Friday, January 25, 2008, 5:49:14 PM, you wrote:

CG> 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?
>> 

CG> I ran:

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

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

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

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

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

CG> -Chris


As Joerg suggested - please check getdents() - remember to use truss
-v getdents so you should see all directory listings.

I would check both getdents and open - so if it appears in getdents
but is not opened later on...


-- 
Best regards,
 Robert                            mailto:[EMAIL PROTECTED]
                                       http://milek.blogspot.com

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

Reply via email to