[Lustre-discuss] [Lustre-devel] Mount error with message: "Err -22 on cfg command:"

Andreas Dilger adilger at sun.com
Thu Sep 11 17:45:48 PDT 2008


On Sep 11, 2008  18:05 +0200, Reto Gantenbein wrote:
> On Wed, 2008-09-03 at 09:49 -0400, Brian J. Murrell wrote:
> > On Sun, 2008-08-31 at 04:58 +0200, Reto Gantenbein wrote:
> > 
> > > Aug 31 03:27:59 lustre01 LustreError: 6934:0:(obd_config.c:897:class_process_proc_param()) homefs-OST0002-osc: unknown param activate=0
> >                                                                                                                  ^^^^^^^^^^^^^^^^^^^^^^^^
> > 
> > Any idea how this parameter, "activate", got set?  Have you been messing
> > with parameter settings?
> 
> Yeah, I did set it manually before rebooting the OST (see my first
> mail). Because it was written everywhere that I could activate the OST
> again, I didn't thought much about it. Also the 'lctl conf_param  
> homefs-OST0002.osc.active=1' didn't return any error.

Note to everyone: "lctl conf_param" will set a parameter permanently into
the filesystem configuration.  This is almost certainly not what you want
when an OST is deactivated for some short time.  You can use instead
"lctl --device {dev} deactivate" on the MDS + clients to deactivate an
OST temporarily, and "lctl --device {dev} recover" to restore the clients
when the OST is returned.  Since this is a temporary setting, it will be
lost if the client is rebooted, but that is likely right in this case.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.




More information about the lustre-discuss mailing list