Firstly, I can't stress enough how much of a newb I am to AIX or Linux in general so please be very patient. I am strictly a MS man, however I now need to administer an IBM power series blade server which sits on top of an AIX VIOS. The VIOS version I am running is 2.1.2.0 and it is mirrored on two physical disks.
I am currently trying to install the latest version of the VIOS but when I attempt to run the command updateios it complains that there is not enough space in the /usr filesystem.
I then attempted to extend the /usr filesytem using extendlv but I get the error "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."
In troubleshooting this error on google I think the problem lies in the allocation of my free PPs over the two mirrored disks. Here is the output of lsvg -pv rootvg.
I think what I need to do is move some of the 301 free PPs from hdisk1 over to hdisk0 but I haven't a clue where to even start. Can anyone help? Again, go easy I'm extremely new to this and barely know the connection between LVs, PVs, PPs and LPs.
Moderator's Comments:
Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks.
Last edited by zaxxon; 03-16-2011 at 04:36 AM..
Reason: code tags
Obviously your rootvg mirror is not clean, hdisk0 has more data than hdisk1. Check lsvg -l rootvg to see which logical volumes are not mirrored and then decide what to do.
As firefox111 stated run;
This will display something like;
As you have probably already figured out you are looking for the number of LPs compared to the number of PPs. if the PPs are doubled then it is mirrored. If it is not then figure out where that LV resides. If it already resides on hdisk1 then it will not do you any good but if it resides on hdisk0 then you can use;
to move that LV from hdisk0 to hdisk1 to free up some space on hdisk0.
You can use
to figure out which disk the LV in question resides.
In my case my the only LVs that are not mirrored are my sysdump devices so that might be something to look for.
Last edited by juredd1; 03-16-2011 at 12:55 PM..
Reason: Correct Formating.
looking into your output from your last output you should not use more than 88 physical partitions per disk - I am wondering where the other 400+ are as your first post shows 546 pps in use on hdisk0 ... but if they are in use they obviously should be displayed somehere which they are not.
Can we start from the beginning - can you show us the output of
has this system been migrated from old small disks to new a lot larger disks maybe ?
In my version of AIX -M is not a valid argument for LSVG, there is however an argument -map for which the below is displayed. Is that what you were looking for?
Again, I don't have -l as a valid arg for lspv but I do have -lv, is this what you are looking for?
This machine was a completely fresh install by an IBM guy. As stated in my OP the machine is a power blade server which acts as the VIOS for a IBM i server. Hope this helps.
Apologies, I forgot that you have a VIO server - my commands do work on 'normal aix'.
Ok so the missing pps are used by /var/vio/VMLibrary which doesn't seem to be mirrored.
I am not sure if commands like df -g or chfs commands are working on vio servers (as these are managed by another team in my company) but I would try to find out if I can make one of the existing filesystems either smaller or can live without a mirror for it - I would say /home would be such a candidate as it seems relatively huge and it doesnt necessarily have to be mirrored - depending on how full it is you could try to reduce the size by 1 GB and give the space to /usr instead with chfs -a size=-1G /home and chfs -a size=+1G /usr ?
I am using ubuntu. I have written a program to calculate prime factors. it works perfectly fine till entered number is less than 9989 (or so ) but when one enters a number higher than that, for example 15000, it does not work. Can anyone guide me whats the problem ? although new codes are welcome,... (2 Replies)
Hi guys!
Could you tell me what's this figure about? (See the attached figure below.)
This is a representation of block allocation filesystem and extent allocation filesystem in Solaris.
Does this mean that in a block-based allocation, data are placed in individual blocks while in... (0 Replies)
Hi,
I have a problem one of the server file system cross the limitation
MountPoint / is 8% with 899.49MB free crossing threshold of 10% free
out put please help how to resolve this
dev/vx/dsk/bootdg/rootvol
9.8G 8.8G 956M 91% /
/devices ... (3 Replies)
i wrote a tiny version of tail command using a large buffer statically allocated but, in a second time, i found another version in which i use a bidimensional array dynamically allocated.
here is the first version
/*my tiny tail, it prints the last 5 line of a file
*/
#include<stdio.h>... (4 Replies)
I have a scenario like the client has to search for the active server.There will be many servers.But not all server are active.And at a time not more than one server will be active.
The client will be in active state always i.e, it should always search for an active server until it gets one.I... (1 Reply)
I have a program that will fetch some particular lines and store it in a buffer for further operations.The code which is given below works but with some errors.I couldn't trace out the error.Can anybody help on this plz??
#include <stdio.h>
#include <stdlib.h>
#include<string.h>
#define... (1 Reply)
Hello All,
I am facing a problem on SCO Open Server V 5x, We are using serial communication on dumb terminals, right now i am facing a problem on some terminals, as they are not showing thier previous tty no, as tty13 or tty18, but they are showing ttya6 or ttya4, i also tried to move and link... (5 Replies)