[Lustre-discuss] Problem with 1.8 -> 2.1 migration and root_squash

65 views
Skip to first unread message

Joan J. Piles

unread,
Mar 12, 2012, 8:04:56 AM3/12/12
to lustre-...@lists.lustre.org
Hello all,

We have been (happily) using a lustre 1.8 installation for some time now. However, due to a recent acquisition of some Interlagos client nodes, we have been forced to install ScientificLinux 6.2 (a clone of RHEL 6.2) in order to fully support the new features.

As we found some installation problems with the latest kernel, and didn't seem to be a commitment to fully support this configuration, we chose to migrate all our infrastructure to newest lustre 2.1, which was supposed to be a clear migration path.

However, we found a problem im our MDS which prevented mounting it with the new version:


Mar  7 20:03:35 mds01 kernel: LustreError: 6610:0:(obd_config.c:1140:class_process_proc_param()) home-MDT0000: unknown param rootsquash=99:99
Mar  7 20:03:35 mds01 kernel: LustreError: 6610:0:(obd_config.c:1361:class_config_llog_handler()) Err -38 on cfg command:
Mar  7 20:03:35 mds01 kernel: Lustre:    cmd=cf00f 0:home-MDT0000  1:mdt.rootsquash=99:99 
Mar  7 20:03:35 mds01 kernel: LustreError: 15c-8: MGC172.16.4.3@tcp: The configuration from log 'home-MDT0000' failed (-38). This may be the result of communication errors between this node and the MGS, a bad configuration, or other errors. See the syslog for more information.
Mar  7 20:03:35 mds01 kernel: LustreError: 6124:0:(obd_mount.c:1192:server_start_targets()) failed to start server home-MDT0000: -38
Mar  7 20:03:35 mds01 kernel: LustreError: 6124:0:(obd_mount.c:1723:server_fill_super()) Unable to start targets: -38
Mar  7 20:03:35 mds01 kernel: Lustre: Failing over home-MDT0000

We were able to overcome this using tunefs.lustre --writeconf. However, when we try to enable root squash again, we still get errors (we also tried without the underscore, just in case, and the results are exactly the same):

[root@mds01 ~]# lctl conf_param home.mds.root_squash="99:99"
Make sure cfg_device is set first.
error: conf_param: Function not implemented

In the message logs we see:

Mar 12 13:07:28 mds01 kernel: Lustre: Ignoring unrecognized param 'mds.root_squash=99:99'
Mar 12 13:07:28 mds01 kernel: LustreError: 9959:0:(mgs_handler.c:970:mgs_iocontrol()) setparam err -38

Is it a bug in the way Lustre 2.1 handles old metadata? How should we re-enable root squash in our scenario?

Thanks in advance,

Joan

 
-- 
 --------------------------------------------------------------------------
Joan Josep Piles Contreras -  Analista de sistemas
I3A - Instituto de Investigación en Ingeniería de Aragón
Tel: 976 76 10 00 (ext. 5454)
http://i3a.unizar.es -- jpi...@unizar.es
--------------------------------------------------------------------------

Brian J. Murrell

unread,
Mar 12, 2012, 8:56:17 AM3/12/12
to lustre-...@lists.lustre.org
On 12-03-12 08:04 AM, Joan J. Piles wrote:
>
> [root@mds01 ~]# lctl conf_param home.mds.root_squash="99:99"

Looking at the code that tests that functionality, can you try replacing
"mds" in your "lctl conf_param" command with "mdt"? So:

# lctl conf_param home.mdt.root_squash="99:99"

Cheers,
b.

--
Brian J. Murrell
Senior Software Engineer
Whamcloud, Inc.

signature.asc

Joan J. Piles

unread,
Mar 12, 2012, 9:42:37 AM3/12/12
to Brian J. Murrell, lustre-...@lists.lustre.org
It worked, thank you very much.

Perhaps it would be useful to update the manual:

http://build.whamcloud.com/job/lustre-manual/lastSuccessfulBuild/artifact/lustre_manual.html#dbdoclet.50438221_64726

Thanks,

Joan

El 12/03/12 13:56, Brian J. Murrell escribió:
On 12-03-12 08:04 AM, Joan J. Piles wrote:
[root@mds01 ~]# lctl conf_param home.mds.root_squash="99:99"
Looking at the code that tests that functionality, can you try replacing
"mds" in your "lctl conf_param" command with "mdt"?  So:

# lctl conf_param home.mdt.root_squash="99:99"

Cheers,
b.



_______________________________________________
Lustre-discuss mailing list
Lustre-...@lists.lustre.org
http://lists.lustre.org/mailman/listinfo/lustre-discuss

Brian J. Murrell

unread,
Mar 12, 2012, 10:16:11 AM3/12/12
to lustre-...@lists.lustre.org
On 12-03-12 09:42 AM, Joan J. Piles wrote:
> It worked, thank you very much.

Ahh. Glad it worked.

> Perhaps it would be useful to update the manual:

Indeed. Could you please file a ticket at bugs.whamcloud.com?

Thanks,

signature.asc
Reply all
Reply to author
Forward
0 new messages