vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello, I am new to AIX and I am running out of space in the disk. Could anyone help me out in adding free PPs? Here is the output of "lsvg rootvg" VOLUME GROUP: rootvg VG IDENTIFIER: 00c1933c00004c0000000102b09f2929 VG STATE: active PP SIZE: 64 megabyte(s) VG PERMISSION: read/write TOTAL PPs: 542 (34688 megabytes) MAX LVs: 256 FREE PPs: 503 (32192 megabytes) LVs: 10 USED PPs: 39 (2496 megabytes) OPEN LVs: 9 QUORUM: 2 TOTAL PVs: 1 VG DESCRIPTORS: 2 STALE PVs: 0 STALE PPs: 0 ACTIVE PVs: 1 AUTO ON: yes MAX PPs per VG: 32512 0 MAX PPs per PV: 1016 MAX PVs: 32 LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no HOT SPARE: no BB POLICY: relocatable I have 503 free PPs. Can I get more disk space from these free PPs? Please take me through the procedure. thanks in advance Regards, hem |
| |||
| hem wrote: > Hello, > > I am new to AIX and I am running out of space in the disk. Could anyone > help me out in adding free PPs? Here is the output of "lsvg rootvg" > > VOLUME GROUP: rootvg VG IDENTIFIER: > 00c1933c00004c0000000102b09f2929 > VG STATE: active PP SIZE: 64 > megabyte(s) > VG PERMISSION: read/write TOTAL PPs: 542 (34688 > megabytes) > MAX LVs: 256 FREE PPs: 503 > (32192 megabytes) > > I have 503 free PPs. Can I get more disk space from these free PPs? AIX 5.3,5.2 or 4.3.3 or what ? example: $ chfs -a size=+256M /tmp or $ chfs -a size=+1 /tmp # ( Will increase FS /tmp with ONE PPsize ) or man chfs or smity chfs The next time please provide at least the os version you are running ( $ oslevel -r ) hth Hajo |
| |||
| Hajo Ehlers wrote: > hem wrote: > >>Hello, >> >>I am new to AIX and I am running out of space in the disk. Could anyone >>help me out in adding free PPs? Here is the output of "lsvg rootvg" >> >>VOLUME GROUP: rootvg VG IDENTIFIER: >>00c1933c00004c0000000102b09f2929 >>VG STATE: active PP SIZE: 64 >>megabyte(s) >>VG PERMISSION: read/write TOTAL PPs: 542 (34688 >>megabytes) >>MAX LVs: 256 FREE PPs: 503 >>(32192 megabytes) > > >>I have 503 free PPs. Can I get more disk space from these free PPs? > > > AIX 5.3,5.2 or 4.3.3 or what ? > > example: > $ chfs -a size=+256M /tmp > or > $ chfs -a size=+1 /tmp # ( Will increase FS /tmp with ONE PPsize > ) > or man chfs > or smity chfs > > The next time please provide at least the os version you are running ( > $ oslevel -r ) > > hth > Hajo > Not to nitpick/pile on but in order to help you quicker/better :-), it would be nice to have more information. What FS/LV (FS = filesystem, LV = logical volume) are you trying to expand? As Hajo suggested, please provide some other information. Based on the output you provided in your original post, it looks like there are plenty of "PPs" (physical partitions) left on the disk...unfortunately, that doesn't provide enough information to address your question <G>. In addition to the name of the LV/FS that needs the additional space, you might want to also include the output of these commands: - lsvg - lsvg -l NAMEOFVG (substitute "NAMEOFVG" w/output of lsvg; run once for each VG)) - lspv (optionally, lsdev -Cc disk and lsfs -v jfs might be of some use too) Paul |
| |||
| I would suggest that you look at your filesystems ( df -k ) and determine which filesystem(s) you would like to make larger with the Free PP's. For most filesystem types this is a non-reversible procedure without some pain (steps) involved if you allocate disk space and later want to reduce the allocation to that filesystem. Once you determine the filesystem you want to make larger, then follow instructions form Hajo's reply. |
| ||||
| A PP is a Physical Partition. It is similar to a cluster or a sector on a Windows hard disk. There are a set amount of PPs based on 1) The hard disks that you have assigned to the volume group 2) The initial PP Size you selected for the volume group In the rootvg info that you showed, I see that you have one hard disk (TOTAL PVs = 1), and it is a 36 GB drive. To get more PPs, you would need to add a second hard disk and include it as part of rootvg. That would give you more room to store data. Of course, since you have 503 FREE PPs right now out of a possible 542, I don't think you necessarily need more disk space. FREE PPs are essentially disk space that has not been assigned to any purpose. What you may be looking for is a way to increase the size of your logical volumes or your file systems within the rootvg area. If that is the case, you should be looking at the info that Hajo suggested in his message. Logical volumes (LVs) let you protect disk space and prevent someone / something from increasing the file system to an unreasonable size. File systems are current assigned space for a particular directory or structure. For example: I can set my LV to limit it to allow it to only use a maximum of 4 physical volumes, to use the maximum number of disks when storing data (spread accross the disks evenly), and to never allow it to use up more than 128 PPs. Check out " smit chlv " or "smit lvm " to see some of these options. I can then increase my File System ( smit chfs ) as often as I want to give it more space until I reach that restriction on my logical volume. Once that happens, you will get error messages indicating why you cannot increase its size. Also, keep in mind that on some versions of AIX, you cannot reduce the size of a file system, only increase it. To reduce it, you may have to back up the data, delete it, recreate the file system smaller, then reload your data. Hope this answers some of your questions... Steve |