Checking available Unused Disk Space - AIX

Posted on 2004-11-17
Last Modified: 2013-11-17
Being somewhat new to UNIX and AIX, I am sure this is going to be an easy question, but nevertheless it has me more than stumped.  I am trying to determine, on AIX Korn Shell 4.2 how to determine if there is any unallocated disk space, and if so, how much.  I have a handy little utility that quite happily reads off all the volumes currently on the system and tells me how much space they have allocated and how much has been used, but I need to know if there is any unallocated disk left in the machine.


Question by:Jzaltheral
    LVL 12

    Accepted Solution

    Hi Jzaltheral,

    I assune you are looking for 'lspv <physical volume name>'
    This will give you the size of a physical partition, the number and size of free and used partitions.

    LVL 2

    Author Comment

    Yup, that was exactly what I needed.

    Thank Werner.
    LVL 12

    Expert Comment

    Glad to be a useful member of the EE community :-)

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Suggested Solutions

    Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    745 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

    15 Experts available now in Live!

    Get 1:1 Help Now