A Dimecres, 2 de maig de 2012, Paul Slootman va escriure: > On Wed 02 May 2012, Leopold Palomo-Avellaneda wrote: > > However, because several reasons I have had to change the filesystem of > > one. I migrated the files maintaining the timestamps, file permissions, > > etc. My surprise has been when dirvish have copied again the files. > > Simple it didn't detect that it's the same file. > > > > Is this a normal behavior? > > Not really. > > You might want to compare the output of 'stat' on the original and new > copy of a sample file, to see what attributes might be different.
I did a copy of the home filesystem (xfs) to a usb drive (ext4) with rsync maintaining attributes. Then I restored the copy to the new filesystem (ext4). I didn't use the dirvish copy. It's my last chance. The change was done on Monday 30 April. The backup done on 201204030 was done with the old filesystem. The backup done on May 1 was done with the new filesystem. Here a stat output of a file of my home. $stat Video_Standards.PNG /srv/backup/users/20120501000500/tree/leopold.palomo/Video_Standards.PNG /srv/backup/users/20120430000500/tree/leopold.palomo/Video_Standards.PNG File: «Video_Standards.PNG» Size: 5254288 Blocks: 10264 IO Block: 32768 fitxer ordinari Device: 16h/22d Inode: 13127411 Links: 1 Access: (0640/-rw-r-----) Uid: ( 1003/leopold.palomo) Gid: ( 100/ users) Access: 2012-04-30 14:16:54.000000000 +0200 Modify: 2006-04-26 11:23:05.000000000 +0200 Change: 2012-04-30 18:15:16.369723960 +0200 File: «/srv/backup/users/20120501000500/tree/leopold.palomo/Video_Standards.PNG» Size: 5254288 Blocks: 10264 IO Block: 4096 fitxer ordinari Device: fe00h/65024d Inode: 31897566 Links: 2 Access: (0640/-rw-r-----) Uid: ( 1003/leopold.palomo) Gid: ( 100/ users) Access: 2012-05-01 01:20:18.000000000 +0200 Modify: 2006-04-26 11:23:05.000000000 +0200 Change: 2012-05-02 00:30:45.742881279 +0200 File: «/srv/backup/users/20120430000500/tree/leopold.palomo/Video_Standards.PNG» Size: 5254288 Blocks: 10264 IO Block: 4096 fitxer ordinari Device: fe00h/65024d Inode: 31071019 Links: 30 Access: (0640/-rw-r-----) Uid: ( 1003/leopold.palomo) Gid: ( 3014/ users) Access: 2012-05-01 01:20:18.903658145 +0200 Modify: 2006-04-26 11:23:05.000000000 +0200 Change: 2012-05-02 00:25:11.682185457 +0200 I have realized just a minor change, the gid number. We did also a change of the ldap server, but with the same db (users id and gid). If I did a id, I got: $ id uid=1003(leopold.palomo) gid=3014(users) grups=3014(users),.... any idea? Leo -- -- Linux User 152692 PGP: 0xF944807E Catalonia ------------------------------------- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? _______________________________________________ Dirvish mailing list [email protected] http://www.dirvish.org/mailman/listinfo/dirvish
