[zfs-discuss] missing files on copy

2008-01-24 Thread Christopher Gorski
Hi, I'm running snv_78 on a dual-core 64-bit x86 system with 2 500GB usb drives mirrored into one pool. I did this (intending to set the rdonly flag after I copy my data): zfs create pond/read-only mkdir /pond/read-only/copytest cp -rp /pond/photos/* /pond/read-only/copytest/ After the copy is c

Re: [zfs-discuss] missing files on copy

2008-01-24 Thread Christopher Gorski
s michael schuster wrote: > Christopher Gorski wrote: >> Hi, I'm running snv_78 on a dual-core 64-bit x86 system with 2 500GB usb >> drives mirrored into one pool. >> >> I did this (intending to set the rdonly flag after I copy my data): >> >> zfs cr

Re: [zfs-discuss] missing files on copy

2008-01-24 Thread Christopher Gorski
/copytestsame The original samba copy from another PC to /pond/photos copied everything correctly. -Chris Christopher Gorski wrote: > I'm missing actual files. > > I did this a second time, with the exact same result. It appears that > the missing files in each copy are the s

Re: [zfs-discuss] missing files on copy

2008-01-24 Thread Christopher Gorski
t; On Thu, Jan 24, 2008 at 11:06:13PM -0500, Christopher Gorski wrote: >> I'm missing actual files. >> >>> Christopher Gorski wrote: >>>> zfs create pond/read-only >>>> mkdir /pond/read-only/copytest >>>> cp -rp /pond/photos/* /pond

Re: [zfs-discuss] missing files on copy

2008-01-24 Thread Christopher Gorski
Nicolas Williams wrote: > Are there so many files that the glob expansion results in too large an > argument list for cp? There are only four subdirs in /pond/photos: # ls /pond/photos 2006-02-15 2006-06-09 2007-12-20 unsorted ___ zfs-discuss maili

Re: [zfs-discuss] missing files on copy

2008-01-24 Thread Christopher Gorski
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 -) I tried it, and it worked. The new tree is an exact copy of the old one. -Chris ___

Re: [zfs-discuss] missing files on copy

2008-01-25 Thread Christopher Gorski
Christopher Gorski wrote: > "unsorted/photosbackup/laptopd600/[D]/cag2b/eujpg/103-0398_IMG.JPG" is a > file that is always missing in the new tree. Oops, I meant: "unsorted/drive-452a/[E]/drive/archives/seconddisk_20nov2002/eujpg/103-0398_IMG.JPG" is alwa

Re: [zfs-discuss] missing files on copy

2008-01-25 Thread Christopher Gorski
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 -) > > C

Re: [zfs-discuss] missing files on copy

2008-01-29 Thread Christopher Gorski
Robert Milkowski wrote: > > > 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... > > I ran the copy procedure with

Re: [zfs-discuss] missing files on copy

2008-01-29 Thread Christopher Gorski
Christopher Gorski wrote: > Robert Milkowski wrote: >> >> 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 getde

Re: [zfs-discuss] missing files on copy

2008-01-29 Thread Christopher Gorski
Christopher Gorski wrote: > Christopher Gorski wrote: >> Robert Milkowski wrote: >>> As Joerg suggested - please check getdents() - remember to use truss >>> -v getdents so you should see all directory listings. >>> >>> I would check both get

Re: [zfs-discuss] missing files on copy

2008-01-29 Thread Christopher Gorski
Carson Gaspar wrote: > Christopher Gorski wrote: > >> I noticed that the first calls in the "cp" and "ls" to getdents() return >> similar file lists, with the same values. >> >> However, in the "ls", it makes a second call to getde

Re: [zfs-discuss] missing files on copy

2008-01-30 Thread Christopher Gorski
Joerg Schilling wrote: > "Will Murnane" <[EMAIL PROTECTED]> wrote: > >> On Jan 30, 2008 1:34 AM, Carson Gaspar <[EMAIL PROTECTED]> wrote: >>> If this is Sun's cp, file a bug. It's failing to notice that it didn't >>> provide a large enough buffer to getdents(), so it only got partial results. >>>

Re: [zfs-discuss] missing files on copy

2008-01-31 Thread Christopher Gorski
nov2002/eujpg and # ls /tmp/pond/testdir/pond/photos/unsorted/drive-452a/\[E\]/drive/archives/seconddisk_20nov2002/eujpg 103-0398_IMG.JPG and other files should be missing. I filed a bug report, but I can't find the link to it. This seems to work on zfs or ufs. - -- Christopher Gorski

[zfs-discuss] Memory Corruption

2008-02-02 Thread Christopher Gorski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If a machine has very obvious memory corruption due to bad ram, is there anything beyond scrub that can verify the integrity of a pool? Am I correct in assuming that scrub will fix checksum errors, but not metadata errors? - -- Christopher Gorski