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!

root files system

Status
Not open for further replies.

harpal

Technical User
Oct 3, 2001
115
0
0
GB
The root file system has hit 95% and I have tried to throw some disk space at it with smit jfs but i am getting the following error messg.

root@hqax00 / >df -v
Filesystem 512-blocks Used Free %Used Iused Ifree %Iused Mounted on
/dev/hd4 2392064 2251760 140304 95% 9820 588196 2% /

Command: failed stdout: yes stderr: no

Before command completion, additional instructions may appear below.

0516-404 allocp: This system cannot fulfill the allocation request.There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests. The command should be retried with different allocation characteristics.

does anyone know if there is anything I can remove that will give the root file systems more space rather then having to throw more disk space which I can't do according to the error messg.

I have run the folling command

lsvg -p rootvg and the results are below

PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 542 0 00..00..00..00..00
hdisk1 active 542 164 55..00..00..00..109

thanks in advance
 
The reason you cannot allocate more space is that you have none on hdisk0

useful candidates for deletion include /tmp file contents
no longer required. Obsolete core dumps..etc.....

Are hdisk0 and hdisk1 mirrored ?

If so are there any filesystems on hdisk0 that arent on hdisk1 which can be moved elsewhere ?







Im not waving I'm drowning - but hope it helps
 
I think that the disk are not mirrored is there a command which will tell me whether these to disks are mirrored.

Harpal
 
If you issue command - lsvg -l rootvg and note the
output - an example below.

(root)/>$lsvg -l rootvg
#rootvg:
LV NAME TYPE LPs PPs PVs
hd5 boot 1 2 2
hd6 paging 64 128 2
hd8 jfslog 1 2 2

The number of physical partitions is twice the number of
logical - indicating that mirroring is on.

If you use - lspv -l hdisk0 followed by the same command
on hdisk1 you will see which logical volumes are contained
on each disk.





Im not waving Im drowning - but hope it helps
 
oqurum here are the results

looks like no mirroring

hdisk0:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
hd5 1 1 01..00..00..00..00 N/A
hd4 73 73 19..00..03..00..51 /
hd9var 10 10 01..00..01..00..08 /var
lv06 198 198 34..00..06..108..50 /oracle
hd2 77 77 24..00..53..00..00 /usr
hd3 32 32 30..00..02..00..00 /tmp
hd6 128 128 00..102..26..00..00 N/A
lv00 4 4 00..04..00..00..00 /usr/welcome_arcade
lv01 2 2 00..02..00..00..00 /usr/welcome
hd8 1 1 00..00..01..00..00 N/A
hd1 16 16 00..00..16..00..00 /home
payment@hqax00 /dev >lspv -l hdisk1
hdisk1:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
hd5 1 1 01..00..00..00..00 N/A
lv06 34 34 34..00..00..00..00 /oracle
hd4 73 73 19..00..03..51..00 /
hd6 128 128 00..102..26..00..00 N/A
lv00 4 4 00..04..00..00..00 /usr/welcome_arcade
lv01 2 2 00..02..00..00..00 /usr/welcome
hd8 1 1 00..00..01..00..00 N/A
hd2 77 77 00..00..53..24..00 /usr
hd9var 10 10 00..00..01..09..00 /var
hd3 32 32 00..00..08..24..00 /tmp
hd1 16 16 00..00..16..00..00 /home
 
If deleting unused files from / doesn't give you enough room, you could make more room on hdisk0 by getting rid of /usr/welcome_arcade and /usr/welcome.

Just deleting things from /tmp won't do you any good unless you rebuild the filesystem to make it smaller. If you do, don't forget to check the permissions on the filesystem. It has to be 777 on /tmp or you may find some things don't work because they can't write to /tmp.

It appears you have a root filesystem that is 1 GB. Is that correct? That seems large for an AIX system. Maybe there are some directory structures in root you could make separate mount points on hdisk1. That would free up more space on hdisk0.
 
Oops, I didn't notice until now:

It does look like you have mirroring of everything but /oracle. Run lslv -m hd4. If you get two listings of the PPs, the root LV is mirrored. If that is the case and you don't want to get rid of the welcome LVs, unmirror them. (it won't gain you much, but every little bit helps). The only other things I would unmirror is /tmp and /var. But I don't recommend unmirroring!
 
bi,
what the heck are the welcome and welcome_arcade mount points is it soomething to do cde
 
when you first install aix (at least if you have a graphics console), you get a welcome screen with video that introduces you to aix. It's great if you are new to aix, but you don't need it to run cde.
 
Look in / for core files and delete those.

Look in /dev for any files other than actual devices. For example, if you have accidentally backed up or dd'ed a file to /dev/rmto, instead of /dev/rmt0, it will create a file in dev that can be large.

Smit files smit.log and smit.script can be removed.

If you have TSM/ADSM, you can remove any old dsmerror.log files.

If you don't use the IMNSearch engine for documentation, uninstall it.

Remember, amateurs built the Ark, professionals built the Titanic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top