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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic disc allocation for mount points 1

Status
Not open for further replies.

philipose

Programmer
Dec 24, 2003
137
US
I am running AIX 5.2 and am currently added more discs to the machine. I wanted to create 2 mount points and allocate space to them. My question is that can I allocate space to these mount points dynamically or should it necessarily be fixed initially?

Regards
Zac
 
If by dynamically you mean expanding and shrinking the filesystem then you can't do this on 5.2!

You should have AIX 5.3 jfs2 to do this
 
khalidaaa,
Thank you for your expert opinion. Is AIX 5.3 jfs2 an upgrade of AIX 5.2 or is it a totally installation? ie can I get to AIX 5.3 jfs2 from AIX 5.2 without much hassle?
Thanks once again
philipse
 
philipose,

AIX 5.3 is the next version of AIX 5.2. So, you have to upgrade your operating system to AIX 5.3.

jfs2 is a filesystem on AIX so it has nothing to do with having it on AIX 5.2 or AIX 5.3 but with AIX 5.3, jfs2 can be dynamically expanded or shrinked after the initial filesystem creation.

You can't do this on AIX 5.2.

just for the record of mentioning it, there are two filesystem in AIX: jfs and jfs2.

you can look more on this in the internet:


Regards
Khalid
 
Thanks for your expert opiniion. I will read more from the link.
Thanks
philipse
 
Thanks philipose for the star :)

hope i will be more of your help in the future :)

Regards,
Khalid
 
To answer your original questions, yes in AIX 5.2 with jfs or jfs2 you can add (but not shrink) space "dynamically" (depending on the disk subsystem). You will need to add it to the volume group that the mount points exist on, then increase the size of the filesystem.

What type of disk subsystem are you using?

take a look at "smit vg" "smit chjfs" "smit lvm" to see if any of these help.


 
Did you get everything figured out? If not, based on what i think you're saying:

1. add disk
2. cfgmgr
3. smit extendvg
4. smit chjfs2
 
on exsiting FS just do a chfs -a size=+"increased ammount" this will increase the file and the lv at the same time
 
oops sorry hfaix and plamb for your valuable suggestions.
i am out of action for a week due to an injury. i will let you know the results next week.
philipse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top