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
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
/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
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
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
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
___
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
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
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
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
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
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
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.
>>>
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
-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
15 matches
Mail list logo