On 03/02/2012 09:41 AM, S�bastien CAPS wrote:
>
> when and with fhgfs-df it show storage in "emergency" is this normal ?
This is normal. The emergency state just tells you that your free disk
space of 4GB on this server is lower than a specified limit. This limit
can be set with the parameter 'tuneStorageSpaceEmergencyLimit' in
/etc/fhgfs/fhgfs-mgmtd.conf.
> On the admon log file I have :
> "MetadataTk findOwner Unable to proceed without a working root node"
> how could i fix this ?
FhGFS needs a root metadata server, which manages the root of your
filesystem an is a starting point for every new client request. In your
case there seems to be a wrong information for the root metadata node
and this seems to cause all your problems. To find out, which server is
set as root metadata server you can use the following command :
fhgfs-ctl mode=listnodes nodetype=meta print_details
In the last line of the output you can see your root metadata server. Is
this one of 'ip131.changed.example.tld' or 'ip147.changed.example.tld'?
>
> I have also try fhgfs-fsck but i'm not sure of the option (log below)
>
> So should i initialize something ?
>
You could change sysMountSanityCheckMS back to 10000, then try starting
the client again and provide us the logfile /var/log/fhgfs_client.log.
Maybe the client's sanity check gives us some more information in the log.
> [root@ip131 fhgfs]# fhgfs-fsck mode=FULLCHECK checkPath=/
>
> --------------------------------------------------------------------
> Started FhGFS fsck in forward check mode [Fri Mar 2 10:27:55 2012]
> Output will be written to /var/log/fhgfs-fsck.log
> --------------------------------------------------------------------
>
> Step 1 : Checking reachability of nodes : OK!
> Step 2 : Checking metadata for file and directory links :
> (0) 10:27:55 Main [MetadataTk::referenceOwner]>> Unable to proceed
> without a working root node
>
>
> --------------------------------------------------------------------
> Could not find owner node for path: /
> --------------------------------------------------------------------
>
>
> Non-recoverable error occured. Please fix manually before running FS
> check again.
With the fsck you are not checking a storage or a metadata server
directly, but you check the FhGFS, as a real filesystem (so basically
from a FhGFS client's point of view).
The option 'checkPath' takes a path relative to your FhGFS root. So
having '/' there would mean checking from the root of your FhGFS (which
means checking the whole FhGFS then), so you could also just leave that
option out.
But in your case this will not work either, because you do not have a
working root node, so the fsck can not find an entry point into the
filesystem. Besides that, you do not have a filesystem yet, so there is
nothing to check, as fsck is really just to check for errors in the
files and directories of a FhGFS, not for checking configuration.
Regards,
Christian
--
=====================================================
| Christian Mohrbacher |
| Competence Center for High Performance Computing |
| Institut fuer Techno- und |
| Wirtschaftsmathematik (ITWM) |
| Fraunhofer-Platz 1 |
| |
| D-67663 Kaiserslautern |
=====================================================
| Tel: (49) 631 31600 4425 |
| Fax: (49) 631 31600 1099 |
| |
| E-Mail: christian....@itwm.fraunhofer.de |
| Internet: http://www.itwm.fraunhofer.de |
=====================================================
S�bastien CAPS wrote on 03/02/2012 10:27 AM:
> - FhGFS module autobuild
> Building fhgfs-client-opentk module
> Building fhgfs client module
> WARNING: could not find /opt/fhgfs/src/client/fhgfs_client_module/
> build/../source/closed/components/.AckManager.o.cmd for /opt/fhgfs/src/
> client/fhgfs_client_module/build/../source/closed/components/
> AckManager.o
this warning can be ignored. It's just the kernel's module build process
complaining about a missing .o.cmd file in the closed source part of fhgfs.
However, this .o.cmd file is not relevant for the build process and the
warning will be gone when we release fhgfs version 2011.04-r15 next
week, which will contain a completely open-sourced client.
Best regards,
Sven
Fraunhofer
Am 03/02/2012 04:39 PM, schrieb S�bastien CAPS:
> Many for all the replies :)
> I will try to fix the root metadata server problem and restarting from
> scratch to be sure and keep you in touch :)
>
> Some other questions :
> is there a way to "promote" a metaserver to the role of root metadata
> server with "fhgfs-ctl" ?
The fhgfs-ctl doesn't have a mode for changing the root metadata server.
But after the installation the first metadata server which will be
started is automatically the root metadata server.
>
> And is there any more examples/documentations/man/wiki entry for the
> fhgfs-ctl utility ?
No, sorry. We have a lot of requests about the documentation of
fhgfs-ctl. It is on our todo list. fhgfs-ctl have a help with examples.
Start fhgfs-ctl without any parameter to print the help. The help for a
special mode of fhgfs-ctl will be printed with a command like the
following "fhgfs-ctl mode=MODENAME help".
>
> Thanks again.
> Sebastien Caps
Please do not hesitate to ask if you should have further questions!
Greetings,
Frank