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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.