[lustre-discuss] Pool_New Naming Error

Andreas Dilger adilger at whamcloud.com
Tue Aug 8 14:26:11 PDT 2023



On Aug 8, 2023, at 18:41, Baucum, Rashun via lustre-discuss <lustre-discuss at lists.lustre.org<mailto:lustre-discuss at lists.lustre.org>> wrote:

Hello,

I am running into an issue when attempting to setup pooling. The commands are being run on a server that hosts the MDS and MGS:

# lctl dl
  0 UP osd-ldiskfs lfs1-MDT0000-osd lfs1-MDT0000-osd_UUID 12
  1 UP osd-ldiskfs MGS-osd MGS-osd_UUID 4
  2 UP mgs MGS MGS 18
  3 UP mgc MGC<ip>@tcp<mailto:MGC10.197.183.26 at tcp> 6a356911-e772-c2ac-20a3-2dade59f93bb 4
  4 UP mds MDS MDS_uuid 2
  5 UP lod lfs1-MDT0000-mdtlov lfs1-MDT0000-mdtlov_UUID 3
  6 UP mdt lfs1-MDT0000 lfs1-MDT0000_UUID 24
  7 UP mdd lfs1-MDD0000 lfs1-MDD0000_UUID 3
  8 UP qmt lfs1-QMT0000 lfs1-QMT0000_UUID 3
  9 UP osp lfs1-OST0000-osc-MDT0000 lfs1-MDT0000-mdtlov_UUID 4
10 UP osp lfs1-OST0001-osc-MDT0000 lfs1-MDT0000-mdtlov_UUID 4
11 UP osp lfs1-OST0004-osc-MDT0000 lfs1-MDT0000-mdtlov_UUID 4
12 UP osp lfs1-OST0005-osc-MDT0000 lfs1-MDT0000-mdtlov_UUID 4
13 UP osp lfs1-OST0002-osc-MDT0000 lfs1-MDT0000-mdtlov_UUID 4
14 UP osp lfs1-OST0003-osc-MDT0000 lfs1-MDT0000-mdtlov_UUID 4
15 UP lwp lfs1-MDT0000-lwp-MDT0000 lfs1-MDT0000-lwp-MDT0000_UUID 4

# lctl pool_new lustre.pool1
error: pool_new can contain only alphanumeric characters, underscores, and dashes besides the required '.'
pool_new: Invalid argument

dmesg logs:
LustreError: 19441:0:(llog.c:416:llog_init_handle()) llog type is not specified!
LustreError: 19441:0:(mgs_llog.c:5513:mgs_pool_cmd()) lustre is not defined

Is this an error anyone has seen or knows a solution to?

The problem is that the pool name should be "fsname.pool_name", and your filesystem is named "lfs1" and not "lustre".  The
last error message above is trying to say this, but it could be more clear, like "filesystem name 'lustre' is not defined" or similar.  A patch to fix this would be welcome.

So your command should be:

    lctl pool_new lfs1.pool1

though I would suggest a more descriptive name than "pool1" (e.g. "flash" or "new_osts" or whatever), but that is really up to you..

Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20230808/8043d0e0/attachment.htm>


More information about the lustre-discuss mailing list