Hi all, I'm using Lustre 1.8.1.1 on SLES11.1.
When coping a file from one Lustre FS to another with help of 'cp -p' the mtime attribute isn't preserved. When using a tar pipe it's working (See the commond 'log' below). Does someone observed the same for SLES11.1 or is it maybe a bug in the 'cp-command'? Many thanks in advance. -Frank jj28l01:~ # cp -p /lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16/RESTART.2 /lustre/jwork1/heckes jj28l01:~ # stat /lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16/RESTART.2 /lustre/jwork1/heckes/RESTART.2 File: `/lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16/RESTART.2' Size: 737857342 Blocks: 1441144 IO Block: 2097152 regular file Device: 1fefa3a0h/535798688d Inode: 142974444 Links: 1 Access: (0600/-rw-------) Uid: ( 7325/ hbo321) Gid: ( 7268/ hbo32) Access: 2009-12-09 07:32:07.000000000 +0100 Modify: 2009-11-25 06:54:47.000000000 +0100 Change: 2009-12-02 12:04:49.000000000 +0100 File: `/lustre/jwork1/heckes/RESTART.2' Size: 737857342 Blocks: 1433632 IO Block: 2097152 regular file Device: 90a2b9f8h/2426583544d Inode: 710274535 Links: 1 Access: (0600/-rw-------) Uid: ( 7325/ hbo321) Gid: ( 7268/ hbo32) Access: 2009-12-09 07:31:00.000000000 +0100 Modify: 2009-12-09 07:32:07.000000000 +0100 Change: 2009-12-09 07:32:07.000000000 +0100 jj28l01:~ # cd /lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16/ jj28l01:/lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16 # tar cpvf - RESTART.2 | (cd /lustre/jwork1/heckes ; tar xpf - ) RESTART.2 jj28l01:/lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16 # stat /lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16/RESTART.2 /lustre/jwork1/heckes/RESTART.2 File: `/lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16/RESTART.2' Size: 737857342 Blocks: 1441144 IO Block: 2097152 regular file Device: 1fefa3a0h/535798688d Inode: 142974444 Links: 1 Access: (0600/-rw-------) Uid: ( 7325/ hbo321) Gid: ( 7268/ hbo32) Access: 2009-12-09 07:34:06.000000000 +0100 Modify: 2009-11-25 06:54:47.000000000 +0100 Change: 2009-12-02 12:04:49.000000000 +0100 File: `/lustre/jwork1/heckes/RESTART.2' Size: 737857342 Blocks: 1433632 IO Block: 2097152 regular file Device: 90a2b9f8h/2426583544d Inode: 710274535 Links: 1 Access: (0600/-rw-------) Uid: ( 7325/ hbo321) Gid: ( 7268/ hbo32) Access: 2009-12-09 07:33:52.000000000 +0100 Modify: 2009-11-25 06:54:47.000000000 +0100 Change: 2009-12-09 07:34:06.000000000 +0100 jj28l01:/lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16 ----------------------- TOOL DETAILS ----------------------- # cp --version cp (GNU coreutils) 6.12 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Torbjörn Granlund, David MacKenzie, and Jim Meyering. jj28l01:/lustre/jhome7/hbo32/hbo321/work/VW-Project/AB-C2/E-ABC2/2x35k_3/shop_bo_16 # tar --version tar (GNU tar) 1.20 Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt, Prof. Dr. Sebastian M. Schmidt ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ _______________________________________________ Lustre-discuss mailing list [email protected] http://lists.lustre.org/mailman/listinfo/lustre-discuss
