Find the answer to your Linux question:
Results 1 to 6 of 6
Any sections that are not needed. I have centos 3.9 and I can't do any more symlinks....
  1. #1
    Just Joined! dwhs's Avatar
    Join Date
    Sep 2005
    Posts
    19

    /usr partition is full can you think of anything I can delete?

    Any sections that are not needed. I have centos 3.9 and I can't do any more symlinks.

  2. #2
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    Let's see the results of df -h (put it in code tags please). That will give a good look at your filesystem/partitioning scheme, and what you have available for resources.

  3. #3
    Just Joined! dwhs's Avatar
    Join Date
    Sep 2005
    Posts
    19
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda7             888M  562M  281M  67% /
    /dev/sda1             198M   21M  168M  11% /boot
    /dev/sda8             742M  589M  116M  84% /home
    none                 1004M     0 1004M   0% /dev/shm
    /dev/sda6             888M   17M  827M   2% /tmp
    /dev/sda2             9.7G  8.6G  636M  94% /usr
    /dev/sda3             2.9G  2.1G  679M  76% /var
    It's almost all mysql as far as what's in the usr partition.

    I wish I could see recursively which folders are the largest in the mysql section.

    Thanks BTW

  4. #4
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    So, space is pretty tight on all filesystems.

    Quote Originally Posted by dwhs
    I wish I could see recursively which folders are the largest in the mysql section.
    Actually you can:
    # cd /usr && du -ks * | sort -rn | less

    Or traverse even lower for the starting point (e.g. /usr/mysql ?). A few iterations of that and you should be able to identify the largest offenders.

  5. #5
    Just Joined! dwhs's Avatar
    Join Date
    Sep 2005
    Posts
    19
    Quote Originally Posted by anomie View Post
    So, space is pretty tight on all filesystems.



    Actually you can:
    # cd /usr && du -ks * | sort -rn | less

    Or traverse even lower for the starting point (e.g. /usr/mysql ?). A few iterations of that and you should be able to identify the largest offenders.
    O.K. you get my vote for the next god, that's exactly what I was looking for! Thanks again.

  6. #6
    Linux Guru anomie's Avatar
    Join Date
    Mar 2005
    Location
    Texas
    Posts
    1,692
    I can't handle that level of responsibility.

    Glad you got the info you needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...