Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
Lustre 2.4.3
-
None
-
3
-
9223372036854775807
Description
doing a chown doesn't update object ownership on ost. This has caused our quota to be way off.
here is a example
pfe22 ~ # stat /nobacku....180.3d.vtk File: `/nobacku...180.3d.vtk' Size: 65820817 Blocks: 128568 IO Block: 4194304 regular file Device: 48b492b4h/1219793588d Inode: 144118607926790745 Links: 1 Access: (0644/-rw-r--r--) Uid: (11467/ XXXX) Gid: (30730/ XXXXX) Access: 2014-01-17 17:09:36.000000000 -0800 Modify: 2014-01-17 17:09:36.000000000 -0800 Change: 2015-05-06 11:33:29.000000000 -0700 Birth: - pfe22 ~ # chown root:root /noback....180.3d.vtk lfs getstripe /nobackup....180.3d.vtk /nobacku....180.3d.vtk lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 7286499 0x6f2ee3 0 debugfs: pwd [pwd] INODE: 6815751 PATH: /O/0/d3 [root] INODE: 2 PATH: / debugfs: stat 7286499 Inode: 117 Type: regular Mode: 0666 Flags: 0x80000 Generation: 2012045754 Version: 0x00000009:04f812d0 User: 11467 Group: 0 Size: 65820817 File ACL: 0 Directory ACL: 0 Links: 1 Blockcount: 128568 Fragment: Address: 0 Number: 0 Size: 0 ctime: 0x52d9d450:00000000 -- Fri Jan 17 17:09:36 2014 atime: 0x00000000:00000000 -- Wed Dec 31 16:00:00 1969 mtime: 0x52d9d450:00000000 -- Fri Jan 17 17:09:36 2014 crtime: 0x52d9c7d5:451115c8 -- Fri Jan 17 16:16:21 2014 Size of extra inode fields: 28 Extended attributes stored in inode body: lma = "00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 e3 2e 6f 00 00 00 00 00 " (24) lma: fid=[0x100000000:0x6f2ee3:0x0] compat=0 incompat=0 fid = "3f 1c 03 00 02 00 00 00 59 0a 00 00 00 00 00 00 " (16) fid: parent=[0x200031c3f:0xa59:0x0] stripe=0 EXTENTS: (ETB0):170790783, (0-511):170587392-170587903, (512-1023):170558464-170558975, (1024-2047):170557440-170558463, (2048-6143):170784768-170788863, (6144-16069):1708011 52-170811077
I will upload debug from mds when i did a chown to root:root and then back to the user.
file fid is [0x200031c3f:0xa59:0x0]