AIX : delete files from  /     ?

Posted on 2012-09-06
Last Modified: 2012-09-06
I ran out of space in my / partition.

Some question raised to me:

Is there any file I could delete safely from / partition without affecting the system?

2.  I've got plenty of space in rootvg. Is there safe to increase / with chfs ?

Thank you!
Question by:g0all
    LVL 68

    Accepted Solution

    Let's start with 2): Yes, it's safe to increase /, and you should do it asap.

    Now for 1): In standard AIX there is virtually nothing under / which you could (or should) delete.
    Things you put there on your own are quite another story, obviously.


    du -xms / * | sort -rn

    Something weird?
    LVL 1

    Author Comment

    for 1: Unable to find anything weird, however:

    2. I will increase root ( / ) partition. If there's no risk, I will do it.

    Thank you, wmp.
    LVL 68

    Expert Comment

    No risk, no fun!

    Seriously, increasing / is definitely no problem, all the more as AIX comes by default with a very tiny root filesystem.

    Thx for the points!

    LVL 1

    Author Comment

    Ahaha! Great!

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
    Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now