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

Incressing Space in Filesystem 1

Status
Not open for further replies.

mastikool

MIS
Aug 10, 2006
14
US
Hi,
I am new to AIX, my DBA wants to increses size in Filesystem. He want to add 2gb. What is the procedure to increase the size.
I have used.
#df -k to see the space and it shows full... what should I do next???

Thanks.
 
What version of AIX are you using?

This will work for 5L

chfs -a size=+2G /dev/lv_name

Regards,
Khalid
 
Thanks Khalid for the quick respond. I have AIX5.2, can you please give me step by step instruction how to allocate more space.
I am signed on at root then what should I do?

Thanks
 
That's all you need vrkool!

You do df -k to view which filesystem you want to increase and then use chfs as above!

it works with the filesystem name or the logical volume name!

chfs -a size=+2G /dev/lv_name

Ot

chfs -a size=+2G /filesystemname

Regards,
Khalid
 
Thanks....have a great weekend. Will finish on Monday.
 
Just for the record of mentioning it! Be careful if you are using jfs filesystem type cause you won't be able to decrease the filesystem when you increase it!

for jfs2 (enhanced) you can do this on the fly!

to view whether you are using jfs or jfs2

/usr/sbin/lsvg -o|/usr/sbin/lsvg -i -l

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top