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!

Need more space in filesystem

Status
Not open for further replies.

Noobette

Technical User
Mar 25, 2003
2
US
I need to increase the space on one of my file systems. Would it be a good idea to run defragfs? Also, what are some generic files/logs that can be safely deleted?
 
First question, defragfs will not free up space.
Second question, depends on the filesystem.

You can increase the fs (filesystem) with the chfs command, for example: chfs -a size=1024000 /my/fs

You should know that AIX thinks in "blocks" and a block is 512-bytes, or half a kilbyte. So the above command would set the fs size to 500MB, not 1024MB. You can also use something like this: chfs -a size=+1 /my/fs

That will increase /my/fs by one 512-byte block.

My suggestion to people learning about this is to stop using the -k flag on df and du. IBM Certified -- AIX 4.3 Obfuscation
 
Yegolev is correct, but I want to add a caveat: If it is important to which disk the extension is made (such as filesystems that contain database files), you should first increase the size of the logical volume that holds the filesystem and then change the filesystem to fill the added space in the logical volume.
 
yes i was assuming that you were not doing some hi-perf disk layout, such as what you might do when running an oracle db. for that stuff, read up on the LVM as much as possible. IBM Certified -- AIX 4.3 Obfuscation
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top