PFL known issues tracking ticket (LU-9349)

[LU-9449] problems creating file with many components Created: 04/May/17  Updated: 03/Jun/17  Resolved: 03/Jun/17

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: Lustre 2.10.0
Fix Version/s: Lustre 2.10.0

Type: Technical task Priority: Critical
Reporter: Andreas Dilger Assignee: Niu Yawei (Inactive)
Resolution: Fixed Votes: 0
Labels: pfl

Rank (Obsolete): 9223372036854775807

 Description   

While trying to create a file with many components, I ran into a few problems. Firstly, I tried creating a file with no layout, and then adding components to the file in a loop:

# mcreate /mnt/testfs/comp
# for C in {1..50}; do lfs setstripe --component-add -E ${C}M -c 1 /mnt/testfs/comp; done

First extent to be set [0, 1048576) isn't adjacent with the existing file extent
 end: 18446744073709551615
Create a new file with a specific striping pattern or
set the default striping pattern on an existing directory or
delete the default striping pattern from an existing directory or
add layout component(s) to an existing composite file or
delete specified component(s) from an existing composite file

I think this is a bug, since there is no previous component, and the "end" should be 0 which would allow this to succeed. Then I tried to add only the first component without --component-add, but this also failed even though there is no layout yet:

# lfs getstripe /mnt/testfs/comp
/mnt/testfs/comp has no stripe info
# lfs setstripe --component-add -E 1M -c 1 /mnt/testfs/comp
Create composite file /mnt/testfs/comp failed. File exists
error: setstripe: create composite file '/mnt/testfs/comp' failed: File exists


 Comments   
Comment by Gerrit Updater [ 04/May/17 ]

Niu Yawei (yawei.niu@intel.com) uploaded a new patch: https://review.whamcloud.com/26944
Subject: LU-9449 tools: component add to no stripe info file
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: fbad93b355b7b70c691ef53edeb6e12d5591f832

Comment by Gerrit Updater [ 03/Jun/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/26944/
Subject: LU-9449 tools: component add to no stripe info file
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 53969ac9958877a239694ed09707f30bea3d02cc

Comment by Peter Jones [ 03/Jun/17 ]

Landed for 2.10

Generated at Sat Feb 10 02:26:18 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.