[lustre-discuss] wildly inaccurate file size

John White jwhite at lbl.gov
Thu Jun 30 15:14:36 PDT 2016


So I’ve got this file that’s really making a file copy tool quite upset.  Would the following point to metadata corruption? I’ve found several files similar to this.

Please note I killed the ‘dd’ after confirming it passed the 189MB mark:

[root at n0001 ~]# dd if=/global/scratch/kclosser/qcscratch/CH3Cl_0_160623-131335.scr.0/73.0 of=/dev/null bs=1024k
^C23131+0 records in
23130+0 records out
24253562880 bytes (24 GB) copied, 22.1161 s, 1.1 GB/s

[root at n0001 ~]# stat /global/scratch/kclosser/qcscratch/CH3Cl_0_160623-131335.scr.0/73.0
  File: `/global/scratch/kclosser/qcscratch/CH3Cl_0_160623-131335.scr.0/73.0'
  Size: 2577009477120	Blocks: 385776     IO Block: 4194304 regular file
Device: 323d03b2h/842859442d	Inode: 148006512164371012  Links: 1
Access: (0644/-rw-r--r--)  Uid: (42015/kclosser)   Gid: (  505/     msd)
Access: 2016-06-30 15:12:57.000000000 -0700
Modify: 2016-06-23 21:33:36.000000000 -0700
Change: 2016-06-23 21:33:36.000000000 -0700
[root at n0001 ~]# ls -sh /global/scratch/kclosser/qcscratch/CH3Cl_0_160623-131335.scr.0/73.0
189M /global/scratch/kclosser/qcscratch/CH3Cl_0_160623-131335.scr.0/73.0
[root at n0001 ~]# 


More information about the lustre-discuss mailing list