Re: [lustre-discuss] Pool_New Naming Error

2023-08-08 Thread Andreas Dilger via lustre-discuss


On Aug 8, 2023, at 18:41, Baucum, Rashun via lustre-discuss 
mailto:lustre-discuss@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-MDT-osd lfs1-MDT-osd_UUID 12
  1 UP osd-ldiskfs MGS-osd MGS-osd_UUID 4
  2 UP mgs MGS MGS 18
  3 UP mgc MGC@tcp 
6a356911-e772-c2ac-20a3-2dade59f93bb 4
  4 UP mds MDS MDS_uuid 2
  5 UP lod lfs1-MDT-mdtlov lfs1-MDT-mdtlov_UUID 3
  6 UP mdt lfs1-MDT lfs1-MDT_UUID 24
  7 UP mdd lfs1-MDD lfs1-MDD_UUID 3
  8 UP qmt lfs1-QMT lfs1-QMT_UUID 3
  9 UP osp lfs1-OST-osc-MDT lfs1-MDT-mdtlov_UUID 4
10 UP osp lfs1-OST0001-osc-MDT lfs1-MDT-mdtlov_UUID 4
11 UP osp lfs1-OST0004-osc-MDT lfs1-MDT-mdtlov_UUID 4
12 UP osp lfs1-OST0005-osc-MDT lfs1-MDT-mdtlov_UUID 4
13 UP osp lfs1-OST0002-osc-MDT lfs1-MDT-mdtlov_UUID 4
14 UP osp lfs1-OST0003-osc-MDT lfs1-MDT-mdtlov_UUID 4
15 UP lwp lfs1-MDT-lwp-MDT lfs1-MDT-lwp-MDT_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







___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org


[lustre-discuss] Pool_New Naming Error

2023-08-08 Thread Baucum, Rashun via lustre-discuss
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-MDT-osd lfs1-MDT-osd_UUID 12
  1 UP osd-ldiskfs MGS-osd MGS-osd_UUID 4
  2 UP mgs MGS MGS 18
  3 UP mgc MGC@tcp 
6a356911-e772-c2ac-20a3-2dade59f93bb 4
  4 UP mds MDS MDS_uuid 2
  5 UP lod lfs1-MDT-mdtlov lfs1-MDT-mdtlov_UUID 3
  6 UP mdt lfs1-MDT lfs1-MDT_UUID 24
  7 UP mdd lfs1-MDD lfs1-MDD_UUID 3
  8 UP qmt lfs1-QMT lfs1-QMT_UUID 3
  9 UP osp lfs1-OST-osc-MDT lfs1-MDT-mdtlov_UUID 4
10 UP osp lfs1-OST0001-osc-MDT lfs1-MDT-mdtlov_UUID 4
11 UP osp lfs1-OST0004-osc-MDT lfs1-MDT-mdtlov_UUID 4
12 UP osp lfs1-OST0005-osc-MDT lfs1-MDT-mdtlov_UUID 4
13 UP osp lfs1-OST0002-osc-MDT lfs1-MDT-mdtlov_UUID 4
14 UP osp lfs1-OST0003-osc-MDT lfs1-MDT-mdtlov_UUID 4
15 UP lwp lfs1-MDT-lwp-MDT lfs1-MDT-lwp-MDT_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
LustreError: 19441:0:(mgs_handler.c:982:mgs_iocontrol_pool()) OBD_IOC_POOL err 
-22, cmd CE020 for pool lustre.pool1

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

Thanks,
Rashun Baucum



Internal

If you wish to unsubscribe from receiving commercial electronic messages from 
TD Bank Group, please click here or go to the following web address: 
www.td.com/tdoptout
Si vous souhaitez vous désabonner des messages électroniques de nature 
commerciale envoyés par Groupe Banque TD veuillez cliquer ici ou vous rendre à 
l'adresse www.td.com/tddesab

NOTICE: Confidential message which may be privileged. Unauthorized 
use/disclosure prohibited. If received in error, please go to www.td.com/legal 
for instructions.
AVIS : Message confidentiel dont le contenu peut être privilégié. 
Utilisation/divulgation interdites sans permission. Si reçu par erreur, prière 
d'aller au www.td.com/francais/avis_juridique pour des instructions.
___
lustre-discuss mailing list
lustre-discuss@lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org