Login or Register to Ask a Question and Join Our Community


Free PP Allocation problem


 
Thread Tools Search this Thread
Operating Systems AIX Free PP Allocation problem
# 8  
Old 03-17-2011
On your VIO Server type
Code:
oem_setup_env

You should get a # prompt.

This will put into more of a AIX compatible mode where you can run most of the normal AIX commands that zxmaus mentioned.

---------- Post updated at 11:00 PM ---------- Previous update was at 10:55 PM ----------

It looked to me like lg_dumplv is on hdisk0 and is not mirrored. You could move that lv from hdisk0 to hdisk1 with the command below after running the oem command mentioned above.

Code:
migratepv -l lvname hdisk0 hdisk1

That would fee up about 1Gig on hdisk0.

I don't mean to butt in on this to much just throwing some other thoughts out there.

Last edited by juredd1; 03-17-2011 at 06:47 PM.. Reason: corrections
This User Gave Thanks to juredd1 For This Post:
# 9  
Old 03-17-2011
Quote:
Originally Posted by zxmaus
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 ?

Regards
zxmaus
That's exactly what I'll do, I'll reduce the size of /home as it's huge.

Two things I don't understand though:
1. I deleted a huge 20G SAVSYS from /var/vio/VMLibrary but it didn't free up any PPs on either physical disk. Would I have to delete files then reduce the filesystem using chfs before I see any free PPs?
2. If /var/vio/VMLibrary isn't mirrored how does it appear on both physical disks?

Cheers

Craig

Last edited by broonster; 03-17-2011 at 05:10 PM..
# 10  
Old 03-17-2011
Quote:
Originally Posted by broonster
That's exactly what I'll do, I'll reduce the size of /home as it's huge.

Two things I don't understand though:
1. I deleted a huge 20G SAVSYS from /var/vio/VMLibrary but it didn't free up any PPs on either physical disk. Would I have to delete files then reduce the filesystem using chfs before I see any free PPs?
2. If /var/vio/VMLibrary isn't mirrored how does it appear on both physical disks?

Cheers

Craig
When you delete any files on the FS level, the LV/VG below does not know about it. Reduce the FS with chfs -a size=-1G or from "smit fs".

/var/vio/VMLibrary -> When that FS is mirrored, it should show "n" PPs in lsvg -l and n x 2 LPs. This doesn't meant that it is properly mirrored, but it is mirrored. Since you have just 2 disks the chance that it is correctly mirrored is pretty high Smilie
# 11  
Old 03-17-2011
Quote:
Originally Posted by juredd1
On your VIO Server type
Code:
oem_setup_env

You should get a # prompt.

This will put into more of a AIX compatible mode where you can run most of the normal AIX commands that zxmaus mentioned.

---------- Post updated at 11:00 PM ---------- Previous update was at 10:55 PM ----------

It looked to me like lg_dumplv is on hdisk0 and is not mirrored. You could move that lv from hdisk0 to hdisk1 with the command below after running the oem command mentioned above.

Code:
migratepv -l lvname hdisk0 hdisk1

That would fee up about 1Gig on hdisk0.

I don't mean to butt in on this to much just throughing some other thoughts out there.

Did that also. Thanks for you help.
# 12  
Old 03-17-2011
How much were you trying to expand "/usr" by? From your original post, you have almost 77 GB free!
Code:
FREE PPs:       301 (77056 megabytes)

My /usr filesystem is only about 6 GB and I'm on the lastest version of VIO.
Code:
vio1:/home/padmin:# ioslevel
2.2.0.11-FP-24 SP-01
vio1:/home/padmin:# df -Im /usr
Filesystem    MB blocks      Used      Free %Used Mounted on
/dev/hd2        6144.00   4510.93   1633.07   74% /usr
vioe1:/home/padmin:#

# 13  
Old 03-17-2011
Quote:
Originally Posted by kah00na
How much were you trying to expand "/usr" by? From your original post, you have almost 77 GB free!
Code:
FREE PPs:       301 (77056 megabytes)

My /usr filesystem is only about 6 GB and I'm on the lastest version of VIO.
Code:
vio1:/home/padmin:# ioslevel
2.2.0.11-FP-24 SP-01
vio1:/home/padmin:# df -Im /usr
Filesystem    MB blocks      Used      Free %Used Mounted on
/dev/hd2        6144.00   4510.93   1633.07   74% /usr
vioe1:/home/padmin:#


From memory, I think I need about another 2.5 GB.
# 14  
Old 03-17-2011
After logging in as "padmin" and then running "oem_setup_env", did you run this and it failed?:
Code:
chfs -a size=+2560MB /usr

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Memory allocation problem

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)
Discussion started by: Abhishek_kumar
2 Replies

2. Solaris

Block-based allocation and Extent-based allocation in Solaris

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)
Discussion started by: arah
0 Replies

3. Solaris

MountPoint / is 8% with 899.49MB free crossing threshold of 10% free

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)
Discussion started by: sriniva0
3 Replies

4. Programming

dynamic allocation vs static allocation in c

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)
Discussion started by: lucasclaus
4 Replies

5. Programming

Is there a problem with the memory allocation???

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)
Discussion started by: vigneshinbox
1 Replies

6. Programming

Memory allocation problem

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)
Discussion started by: vigneshinbox
1 Replies

7. SCO

Terminal Allocation Problem

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)
Discussion started by: Awadhesh
5 Replies
Login or Register to Ask a Question

Featured Tech Videos