Determine disk space in AIX


 
Thread Tools Search this Thread
Operating Systems AIX Determine disk space in AIX
# 1  
Old 12-09-2009
Determine disk space in AIX

Hi

I need to extend a FS in AIX but Im not sure on how to calculate the free space

Please advise if my math is correct:

Code:
-------PP SIZE:        64 megabyte(s)
--------TOTAL PPs:      1086 (69504 megabytes)

so the total size of volume is 64 * 1086 = 69504 MB (695GB)

Free PP is-- FREE PPs: 176 (11264 megabytes)
so I have free space of 176* 1086 = 191136MB (191 GB)

or is it Free PP * PP Size = 176 (11264 megabytes) * 64 megabyte(s) = 11264MB (112 GB)


Heres my rootvg output:>

Code:
$ lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  00c49eaa00004c000000010710cbda94
VG STATE:           active                   PP SIZE:        64 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1086 (69504 megabytes)
MAX LVs:            256                      FREE PPs:       176 (11264 megabytes)
LVs:                12                       USED PPs:       910 (58240 megabytes)
OPEN LVs:           11                       QUORUM:         1 (Disabled)
TOTAL PVs:          2                        VG DESCRIPTORS: 3
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         2                        AUTO ON:        yes
MAX PPs per VG:     32512                                     
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable


Last edited by pludi; 12-11-2009 at 02:09 AM.. Reason: code tags, please...
# 2  
Old 12-09-2009
in the future I would post a question like this in the AIX forum.

it reads exactly as you see in lsvg output. ~11GB

176 (11264 megabytes) FREE PP*PP SIZE


keep in mind when you add space to a file system it will be done in 64MB chucks. for example if you needed to add 100MB to a file system you will actually add 128MB or 2xPP.
# 3  
Old 12-10-2009
AIX is part of unix too

Thanks alot, I was a bit confused there. I got my LUN allocation already, going to extend the FS now. Thanks alot...appreciate ur help
# 4  
Old 12-11-2009
Quote:
Originally Posted by hedkandi
AIX is part of unix too

Thanks alot, I was a bit confused there. I got my LUN allocation already, going to extend the FS now. Thanks alot...appreciate ur help
your welcome.

This question is not really a "UNIX for Dummies Questions & Answer" question. There are several sub-forums on unix.com -- include AIX. That is what I meant about posting the question to the AIX forum.
# 5  
Old 12-27-2009
Well, thanks again for pointing that out...somehow I got a Warning for posting in the wrong forum and improper indenting..Grrrr...and Im working on Christmas Day...can't get any worse than this..anyways have a great Merry Xmas..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

2. Solaris

Determine free space in a Disk device

Version: Solaris 10 (August 2011) on VM I am kind of new to Solaris.From VM workstation i allocated 35 GB to this Solaris VM's Disk The disk was named c1t0d0 Few basic slices for root(8gb), swap(517mb) and /export/home(494mb) were created by the solaris Installer during the... (18 Replies)
Discussion started by: polavan
18 Replies

3. Shell Programming and Scripting

Error while executing disk space script in AIX

#!/bin/ksh for AIX used=0 mount=${1:-"/mountpoint"} threshold=${2:-80} #message="hello" #SUBJECT="Disk Space Alert" #EMAIL="xyz@abcinc.com" used=`df -k $mount | grep % | awk '{print $5}' | sed 's/%//g'` #echo "Free Space available under \"$mount\" is `expr 100 - $used`%.\n">$message ... (6 Replies)
Discussion started by: rajeshw61
6 Replies

4. AIX

AIX Free disk space

Hello, I would like to free some space to install gcc with is about 50M large, and I have no free space on my system. What can I delete? Filesystem 1024-blocks Used Free %Used Iused Ifree %Iused Mounted on /dev/hd4 262144 145436 116708 56% 7981 ... (10 Replies)
Discussion started by: aixn00b
10 Replies

5. AIX

Determine space on a disk

Hello, I am trying to understand how to calculate actual disk space on a logical volume. Based on the output below, how would I convert the total and free PPs to MB and GB? Thank you. # lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: ... (4 Replies)
Discussion started by: dkranes
4 Replies

6. UNIX for Dummies Questions & Answers

How to determine how much space is available on client machine

Hi, Is there a command to determine how much space is available / used on a client machine ?. Thanks (6 Replies)
Discussion started by: decamposem
6 Replies

7. HP-UX

determine the physical size of the hard disk

Hi is there a cmd in hpux 11 to determine the physical size of the hard disk. not bdf command. i have searched the other threads here but cant find an answer. thank you guys (4 Replies)
Discussion started by: hoffies
4 Replies

8. UNIX for Dummies Questions & Answers

how to determine the disk space usage

how can we determine the disk space used by a certain directory? (1 Reply)
Discussion started by: gfhgfnhhn
1 Replies

9. UNIX for Dummies Questions & Answers

available disk space on disk device???

Hello, Can someone please tell me which command to use to determine the available disk space on a given disk device? I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be? Thanks in advance! Al. (4 Replies)
Discussion started by: alan
4 Replies

10. Filesystems, Disks and Memory

Disk Space -

I know I have posted this question before, but I still just don't understand how to determine disk space. This server is an IBM RS6000 running on AIX version 4.2.1. I in essence need to know the following if anyone can assist me. 1) I need to know how many drives are configured in the... (2 Replies)
Discussion started by: Docboyeee
2 Replies
Login or Register to Ask a Question