Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 19
how to cleanup / partition..? i have cleanup the sub-directories available under / but still not getting free space increase. Kindly help me on this..! Thanks in advance. Regards, Sachikanta...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Aug 2011
    Posts
    11

    Post how to cleanup / (root) partition...?


    how to cleanup / partition..? i have cleanup the sub-directories available under / but still not getting free space increase. Kindly help me on this..!

    Thanks in advance.

    Regards,
    Sachikanta

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    We have no clue about your drive layout so helping you free up space will be a challenge.
    How is your hard drive divided? Is it one partition with everything under /?Can you post the output of the following commands:
    Code:
    df -h
    fdisk -l

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  3. #3
    Just Joined!
    Join Date
    Aug 2011
    Posts
    11
    Hi,

    Please find the output of commands.

    df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/rootvg-root
    2.0G 306M 1.6G 17% /
    /dev/mapper/rootvg-home
    248M 11M 225M 5% /home
    /dev/mapper/rootvg-var
    3.0G 235M 2.6G 9% /var
    /dev/mapper/rootvg-usr
    3.0G 1.4G 1.4G 50% /usr
    /dev/mapper/rootvg-opt
    3.0G 252M 2.6G 9% /opt
    /dev/mapper/rootvg-osmf

    Please let me know in case of anything else required.

    Regards,
    Sachikanta

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Oct 2007
    Location
    Tucson AZ
    Posts
    3,190
    You didn't post the output of fdisk -l command requested above. Do you actually have a 12GB drive as indicated by your output in the last post? The output shows only 17% of your / is being used but it also shows the size is only 2GB. There really isn't going to be much free space available.

  6. #5
    Just Joined!
    Join Date
    Aug 2011
    Posts
    11
    Ohh yes.. I got the point.. i need to change the settings on my monitoring tool. Thanks for your input...

    Regards,
    Sachikanta

  7. #6
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    OK now that you have posted half of what was asked what directory are you looking to clean up? Most of your mounted partitions are not being used heavily, i.e., 5 to 17% is not bad. /usr is going to be the most used as that is where all the system files are stored so there really isn't much you can remove from there.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  8. #7
    Just Joined!
    Join Date
    Aug 2011
    Posts
    11
    Hi,
    In fact I am more concern about cleaning /usr mount point.. could you please help me what are the unwanted files that can be remove from /usr partition.. because i can see all are related OS.. please let me know if you want any details about /usr partition..

    Best Regards,
    Sachikanta

  9. #8
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    I would leave that directory alone, especially if you do not understand what is in there and what/where they are needed. This is a system directory.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

  10. #9
    Linux Engineer
    Join Date
    Apr 2012
    Location
    Virginia, USA
    Posts
    913
    Quote Originally Posted by msachikanta View Post
    Hi,

    Please find the output of commands.

    df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/mapper/rootvg-root
    2.0G 306M 1.6G 17% /
    /dev/mapper/rootvg-home
    248M 11M 225M 5% /home
    /dev/mapper/rootvg-var
    3.0G 235M 2.6G 9% /var
    /dev/mapper/rootvg-usr
    3.0G 1.4G 1.4G 50% /usr
    /dev/mapper/rootvg-opt
    3.0G 252M 2.6G 9% /opt
    /dev/mapper/rootvg-osmf

    Please let me know in case of anything else required.

    Regards,
    Sachikanta
    Reinstall.

    Unless you have a very specific reason to put /opt and /usr on a separate mount point, it's a bad idea. Based on the size of your disk, I would recommend only putting /home and /boot on a separate partition/volume than /. /boot should ideally be ext3 or ext4.

  11. #10
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    Location
    The Keystone State
    Posts
    2,677
    Quote Originally Posted by mizzle View Post
    Unless you have a very specific reason to put /opt and /usr on a separate mount point, it's a bad idea.
    WHAT? Please explain why it is a bad idea to place these on their own mount point.

    Regards
    Robert

    Linux
    The adventure of a life time.

    Linux User #296285
    Get Counted

Page 1 of 2 1 2 LastLast

Posting Permissions

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