Re: How to compare filesystem contents

2010-05-08 Thread Andrew Junev
Hello charles, Saturday, May 8, 2010, 8:29:05 AM, you wrote: >> I also started comparing checksums, but that's a time-consuming >> process (the data I move is mostly my data files and a video archive, >> being close to 2TB large in total). Not sure if I really want to keep >> it running to the en

Re: How to compare filesystem contents

2010-05-07 Thread charles zeitler
Do what thou wilt shall be the whole of the Law. On 5/7/10, Andrew Junev wrote: > Hello Bryn, > > Friday, May 7, 2010, 2:41:55 PM, you wrote: > > > Wow! Thanks for the information! > > I compared the file lists as it was suggested a few posts earlier, and > the lists seem to be identical. > I

Re: How to compare filesystem contents

2010-05-07 Thread Cameron Simpson
On 07May2010 07:11, ann kok wrote: | not sure why | that command won't work to me | | rsync -vn -aH /olddisk/ /newdisk/ | | it can't sync to newdisk Without seeing your command line and the error output I can't help. You _did_ include the "n" option? -- Cameron Simpson DoD#743 http://www.cs

Re: How to compare filesystem contents

2010-05-07 Thread Andrew Junev
Hello Bryn, Friday, May 7, 2010, 2:41:55 PM, you wrote: > These small variations are most likely caused by the differences in > on-disk layout between ext3 and ext4. Ext4 is an extent based file > system as opposed to ext2/3 which use indirect block pointers to > describe the layout of a file's d

Re: How to compare filesystem contents

2010-05-07 Thread ann kok
not sure why that command won't work to me rsync -vn -aH /olddisk/ /newdisk/ it can't sync to newdisk --- On Fri, 5/7/10, Cameron Simpson wrote: > From: Cameron Simpson > Subject: Re: How to compare filesystem contents > To: "Andrew Junev" , "

Re: How to compare filesystem contents

2010-05-07 Thread Bryn M. Reeves
On 05/07/2010 10:05 AM, Andrew Junev wrote: > Hello All, > > I was moving my filesystem to a new disk with 'cp -ax' command (as > root). It completed with no error messages, but I can see some > difference between the old and the new filesystems when using df: > > # df > Filesystem 1

Re: How to compare filesystem contents

2010-05-07 Thread Mogens Kjaer
On 05/07/2010 11:05 AM, Andrew Junev wrote: ... > Is there an easy way to check which files are there on the old > filesystem, that do not exist on the new one? cd /newdisk find . -type f | sort >/tmp/newdisk.lst cd /olddisk find . -type f | sort >/tmp/olddisk.lst diff /tmp/olddisk.lst /tmp/newdi

Re: How to compare filesystem contents

2010-05-07 Thread Cameron Simpson
On 07May2010 13:05, Andrew Junev wrote: | I was moving my filesystem to a new disk with 'cp -ax' command (as | root). It completed with no error messages, but I can see some | difference between the old and the new filesystems when using df: | | # df | Filesystem 1K-blocks Used

Re: How to compare filesystem contents

2010-05-07 Thread D Wyatt
On 5/7/2010 4:05 AM, Andrew Junev wrote: > Hello All, > > I was moving my filesystem to a new disk with 'cp -ax' command (as > root). It completed with no error messages, but I can see some > difference between the old and the new filesystems when using df: > > # df > Filesystem 1K-b

How to compare filesystem contents

2010-05-07 Thread Andrew Junev
Hello All, I was moving my filesystem to a new disk with 'cp -ax' command (as root). It completed with no error messages, but I can see some difference between the old and the new filesystems when using df: # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/vg_