Sponsored Content
Full Discussion: Free PP Allocation problem
Operating Systems AIX Free PP Allocation problem Post 302505766 by broonster on Thursday 17th of March 2011 05:14:07 PM
Old 03-17-2011
Quote:
Originally Posted by koschi
/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
But from my lsvg I can see that the PPs are not double the LPs for /var/vio/VMLibrary. Does that not mean the filesystem isn't mirrored?

Also on looking at the below output I can see the distribution of LPs and PPs. If I reduce the size of /var/vio/VMLibrary using chfs will it always take PPs and LPs from hdisk1 until there are no longer any more LPs and PPs and then move to hdisk0 or can I force chfs to remove PPs and LPs from hdsik0?


Code:
# lspv -l hdisk0
hdisk0:
LV NAME               LPs     PPs     DISTRIBUTION          MOUNT POINT
VMLibrary             449     449     109..99..23..109..109 /var/vio/VMLibrary
hd10opt               8       8       00..00..08..00..00    /opt
hd11admin             1       1       00..00..01..00..00    /admin
fwdump                3       3       00..03..00..00..00    /var/adm/ras/platform
livedump              1       1       00..01..00..00..00    /var/adm/ras/livedump
hd9var                3       3       00..00..03..00..00    /var
hd3                   14      14      00..00..14..00..00    /tmp
hd1                   32      32      00..00..32..00..00    /home
paging00              4       4       00..00..04..00..00    N/A
hd8                   1       1       00..00..01..00..00    N/A
hd4                   1       1       00..00..01..00..00    /
hd2                   26      26      00..04..22..00..00    /usr
hd5                   1       1       01..00..00..00..00    N/A
hd6                   2       2       00..02..00..00..00    N/A
# lspv -l hdisk1
hdisk1:
LV NAME               LPs     PPs     DISTRIBUTION          MOUNT POINT
VMLibrary             147     147     22..102..23..00..00   /var/vio/VMLibrary
hd10opt               8       8       00..00..08..00..00    /opt
hd11admin             1       1       00..00..01..00..00    /admin
fwdump                3       3       00..03..00..00..00    /var/adm/ras/platform
loglv00               1       1       00..01..00..00..00    N/A
livedump              1       1       00..01..00..00..00    /var/adm/ras/livedump
lg_dumplv             4       4       04..00..00..00..00    N/A
hd9var                3       3       00..00..03..00..00    /var
hd3                   14      14      00..00..14..00..00    /tmp
hd1                   32      32      00..00..32..00..00    /home
paging00              4       4       00..00..04..00..00    N/A
hd8                   1       1       00..00..01..00..00    N/A
hd4                   1       1       00..00..01..00..00    /
hd2                   26      26      00..00..22..04..00    /usr
hd5                   1       1       01..00..00..00..00    N/A
hd6                   2       2       00..02..00..00..00    N/A

 

7 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

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. 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

6. 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

7. 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
utmpx(4)							   File Formats 							  utmpx(4)

NAME
utmpx, wtmpx - utmpx and wtmpx database entry formats SYNOPSIS
#include <utmpx.h> /var/adm/utmpx /var/adm/wtmpx DESCRIPTION
The utmpx and wtmpx files are extended database files that have superseded the obsolete utmp and wtmp database files. The utmpx database contains user access and accounting information for commands such as who(1), write(1), and login(1). The wtmpx database contains the history of user access and accounting information for the utmpx database. USAGE
Applications should not access these databases directly, but should use the functions described on the getutxent(3C) manual page to inter- act with the utmpx and wtmpx databases to ensure that they are maintained consistently. FILES
/var/adm/utmpx user access and adminstration information /var/adm/wtmpx history of user access and adminstrative information SEE ALSO
getutxent(3C), wait(3C)wait.h(3HEAD) SunOS 5.10 22 Feb 1999 utmpx(4)
All times are GMT -4. The time now is 05:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy