[LU-14755] t-f is to be enhanced to create required number of pools on fs Created: 10/Jun/21  Updated: 30/Jun/21  Resolved: 30/Jun/21

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

Type: Improvement Priority: Minor
Reporter: Elena Gryaznova Assignee: Elena Gryaznova
Resolution: Fixed Votes: 0
Labels: None

Epic/Theme: patch
Rank (Obsolete): 9223372036854775807

 Description   

We are interested in running some tests on fs with the pools. The proposed enhancement allows to create $FS_NPOOLS number of pools containing $FS_POOL_NOSTS number of osts. If $FS_NPOOLS not set the number of pools created is $OSTCOUNT / $FS_POOL_NOSTS. Pools names are $FS_POOL based. Pools are not created if FS_POOL not set.
Examples 1:
FS_POOL=global OSTCOUNT=2
lustre.global0
OST lustre-OST0000_UUID
OST lustre-OST0001_UUID
Example 2:
FS_POOL=global OSTCOUNT=6 FS_POOL_NOSTS=3
lustre.global0
OST lustre-OST0000_UUID
OST lustre-OST0001_UUID
OST lustre-OST0002_UUID
lustre.global1
OST lustre-OST0003_UUID
OST lustre-OST0004_UUID
OST lustre-OST0005_UUID
Example 3:
FS_POOL=p OSTCOUNT=5 KEEP_POOLS=true FS_NPOOLS=7 FS_POOL_NOSTS=3
Pool: lustre.p0
lustre-OST0000_UUID
lustre-OST0001_UUID
lustre-OST0002_UUID
Pool: lustre.p1
lustre-OST0003_UUID
lustre-OST0004_UUID
lustre-OST0000_UUID
Pool: lustre.p2
lustre-OST0001_UUID
lustre-OST0002_UUID
lustre-OST0003_UUID
Pool: lustre.p3
lustre-OST0004_UUID
lustre-OST0000_UUID
lustre-OST0001_UUID
Pool: lustre.p4
lustre-OST0002_UUID
lustre-OST0003_UUID
lustre-OST0004_UUID
Pool: lustre.p5
lustre-OST0000_UUID
lustre-OST0001_UUID
lustre-OST0002_UUID
Pool: lustre.p6
lustre-OST0003_UUID
lustre-OST0004_UUID
lustre-OST0000_UUID

Patch adds the ability to remove all old pools at the start if DELETE_OLD_POOLS set to true (default is false) and the ability keep the new pools not deleted at the end if KEEP_POOLS set to true (default is false).



 Comments   
Comment by Gerrit Updater [ 10/Jun/21 ]

Elena Gryaznova (c17455@cray.com) uploaded a new patch: https://review.whamcloud.com/43966
Subject: LU-14755 tests: create custom pools
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 6ade9164fc5c791f075d5a48ce7a70af00f5fdde

Comment by Gerrit Updater [ 30/Jun/21 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/43966/
Subject: LU-14755 tests: create custom pools
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: cdebe1d8d356f72134a58dd0718298c9ba1b3d45

Comment by Peter Jones [ 30/Jun/21 ]

Landed for 2.15

Generated at Sat Feb 10 03:12:30 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.