Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.ibm.pc.hardware.storage > #2386

Re: How to compare clone of a partition with source partition

From Arno <me@privacy.net>
Newsgroups comp.sys.ibm.pc.hardware.storage, alt.backup-software
Subject Re: How to compare clone of a partition with source partition
Date 2012-01-15 20:23 +0000
Message-ID <9ngqucFajqU1@mid.individual.net> (permalink)
References <55df29d9-c62e-4e21-bcf1-2d15d971e492@cf6g2000vbb.googlegroups.com> <9ng38bFdnkU1@mid.individual.net> <a89f515c-8c71-4c2e-846b-97c5e88424f8@e8g2000yqd.googlegroups.com>

Cross-posted to 2 groups.

Show all headers | View raw


In comp.sys.ibm.pc.hardware.storage AndyHancock <andymhancock@gmail.com> wrote:
> On Jan 15, 8:39?am, Arno <m...@privacy.net> wrote:
>> In comp.sys.ibm.pc.hardware.storage AndyHancock <andymhanc...@gmail.com> wrote:
>>
>> > I just cloned two partitions from a resident HDD to an auxiliary
>> > Momentus XL HDD in an enclosure that is connected to the computer via
>> > eSATA. ?Is there a way to compare each cloned partition with its
>> > original for integrity? ?If this were just a file, I'd use a unix/
>> > cygwin utility like diff or cmp. ?However, it is a partition.
>>
>> If it is a bit-wise exact clone, cmp still works, but doing
>> md5sum or sha1sum on the whole partitions is faster.
>> On mimatch it tells you almost nothing though.
>>
>> Or you can mount both, and do a file-tree comparison.
>> I do the following for that:
>>
>> cd <dir1>; tar cf - .| (cd <dir2>; tar df -)

> That sounds attractive.  Just to be sure, I'm familiar with mounting
> in an abstract sense because I saw references to it as a unix user
> (not admin).  However, I also saw used the mount command in "file
> system table" files in cygwin to make certain Windows letter drives
> appear like POSIX paths.

> I've only cloned 2 partitions so far, but will eventually clone 4.
> Three of them are not letter-drives.  Would this pose a problem for
> any of these approaches?

To be honest, I have no idea. My experience with Cygwin is very 
limited. Basically, for the comparison with "tar" to work, you need
to be able to cd into the first dir and specify the second one.
If they are already visible somewhere, that should be neough.
If not, "mounting" is the action of taking a device containing
a filesystem and attacking it so that the filesystem becomes
accessible somewhere.

Side note: Give the second "tar" a "v" first, e.g. "dvf" to see
the comparison is actually working, then interrypt and run
without the "v". Otherwise it is possible that nothing is actually
compared if there are problems with the path(s).

Arno
--
Arno Wagner, Dr. sc. techn., Dipl. Inform., CISSP -- Email: arno@wagner.name
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans

Back to comp.sys.ibm.pc.hardware.storage | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-14 20:56 -0800
  Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-15 16:18 +1100
    Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-14 21:42 -0800
  Re: How to compare clone of a partition with source partition Arno <me@privacy.net> - 2012-01-15 13:39 +0000
    Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-15 11:43 -0800
      Re: How to compare clone of a partition with source partition Arno <me@privacy.net> - 2012-01-15 20:23 +0000
        Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-15 12:49 -0800
          Re: How to compare clone of a partition with source partition Arno <me@privacy.net> - 2012-01-16 01:18 +0000
            Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-15 20:52 -0800
              Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-16 21:49 -0800
                Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-17 19:50 +1100
                Re: How to compare clone of a partition with source partition Mark F <mark53916@gmail.com> - 2012-01-17 15:27 -0500
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-17 21:30 -0800
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-17 21:19 -0800
                Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-18 17:04 +1100
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-17 22:46 -0800
                Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-18 20:42 +1100
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-18 21:28 -0800
                Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-20 06:27 +1100
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-19 21:07 -0800
    Re: How to compare clone of a partition with source partition Yousuf Khan <bbbl67@spammenot.yahoo.com> - 2012-01-17 04:00 -0500
      Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-17 21:33 -0800
        Re: How to compare clone of a partition with source partition Yousuf Khan <bbbl67@spammenot.yahoo.com> - 2012-01-19 11:37 -0500
          Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-20 06:34 +1100
          Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-19 21:17 -0800
            Re: How to compare clone of a partition with source partition Yousuf Khan <bbbl67@spammenot.yahoo.com> - 2012-01-25 10:53 -0500
              Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-26 06:16 +1100
          Re: How to compare clone of a partition with source partition willbill <postonNG@postonNG.net> - 2012-01-20 12:52 -0600
            Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-21 08:49 +1100
              Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-22 21:29 -0800
                Re: How to compare clone of a partition with source partition "Rod Speed" <rod.speed.aaa@gmail.com> - 2012-01-24 05:32 +1100
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-24 17:54 -0800
                Re: How to compare clone of a partition with source partition willbill <postonNG@postonNG.net> - 2012-01-24 12:22 -0600
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-24 18:05 -0800
                Re: How to compare clone of a partition with source partition AndyHancock <andymhancock@gmail.com> - 2012-01-24 18:57 -0800

csiph-web