1) When I notice an error in a file that I've copied from a ZFS disk I
want to know whether that error is also in the original file on my ZFS
disk or if it's only in the copy.
This was already addressed but let me do so slightly differently: One
of the major points of ZFS checksumming is that,
A slight nit.
Using cat(1) to read the file to /dev/null will not actually cause the data to
be read thanks to the magic that is mmap(). If you use dd(1) to read the file
then yes you will either get the data and thus know it's blocks match their
checksums or dd will give you an error if
A nit on the nit...
cat does not use mmap for files = 32K in size. For those files
it's a simple read() into a buffer and write() it out.
Jim
---
Chris Gerhard wrote:
A slight nit.
Using cat(1) to read the file to /dev/null will not actually cause the data
to be read thanks to the magic
Richard Elling [EMAIL PROTECTED] wrote:
Marcus Sundman wrote:
How can I verify the checksums for a specific file?
ZFS doesn't checksum files.
AFAIK ZFS checksums all data, including the contents of files.
So a file does not have a checksum to verify.
I wrote checksums (plural) for a file
On Sat, Oct 25, 2008 at 6:49 PM, Marcus Sundman [EMAIL PROTECTED] wrote:
Richard Elling [EMAIL PROTECTED] wrote:
Marcus Sundman wrote:
How can I verify the checksums for a specific file?
ZFS doesn't checksum files.
AFAIK ZFS checksums all data, including the contents of files.
So a
Johan Hartzenberg [EMAIL PROTECTED] wrote:
On Sat, Oct 25, 2008 at 6:49 PM, Marcus Sundman [EMAIL PROTECTED]
wrote:
Richard Elling [EMAIL PROTECTED] wrote:
Marcus Sundman wrote:
How can I verify the checksums for a specific file?
ZFS doesn't checksum files.
AFAIK ZFS checksums
On Sat, Oct 25, 2008 at 1:57 PM, Marcus Sundman [EMAIL PROTECTED] wrote:
I don't want to scrub several TiB of data just to verify a 2 MiB file. I
want to verify just the data of that file. (Well, I don't mind also
verifying whatever other data happens to be in the same blocks.)
Just read the
Marcus Sundman wrote:
I couldn't see anything there describing either how to verify the
checksums of individual files or why that would be impossible.
If you can read the file, the checksum is OK. If it were not, you would
get an I/O error attempting to read it.
--
Ian.
Scott Laird [EMAIL PROTECTED] wrote:
On Sat, Oct 25, 2008 at 1:57 PM, Marcus Sundman [EMAIL PROTECTED]
wrote:
I don't want to scrub several TiB of data just to verify a 2 MiB
file. I want to verify just the data of that file. (Well, I don't
mind also verifying whatever other data happens
Ian Collins [EMAIL PROTECTED] wrote:
Marcus Sundman wrote:
I couldn't see anything there describing either how to verify the
checksums of individual files or why that would be impossible.
If you can read the file, the checksum is OK. If it were not, you
would get an I/O error attempting
Marcus Sundman wrote:
Ian Collins [EMAIL PROTECTED] wrote:
Marcus Sundman wrote:
I couldn't see anything there describing either how to verify the
checksums of individual files or why that would be impossible.
If you can read the file, the checksum is OK. If it were not, you
Ian Collins [EMAIL PROTECTED] wrote:
Marcus Sundman wrote:
Are these I/O errors written to stdout or stderr or where?
Yes, stderr.
OK, good, thanks.
You will not be able top open the file.
What?! Even if there are errors I want to still be able to read the
file to salvage what can be
Marcus Sundman wrote:
How can I verify the checksums for a specific file?
ZFS doesn't checksum files. So a file does not have a checksum
to verify. Perhaps you want to keep a digest(1) of the files?
-- richard
___
zfs-discuss mailing list
On Sat, Oct 25, 2008 at 4:00 AM, Marcus Sundman [EMAIL PROTECTED] wrote:
How can I verify the checksums for a specific file?
I have a feeling you are not asking the question about ZFS hosted files
specifically.
If you downloaded a file, enter
cksum filename
To get the CRC Check-Sum
For more
On Sat, Oct 25, 2008 at 6:59 AM, Johan Hartzenberg [EMAIL PROTECTED]wrote:
On Sat, Oct 25, 2008 at 4:00 AM, Marcus Sundman [EMAIL PROTECTED] wrote:
How can I verify the checksums for a specific file?
I have a feeling you are not asking the question about ZFS hosted files
specifically.
For MD5 checksums personally I favour MD5Summer on Windows boxes.
Just watch the formatting of the checksum file if you're checking
downloads - sometimes it can be a bit picky about linebreaks. I think
this file might have been the latest preview release of Netbeans 6.5
(RC1). Looking in
16 matches
Mail list logo