Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-11 Thread Mick
On Monday 07 June 2010 19:54:04 meino.cra...@gmx.de wrote: > Andrea Conti [10-06-07 20:28]: > > > Does anyone has experiences with gparted? > > > > I have no experience with Parted Magic, but I have used a lot the > > Gparted live CD (http://gparted.sourceforge.net/livecd.php). No idea on > > how

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-07 Thread meino . cramer
Andrea Conti [10-06-07 20:28]: > > Does anyone has experiences with gparted? > > I have no experience with Parted Magic, but I have used a lot the > Gparted live CD (http://gparted.sourceforge.net/livecd.php). No idea on > how the two compare. > > As for gparted (which is a lot more than a gui f

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-07 Thread meino . cramer
walt [10-06-07 20:04]: > On 06/07/2010 08:48 AM, meino.cra...@gmx.de wrote: > > >Does anyone has experiences with gparted? > >Is it recommended (I need support for ext4)? > > I've used it many times for DOS and ext3. The program says it supports > ext4 > but I've never tried ext4 so I can't co

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-07 Thread Andrea Conti
> Does anyone has experiences with gparted? I have no experience with Parted Magic, but I have used a lot the Gparted live CD (http://gparted.sourceforge.net/livecd.php). No idea on how the two compare. As for gparted (which is a lot more than a gui for parted), I have used it on ext4 a couple of

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-07 Thread walt
On 06/07/2010 08:48 AM, meino.cra...@gmx.de wrote: Does anyone has experiences with gparted? Is it recommended (I need support for ext4)? I've used it many times for DOS and ext3. The program says it supports ext4 but I've never tried ext4 so I can't comment. Gparted is just a gui front-end

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-07 Thread meino . cramer
Nikos Chantziaras [10-06-05 10:08]: > On 06/05/2010 09:39 AM, meino.cra...@gmx.de wrote: > > > >Hi, > > > > this night dd copies the contents of my first > > 1TB disk to my second 1TB disk (same Model). > > > > (dd if=/devsda of=/dev/sdb bs=4096) > > > > I want to verify, that the copy is iden

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread 7v5w7go9ub0o
On 06/06/10 18:46, Neil Bothwick wrote: [] > > You can use tee to send the dd output to both the destination and md5sum. Dang! I'd forgotten about tee; a core utility! Yep... using tee as you described would be the classic way to md5sum the source; use ubiquitous dd and md5sum to quickly h

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Joerg Schilling
7v5w7go9ub0o <7v5w7go9u...@gmail.com> wrote: > > sdd if=/dev/something bs=1m -md5 -onull > > err.. what is sdd? sdd is e.g. in ftp://ftp.berlios.de/pub/schily/ sdd is the oldest free "dd" reimplementation and it introduced intermediate statistics with signals from TTY in 1984 already (this i

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread 7v5w7go9ub0o
On 06/06/10 16:45, Andrea Conti wrote: >>> 1- if the root partition is [part of] what you're copying, you >>> *must* mount it read-only (mount -o ro /dev/sdc /work) >> >> Not from my experience; I simply mount, exec, and go - Works fine > > Let's say you are 50% done copying a partition, when somet

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Neil Bothwick
On Sun, 06 Jun 2010 15:02:10 -0400, 7v5w7go9ub0o wrote: > Yep.. don't have to fool with an oddball program (dcfldd). So if > you're dd'ing a disk, you need to: > > 1. dd the source to the destination. > 2. md5sum the source > 3. md5sum the destination. > > (3 passes on a big disk(s) takes a

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread 7v5w7go9ub0o
On 06/06/10 15:47, Joerg Schilling wrote: > 7v5w7go9ub0o<7v5w7go9u...@gmail.com> wrote: > >> On 06/05/10 16:11, Manuel Klemenz wrote: >>> I'm calculating checksums over partitions just by calling # >>> md5sum /dev/sda1 or for the complete disk (incl. partition table >>> + all partitions) # md5sum

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Andrea Conti
>> 1- if the root partition is [part of] what you're copying, you >> *must* mount it read-only (mount -o ro /dev/sdc /work) > > Not from my experience; I simply mount, exec, and go - Works fine Let's say you are 50% done copying a partition, when something writes to it. If the write only affects

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Mick
On Sunday 06 June 2010 19:55:57 7v5w7go9ub0o wrote: > Based on this thread, I'll be running my backups from a > statically-linked copy of dcfldd on a "jumpdisk" (backup copy on the > boot sector). > > - Any advice on the dd "blocksize" parameter? Only to say that 4096 gets things done sooo much

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Joerg Schilling
7v5w7go9ub0o <7v5w7go9u...@gmail.com> wrote: > On 06/05/10 16:11, Manuel Klemenz wrote: > > I'm calculating checksums over partitions just by calling # md5sum > > /dev/sda1 or for the complete disk (incl. partition table + all > > partitions) # md5sum /dev/sda > > > > that's it :) - works with any

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread 7v5w7go9ub0o
On 06/05/10 16:11, Manuel Klemenz wrote: I'm calculating checksums over partitions just by calling # md5sum /dev/sda1 or for the complete disk (incl. partition table + all partitions) # md5sum /dev/sda that's it :) - works with any distro/liveDVD Yep.. don't have to fool with an oddball p

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread 7v5w7go9ub0o
On 06/06/10 06:19, Andrea Conti wrote: >> 1. boot up knoppix 2. create a partition: mkdir /work 3. mount >> /work to the root partition: mount /dev/sdc /work 4. cd >> /work/usr/bin 5. run dcfldd: ./dcfldd > > This is fine, provided that > > 1- if the root partition is [part of] what you're copying,

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Mick
On Sunday 06 June 2010 11:19:57 Andrea Conti wrote: > > 1. boot up knoppix > > 2. create a partition: mkdir /work > > 3. mount /work to the root partition: mount /dev/sdc /work > > 4. cd /work/usr/bin > > 5. run dcfldd: ./dcfldd > > This is fine, provided that > > 1- if the root partition is [par

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-06 Thread Andrea Conti
> 1. boot up knoppix > 2. create a partition: mkdir /work > 3. mount /work to the root partition: mount /dev/sdc /work > 4. cd /work/usr/bin > 5. run dcfldd: ./dcfldd This is fine, provided that 1- if the root partition is [part of] what you're copying, you *must* mount it read-only (mount -o ro

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-05 Thread 7v5w7go9ub0o
On 06/05/10 15:23, meino.cra...@gmx.de wrote: [] > That looks really interesting. The only problem I have with this is > that I have to have /dev/sda as /dev/sdb idle (not mounted) and > because of that I use knoppix as temporary system to boot. And I dont > think that knoppix has this tool "on bo

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-05 Thread Manuel Klemenz
I'm calculating checksums over partitions just by calling # md5sum /dev/sda1 or for the complete disk (incl. partition table + all partitions) # md5sum /dev/sda that's it :) - works with any distro/liveDVD -- Cheers, Manuel Klemenz On Saturday 05 June 2010 21:23:31 meino.cra...@gmx.de wrote: >

Re: [gentoo-user] Re: Fast checksumming of whole partitions

2010-06-05 Thread meino . cramer
7v5w7go9ub0o <7v5w7go9u...@gmail.com> [10-06-05 20:22]: > On 06/05/10 02:39, meino.cra...@gmx.de wrote: > [] > > > > Is there any faster and reliable way to checksum whole paritions (not > > on "per file" base)??? > > > FWIW, portage has a tool called "dcfldd" that works well for me. It is > dd w

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-05 Thread 7v5w7go9ub0o
On 06/05/10 02:39, meino.cra...@gmx.de wrote: [] > > Is there any faster and reliable way to checksum whole paritions (not > on "per file" base)??? FWIW, portage has a tool called "dcfldd" that works well for me. It is dd with the addition of: * Hashing on-the-fly - dcfldd can hash the i

[gentoo-user] Re: Fast checksumming of whole partitions

2010-06-05 Thread Nikos Chantziaras
On 06/05/2010 09:39 AM, meino.cra...@gmx.de wrote: Hi, this night dd copies the contents of my first 1TB disk to my second 1TB disk (same Model). (dd if=/devsda of=/dev/sdb bs=4096) I want to verify, that the copy is identical. I tried (or: I am still trying) to checksum the firs