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!

Increase FS

Status
Not open for further replies.

Mag0007

MIS
Feb 15, 2005
829
US
I am trying to increase my /tmp filesystem

using AIX 5.3

there are a total of
FREE PPs: 98 (3136 megabytes)

I am doing chfs -a size=+1 /tmp

and I get this error

0516-634 lquerypv: /tmp directory does not have enough space,
delete some files and try again.
0516-848 lquerypv: Failure on physical volume , it may be missing
or removed.
0516-788 extendlv: Unable to extend logical volume.

 
1. Your LV for /tmp may not have enough partitions. Check and increase if needed.

2. /tmp is 100% and cannot increase because chfs will use /tmp temporarily. Delete files that are not needed.

3. /tmp doesn't exist?
 
You probably need to extend your logical volume first.

- extendlv hd3 1 (extend you logical volume by 1 PP)

-lsfs -lq /tmp
The output should look something like this:

Name Nodename Mount Pt VFS Size Options Auto Accounting
/dev/hd3 -- /tmp jfs 229376 -- yes no
(lv size: 229376, fs size: 229376, frag size: 4096, nbpi: 4096, compress: no, bf: false, ag: 8)

find the lv size in the bottom of the output, you need this number to ncreas the filesystem.

chfs -a size=[LVsize] /tmp

Your /tmp should now be larger.

Michelle
 
No you do not have to increase LV first, chfs can/will take care of that, but you need some free space in /tmp in order for chfs to succeed.

I'm guessing that /tmp is 100% full???

You need to delete some files in /tmp first (or move them to another filesystem (e.g. /var/tmp) if you don't want to lose any of the files in /tmp or if you are not sure which files to delete)


HTH,

p5wizard
 
There is a point at which you will not be able to increase /tmp without first increasing the lv physical partitions. However, the default is 512 - I believe and depending on your pp size - that is pretty large. I would suspect that your /tmp is full - like the others have said. /tmp should be a receptacle for only work type files - no permanent files of consequence so you ought to be able to clean it out. I have a script that cleans it every time I reboot so that I don't have to worry about whether a file is being created while I am trying to delete it - a bad thing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top