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 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
Frank, there''s a bug reported (#21489) when running on RHEL/CentOS. However, we can''t reproduce every time. When turning debug on became even harder to reproduce. We still waiting for a solution. cheers. Carlos. Frank Heckes wrote:> 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 > Lustre-discuss at lists.lustre.org > http://lists.lustre.org/mailman/listinfo/lustre-discuss >
On Wed, 2009-12-09 at 07:41 +0100, Frank Heckes wrote:> 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''?Frank, This looks like bug 21489. If you wanted to see if you could try the requested test on that bug and report, we might be able to make some progress on it. Cheers, b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20091209/7a1d9ff7/attachment.bin
Hi Brian,> > 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''? > > Frank, > > This looks like bug 21489. If you wanted to see if you could try the > requested test on that bug and report, we might be able to make some > progress on it. >Yes, I would be rather interested in executing this test case, if you''ll send the instruction(s) via mail or grant access to the bug ticket. -Frank ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------ 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 ------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------
On Wed, 2009-12-09 at 15:23 +0100, Frank Heckes wrote:> Hi Brian,Hi Frank,> Yes, I would be rather interested in executing this test case, if you''ll > send the instruction(s) via mail or grant access to the bug ticket.Sorry. I hate when that happens. That bug has now been opened for access by all. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20091210/2807a202/attachment.bin