[opensuse] cp, xfs and reiserfs..
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied. Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied. Am I missing something? Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
Anders.
I've always used "rsync -av --delete" However I haven't tried it from Xfs -> reiser Duaine -- Duaine Hechler Piano, Player Piano, Pump Organ Tuning, Servicing & Rebuilding Reed Organ Society Member Florissant, MO 63034 (314) 838-5587 dahechler@att.net www.hechlerpianoandorgan.com -- Home & Business user of Linux - 10 years -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
Anders.
I've always used "rsync -av --delete"
However I haven't tried it from Xfs -> reiser
Duaine
*doh* I didn't even give rsync a single thought... Even though I use it daily for remote system copying.. ;-) Thanks for waking me up Duaine, rsync works just fine in this case. Makes one wonder why cp doesn't though, but I'll leave that to others to think about! Thanks again! Anders. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
the cp -u option is dependent on the time of the source and target system - are they in sync? -- Per Jessen, Zürich (1.06°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen wrote:
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
the cp -u option is dependent on the time of the source and target system - are they in sync?
Obviously that would only be interesting if your filesystems were on different systems. -- Per Jessen, Zürich (0.81°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen skrev:
Per Jessen wrote:
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
the cp -u option is dependent on the time of the source and target system - are they in sync?
Obviously that would only be interesting if your filesystems were on different systems.
Yes they are in sync since both volumes are mounted on the same host.. It's a bit of a puzzling issue, maybe even more since rsync does the copying absolutely fine.. Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring wrote:
Yes they are in sync since both volumes are mounted on the same host.. It's a bit of a puzzling issue, maybe even more since rsync does the copying absolutely fine..
Yeah, that _is_ weird. Is there any remote possibility that 'cp' isn't getting the -u' option right? /Per -- Per Jessen, Zürich (1.00°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Per Jessen skrev:
Anders Norrbring wrote:
Yes they are in sync since both volumes are mounted on the same host.. It's a bit of a puzzling issue, maybe even more since rsync does the copying absolutely fine..
Yeah, that _is_ weird.
Is there any remote possibility that 'cp' isn't getting the -u' option right?
But then reiser -> reiser wouldn't work right either, right? Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring wrote:
Per Jessen skrev:
Anders Norrbring wrote:
Yes they are in sync since both volumes are mounted on the same host.. It's a bit of a puzzling issue, maybe even more since rsync does the copying absolutely fine..
Yeah, that _is_ weird.
Is there any remote possibility that 'cp' isn't getting the -u' option right?
But then reiser -> reiser wouldn't work right either, right?
Very true. Have you looked at one of the files in detail - with stat? Just in case there's something obvious. -- Per Jessen, Zürich (0.75°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Norrbring said the following on 02/08/2009 06:52 AM:
Per Jessen skrev:
Per Jessen wrote:
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
the cp -u option is dependent on the time of the source and target system - are they in sync?
Obviously that would only be interesting if your filesystems were on different systems.
Yes they are in sync since both volumes are mounted on the same host.. It's a bit of a puzzling issue, maybe even more since rsync does the copying absolutely fine..
How are they moutned? Does 'noatime' or nodiratime' come into this anywhere? -- Could it be that all those trick-or-treaters wearing sheets aren't going as ghosts but as mattresses? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anton Aylward skrev:
Anders Norrbring said the following on 02/08/2009 06:52 AM:
Per Jessen skrev:
Per Jessen wrote:
Anders Norrbring wrote:
Now I'm a bit puzzled.. I'm using cp -vua for some directory backups, and I just noticed that copying isn't really consistent between file systems.. It seems like when copying from xfs to reiser, all content is ALWAYS copied, no matter if it's been changed, accessed or anything. All other copy actions works fine, and only changed/new files are copied.
Reiser -> reiser : Good Reiser -> xfs : Good Xfs -> reiser : Nope, everything is always copied.
Am I missing something?
the cp -u option is dependent on the time of the source and target system - are they in sync?
Obviously that would only be interesting if your filesystems were on different systems.
Yes they are in sync since both volumes are mounted on the same host.. It's a bit of a puzzling issue, maybe even more since rsync does the copying absolutely fine..
How are they moutned? Does 'noatime' or nodiratime' come into this anywhere?
The reiserfs is mounted with defaults and xattr, the xfs with defaults only. Nothing more, nothing less... Anders -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Anders Norrbring
-
Anton Aylward
-
Duaine & Laura Hechler
-
Per Jessen