![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to get the file system size | lucaxvu | High Level Programming | 1 | 02-13-2008 02:17 PM |
| increase root file system size in solaris | sriram.s | SUN Solaris | 4 | 04-02-2007 12:28 AM |
| increasing ufs file system size in solaris | BG_JrAdmin | UNIX for Dummies Questions & Answers | 6 | 12-01-2005 12:56 AM |
| File system size change | jvinn | UNIX for Advanced & Expert Users | 9 | 05-11-2005 03:13 PM |
| Free size for File System | videsh77 | UNIX for Dummies Questions & Answers | 7 | 02-03-2005 02:44 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
file system size
Dear ALL
Today I faced one problem in the file system, during invoking the command #df -k , I saw /usr reached to 95% Used, could any one give advice ? thanks & regarded |
| Forum Sponsor | ||
|
|
|
|||
|
What sort of advice are you looking for ?
Is it to find the process that is using so much of space and to kill it ? To identify the userid dumping data to fill up /usr ? To create an alarm for a defined threshold level ? Could you please be specific in your question |
|
|||
|
Quote:
Most AIX systems are far into the nineties if i issue a "df -k /usr" and it never has posed a problem in the years i have been working with AIX. I hope this helps. bakunin |
|
|||
|
I still do not understand why you do have to increase the available space (IMHO this is a waste of diskspace), but here is how you do it:
1. find out, how much space is left in the rootvg and decide, how much you want to assign to the /usr filesystem: Code:
# lsvg rootvg VOLUME GROUP: rootvg VG IDENTIFIER: 0000fc010000d6000000011054db9d7c VG STATE: active PP SIZE: 128 megabyte(s) VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes) MAX LVs: 256 FREE PPs: 910 (116480 megabytes) LVs: 14 USED PPs: 182 (23296 megabytes) OPEN LVs: 13 QUORUM: 1 TOTAL PVs: 2 VG DESCRIPTORS: 3 STALE PVs: 0 STALE PPs: 0 ACTIVE PVs: 2 AUTO ON: yes MAX PPs per VG: 32512 MAX PPs per PV: 1016 MAX PVs: 32 LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no HOT SPARE: no BB POLICY: relocatable # lsvg -l rootvg rootvg: LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT hd5 boot 1 2 2 closed/syncd N/A hd6 paging 32 64 2 open/syncd N/A hd8 jfs2log 1 2 2 open/syncd N/A hd4 jfs2 1 2 2 open/syncd / hd2 jfs2 20 40 2 open/syncd /usr hd9var jfs2 8 16 2 open/syncd /var hd3 jfs2 9 18 2 open/syncd /tmp hd1 jfs2 7 14 2 open/syncd /home hd10opt jfs2 1 2 2 open/syncd /opt lg_dumplv sysdump 8 8 1 open/syncd N/A usr_local_lv jfs2 2 4 2 open/syncd /usr/local 2.) Increase the size of the logical volume: Code:
# extendlv hd2 8 Filesystems are measured in (512-bytes-)blocks. Calculate how many blocks you have to increase, then increase the filesystem (use ^D to leave bc): Code:
# bc 2*1024*128*8 2097152 # chfs -a size=+2097152 /usr bakunin |