Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


How did this happen?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

How did this happen?

ztecztec Member
edited November 2012 in General

How did this happen and how do I fix it?
The only thing that I am running on this server is centos 6.3 with virtualmin and trying to host a site that gathers usenet data.

Filesystem Size Used Avail Use% Mounted on

rootfs 9.7G 1.5G 7.8G 16% /
/dev/root 9.7G 1.5G 7.8G 16% /
none 991M 308K 990M 1% /dev
/dev/sda2 452G 199M 429G 1% /home
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/etc/named
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/var/named
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/etc/named.conf
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/etc/named.rfc1912.zones
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/etc/rndc.key
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/usr/lib64/bind
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/etc/named.iscdlv.key
/dev/root 9.7G 1.5G 7.8G 16% /var/named/chroot/etc/named.root.key

I can't do much anymore, did some googling but I'm too big of a newbie to really fix this.

Thank you for your attention.

Comments

  • MartinDMartinD Member
    edited November 2012

    You need to get rid of chroot-bind.

    rpm -e bind-chroot; service named restart

  • Isn't that a necessary package, and why does it use so much space?

  • It's not using any space, it's chrooted environments for bind.

    No you don't need the package - it can be removed with no issue.

  • Actually, I see I posted the wrong print of the HD space. cough

    Where it says 16% above there was 100%.
    Now I'm left with this:

    Filesystem Size Used Avail Use% Mounted on

    rootfs 9.7G 9.3G 0 100% /
    /dev/root 9.7G 9.3G 0 100% /
    none 1003M 308K 1003M 1% /dev
    /dev/sda2 452G 205M 429G 1% /home

  • edited November 2012

    Type:
    cd /
    du -h --max-depth=1

    then see which directory uses more disk space and cd into it eg.
    cd /var
    then run
    du -h --max-depth=1 again.

    Do this until you find which file/files used up all your diskspace.
    I'm guessing it's a logfile that's not being rotated.

  • ztecztec Member
    edited November 2012

    It's mysql using 8gb. But that's just my huge database, I can't delete that!

    How can I circumvent this?

  • Move it to /home and symlink the 'original'

  • I'm almost too ashamed to ask but: How do I do this?

  • I think I got it.

  • Good to hear.

Sign In or Register to comment.