Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resizing Partition in AIX

Status
Not open for further replies.

ronfarris

Programmer
Oct 25, 2000
30
US
Hi Everyone!
Is it possible to resize the partition in aix without losing data. For instance when running the df command(which tells me space usage information), I see that on one partition I have 95% used space and on all of the others I have like, 14%, 45%, 65% etc. Is it possible to make the 95% usage partition larger by using the smaller partition's empty space. I thought I saw someone do this before, but I don't remember how he did it. I thought he was using smit.
Thank you in advance for your help.
Ron
 
ron,

Simply no.

You cannot decrease space in one filesystem and use it for another, once it is allocated you can if part of rootvg take a mksysb and restore selecting the shrink filesystem option to decrease the sizes or set up a new smaller filesystem and copy the data across and then change the mount points.

You can increase the size of a filesystems via the AIX dynamic kernel if you have free space via:

chfs -a size=<new size in 512 byte blocks> /filesystems

Cheers

PSD
HACMP Specialist
 
Thank you for the information. I thought I had seen someone do this before, but maybe not. Thank you again.
Ron
 
Try [tt]chfs -a size=+1 /filesysname[/tt], may be is what you want!

I hope it works...
I hope it works...
Unix was made by and for smart people.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top