* How to set MDS log size
@ 2012-04-11 7:33 Madhusudhana U
2012-04-11 18:21 ` Josh Durgin
0 siblings, 1 reply; 2+ messages in thread
From: Madhusudhana U @ 2012-04-11 7:33 UTC (permalink / raw)
To: ceph-devel
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?
Thanks
Madhusudhana
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to set MDS log size
2012-04-11 7:33 How to set MDS log size Madhusudhana U
@ 2012-04-11 18:21 ` Josh Durgin
0 siblings, 0 replies; 2+ messages in thread
From: Josh Durgin @ 2012-04-11 18:21 UTC (permalink / raw)
To: Madhusudhana U; +Cc: ceph-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-11 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-11 7:33 How to set MDS log size Madhusudhana U
2012-04-11 18:21 ` Josh Durgin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.