Hi all,
We're running out of inodes on our Beegfs metadata server, which
obviously leads to problems (e.g. new files can't be written to the
beegfs system!!). I see two ways to deal with this:
The metadata server is formatted with xfs, and we had originally
allocated 50% of the space to inodes, i.e.
mkfs.xfs -f -i size=512,maxpct=50 /dev/sdb
and my thought is that by using 'xfs_growfs' to increase this percentage
should alleviate this problem (at least for a while) - and without
having to rebuild/restore from backups - for example:
xfs_growfs -m 80 /data/meta
I'd do this when the system is down, and no clients are accessing the
data. If anyone has run into this inodes situation with xfs and dealt
with it in this way, I'd be interested to hear any lessons
learned/stories/advice.
A second (although more risky) possibility is that our setup originally
was using metadata mirroring, but we stopped doing that (because of some
other issues it caused). We simply had turned off the other buddy
metadata server, but never actually unwound the configuration (so it
still shows up in the beegfs-ctl -list commands as 'offline'). However,
the remaining/running metadata server still has a 'buddydir' directory
with lots of entries, which I assume are the old synced copies from the
other mirror. There's docs about removing metadata nodes, but it's
talking about the case where one was accidentally added and has no files
yet. It seems somewhat reckless to simply remove the files in
'buddydir' on our existing metadata server, but if I'm never going to
turn on the other buddy mirror, will it matter? Or, more specifically,
is it possible to remove a buddy mirror when the other member of the
mirror is gone?
Thanks, Paul
--
California NanoSystems Institute
Center for Scientific Computing
Elings Hall, Room 3231
University of California
Santa Barbara, CA 93106-6105
http://www.cnsi.ucsb.edu http://csc.cnsi.ucsb.edu
(805)-893-4205