From: Josh Durgin <josh.durgin@dreamhost.com>
To: Madhusudhana U <madhusudhana.u.acharya@gmail.com>
Cc: ceph-devel@vger.kernel.org
Subject: Re: How to set MDS log size
Date: Wed, 11 Apr 2012 11:21:19 -0700 [thread overview]
Message-ID: <4F85CB9F.5020201@dreamhost.com> (raw)
In-Reply-To: <loom.20120411T092920-80@post.gmane.org>
On 04/11/2012 12:33 AM, Madhusudhana U wrote:
> Hi all,
> In my MDS system of ceph cluster, my entire root partition is full bcz of
> one big mds log file
>
>
> [root@ceph-node-7 ceph]# du -sh *
> 0 mds.admin.log
> 27G mds.ceph-node-7.log
>
> [root@ceph-node-7 ceph]# df -h
> Filesystem Size Used Avail Use% Mounted on
> /dev/sda2 39G 39G 0 100% /
> tmpfs 24G 0 24G 0% /dev/shm
> /dev/sda1 2.0G 76M 1.8G 5% /boot
> /dev/sda5 19G 409M 18G 3% /ceph
>
> How to set a max size for mds log ? does it auto rotate ? Bcz my root
> partition is full, will this affect read/write performance in
> my ceph cluster?
Ceph comes with a logrotate config, which should be in
/etc/logrotate.d/ceph on debian-based distros. If you changed the
location of the logs, you'll need to update the logrotate configuration
to match.
Josh
prev parent reply other threads:[~2012-04-11 18:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 7:33 How to set MDS log size Madhusudhana U
2012-04-11 18:21 ` Josh Durgin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F85CB9F.5020201@dreamhost.com \
--to=josh.durgin@dreamhost.com \
--cc=ceph-devel@vger.kernel.org \
--cc=madhusudhana.u.acharya@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox