Package: nfs-kernel-server
Version: 1:1.2.0-4
Severity: normal

Hi

I have a bunch of files that nfs gives the wrong date/time stamp 

I have a directory full of photos on server max, nas mounts the directory and
rsync copys from the mounted nfs share to a local drive

for example
file 
/exports/Pictures/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg
hosted on max(nfs), nas mounts it 
nfs.hme1.samad.com.au:/exports/Pictures on /exports/Pictures type nfs 
(ro,user=root,noexec,nosuid,nodev,noatime,bg,proto=udp,addr=192.168.11.10)

on max 
stat 
/exports/Pictures/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg
  File: 
`/exports/Pictures/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg'
  Size: 678352          Blocks: 1336       IO Block: 4096   regular file
Device: fd09h/64777d    Inode: 11501689    Links: 1
Access: (0644/-rw-r--r--)  Uid: (   33/www-data)   Gid: ( 1026/gallery2)
Access: 2009-10-21 10:20:57.000000000 +1100
Modify: 1967-03-08 07:21:39.000000000 +1000
Change: 2009-04-29 22:02:20.000000000 +1000

on nas
 stat 
/exports/Pictures/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg
  File: 
`/exports/Pictures/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg'
  Size: 678352          Blocks: 1336       IO Block: 32768  regular file
Device: 1ch/28d Inode: 11501689    Links: 1
Access: (0644/-rw-r--r--)  Uid: (   33/www-data)   Gid: ( 1026/gallery2)
Access: 2009-10-21 10:20:57.000000000 +1100
Modify: 2103-04-14 13:49:55.000000000 +1000
Change: 2009-04-29 22:02:20.000000000 +1000

notice the modify date is different - which throws out my rsync

strangely the copy on nas 

stat /backups/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg
  File: 
`/backups/Gallery2/albums/Events/1967/196703/Scanned20081108-Mar67-01.jpg'
  Size: 678352          Blocks: 1328       IO Block: 4096   regular file
Device: fd0dh/64781d    Inode: 27491488    Links: 1
Access: (0644/-rw-r--r--)  Uid: (   33/www-data)   Gid: ( 1026/gallery2)
Access: 2009-10-21 10:45:34.000000000 +1100
Modify: 1967-03-08 07:21:39.000000000 +1000
Change: 2009-10-21 10:45:34.682922231 +1100

somehow it got the right information !


if I rsync the file from max to nas and then stat I get the same information on 
nas as seen on max.

I tried mounting the share on another server as well and same problem. I have 
rebooted both machines


from max:/etc/exports
/exports/Pictures           
-no_root_squash,insecure,wdelay,no_subtree_check,ro,async,mp=/exports/Pictures 
nas(ro) 


I do use rpc with --manage-gids

Alex




-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (100, 'unstable'), (50, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nfs-kernel-server depends on:
ii  libblkid1                2.16.1-4        block device id library
ii  libc6                    2.9-25          GNU C Library: Shared libraries
ii  libcomerr2               1.41.9-1        common error description library
ii  libgssapi-krb5-2         1.7dfsg~beta3-1 MIT Kerberos runtime libraries - k
ii  libgssglue1              0.1-4           mechanism-switch gssapi library
ii  libk5crypto3             1.7dfsg~beta3-1 MIT Kerberos runtime libraries - C
ii  libkrb5-3                1.7dfsg~beta3-1 MIT Kerberos runtime libraries
ii  libnfsidmap2             0.22-2          An nfs idmapping library
ii  librpcsecgss3            0.19-2          allows secure rpc communication us
ii  libwrap0                 7.6.q-18        Wietse Venema's TCP wrappers libra
ii  lsb-base                 3.2-23          Linux Standard Base 3.2 init scrip
ii  nfs-common               1:1.2.0-4       NFS support files common to client
ii  ucf                      3.0022          Update Configuration File: preserv

nfs-kernel-server recommends no packages.

nfs-kernel-server suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to