Sponsored Content
Full Discussion: Free PP Allocation problem
Operating Systems AIX Free PP Allocation problem Post 302505406 by broonster on Wednesday 16th of March 2011 10:56:46 PM
Old 03-16-2011
Code:
$ lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  0007f6fa0000d4000000012667f326b5
VG STATE:           active                   PP SIZE:        256 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      1092 (279552 megabytes)
MAX LVs:            256                      FREE PPs:       301 (77056 megabytes)
LVs:                16                       USED PPs:       791 (202496 megabytes)
OPEN LVs:           14                       QUORUM:         1 (Disabled)
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): 1024 kilobyte(s)         AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable


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?

Code:
$ lsvg -map rootvg
PHYSICAL        LOGICAL
rootvg
hdisk0:1        hd5:1:1
hdisk0:111      hd6:1:1
hdisk0:112      hd6:2:1
hdisk0:113      livedump:1:1
hdisk0:114      lg_dumplv:1
hdisk0:115      lg_dumplv:2
hdisk0:116      lg_dumplv:3
hdisk0:117      lg_dumplv:4
hdisk0:118      fwdump:1:1
hdisk0:119      fwdump:2:1
hdisk0:120      fwdump:3:1
hdisk0:220      paging00:1:1
hdisk0:221      paging00:2:1
hdisk0:222      paging00:3:1
hdisk0:223      paging00:4:1
hdisk0:224      hd8:1:1
hdisk0:225      hd4:1:1
hdisk0:226      hd2:1:1
hdisk0:227      hd2:2:1
hdisk0:228      hd2:3:1
hdisk0:229      hd2:4:1
hdisk0:230      hd2:5:1
hdisk0:231      hd2:6:1
hdisk0:232      hd2:7:1
hdisk0:233      hd2:8:1
hdisk0:234      hd2:9:1
hdisk0:235      hd2:10:1
hdisk0:236      hd2:11:1
hdisk0:237      hd2:12:1
hdisk0:238      hd2:13:1
hdisk0:239      hd9var:1:1
hdisk0:240      hd9var:2:1
hdisk0:241      hd9var:3:1
hdisk0:242      hd3:1:1
hdisk0:243      hd3:2:1
hdisk0:244      hd3:3:1
hdisk0:245      hd3:4:1
hdisk0:246      hd3:5:1
hdisk0:247      hd3:6:1
hdisk0:248      hd3:7:1
hdisk0:249      hd3:8:1
hdisk0:250      hd3:9:1
hdisk0:251      hd3:10:1
hdisk0:252      hd3:11:1
hdisk0:253      hd3:12:1
hdisk0:254      hd3:13:1
hdisk0:255      hd3:14:1
hdisk0:256      hd1:1:1
hdisk0:257      hd1:2:1
hdisk0:258      hd1:3:1
hdisk0:259      hd1:4:1
hdisk0:260      hd1:5:1
hdisk0:261      hd1:6:1
hdisk0:262      hd1:7:1
hdisk0:263      hd1:8:1
hdisk0:264      hd1:9:1
hdisk0:265      hd1:10:1
hdisk0:266      hd1:11:1
hdisk0:267      hd1:12:1
hdisk0:268      hd1:13:1
hdisk0:269      hd1:14:1
hdisk0:270      hd1:15:1
hdisk0:271      hd1:16:1
hdisk0:272      hd1:17:1
hdisk0:273      hd1:18:1
hdisk0:274      hd1:19:1
hdisk0:275      hd1:20:1
hdisk0:276      hd1:21:1
hdisk0:277      hd1:22:1
hdisk0:278      hd1:23:1
hdisk0:279      hd1:24:1
hdisk0:280      hd1:25:1
hdisk0:281      hd1:26:1
hdisk0:282      hd1:27:1
hdisk0:283      hd1:28:1
hdisk0:284      hd1:29:1
hdisk0:285      hd1:30:1
hdisk0:286      hd1:31:1
hdisk0:287      hd1:32:1
hdisk0:288      hd1:33:1
hdisk0:289      hd1:34:1
hdisk0:290      hd1:35:1
hdisk0:291      hd1:36:1
hdisk0:292      hd1:37:1
hdisk0:293      hd1:38:1
hdisk0:294      hd1:39:1
hdisk0:295      hd1:40:1
hdisk0:296      hd10opt:1:1
hdisk0:297      hd10opt:2:1
hdisk0:298      hd10opt:3:1
hdisk0:299      hd10opt:4:1
hdisk0:300      hd10opt:5:1
hdisk0:301      hd11admin:1:1
hdisk0:302      hd2:14:1
hdisk0:303      hd10opt:6:1
hdisk0:304      hd10opt:7:1
hdisk0:305      hd10opt:8:1
hdisk1:1        hd5:1:2
hdisk1:2-84
hdisk1:111      hd6:1:2
hdisk1:112      hd6:2:2
hdisk1:113      livedump:1:2
hdisk1:114      fwdump:1:2
hdisk1:115      fwdump:2:2
hdisk1:116      fwdump:3:2
hdisk1:117      loglv00:1
hdisk1:220      paging00:1:2
hdisk1:221      paging00:2:2
hdisk1:222      paging00:3:2
hdisk1:223      paging00:4:2
hdisk1:224      hd8:1:2
hdisk1:225      hd4:1:2
hdisk1:226      hd2:1:2
hdisk1:227      hd2:2:2
hdisk1:228      hd2:3:2
hdisk1:229      hd2:4:2
hdisk1:230      hd2:5:2
hdisk1:231      hd2:6:2
hdisk1:232      hd2:7:2
hdisk1:233      hd2:8:2
hdisk1:234      hd2:9:2
hdisk1:235      hd2:10:2
hdisk1:236      hd2:11:2
hdisk1:237      hd2:12:2
hdisk1:238      hd2:13:2
hdisk1:239      hd2:14:2
hdisk1:240      hd9var:1:2
hdisk1:241      hd9var:2:2
hdisk1:242      hd9var:3:2
hdisk1:243      hd3:1:2
hdisk1:244      hd3:2:2
hdisk1:245      hd3:3:2
hdisk1:246      hd3:4:2
hdisk1:247      hd3:5:2
hdisk1:248      hd3:6:2
hdisk1:249      hd3:7:2
hdisk1:250      hd3:8:2
hdisk1:251      hd3:9:2
hdisk1:252      hd3:10:2
hdisk1:253      hd3:11:2
hdisk1:254      hd3:12:2
hdisk1:255      hd3:13:2
hdisk1:256      hd3:14:2
hdisk1:257      hd1:1:2
hdisk1:258      hd1:2:2
hdisk1:259      hd1:3:2
hdisk1:260      hd1:4:2
hdisk1:261      hd1:5:2
hdisk1:262      hd1:6:2
hdisk1:263      hd1:7:2
hdisk1:264      hd1:8:2
hdisk1:265      hd1:9:2
hdisk1:266      hd1:10:2
hdisk1:267      hd1:11:2
hdisk1:268      hd1:12:2
hdisk1:269      hd1:13:2
hdisk1:270      hd1:14:2
hdisk1:271      hd1:15:2
hdisk1:272      hd1:16:2
hdisk1:273      hd1:17:2
hdisk1:274      hd1:18:2
hdisk1:275      hd1:19:2
hdisk1:276      hd1:20:2
hdisk1:277      hd1:21:2
hdisk1:278      hd1:22:2
hdisk1:279      hd1:23:2
hdisk1:280      hd1:24:2
hdisk1:281      hd1:25:2
hdisk1:282      hd1:26:2
hdisk1:283      hd1:27:2
hdisk1:284      hd1:28:2
hdisk1:285      hd1:29:2
hdisk1:286      hd1:30:2
hdisk1:287      hd1:31:2
hdisk1:288      hd1:32:2
hdisk1:289      hd1:33:2
hdisk1:290      hd1:34:2
hdisk1:291      hd1:35:2
hdisk1:292      hd1:36:2
hdisk1:293      hd1:37:2
hdisk1:294      hd1:38:2
hdisk1:295      hd1:39:2
hdisk1:296      hd1:40:2
hdisk1:297      hd10opt:1:2
hdisk1:298      hd10opt:2:2
hdisk1:299      hd10opt:3:2
hdisk1:300      hd10opt:4:2
hdisk1:301      hd10opt:5:2
hdisk1:302      hd10opt:6:2
hdisk1:303      hd10opt:7:2
hdisk1:304      hd10opt:8:2
hdisk1:305      hd11admin:1:2
hdisk1:329-546

Again, I don't have -l as a valid arg for lspv but I do have -lv, is this what you are looking for?

Code:
$ lspv -pv hdisk0
hdisk0:
PP RANGE  STATE   REGION        LV NAME             TYPE       MOUNT POINT
  1-1     used    outer edge    hd5                 boot       N/A
  2-110   used    outer edge    VMLibrary           jfs2       /var/vio/VMLibrary
111-112   used    outer middle  hd6                 paging     N/A
113-113   used    outer middle  livedump            jfs2       /var/adm/ras/livedump
114-117   used    outer middle  lg_dumplv           sysdump    N/A
118-120   used    outer middle  fwdump              jfs2       /var/adm/ras/platform
121-219   used    outer middle  VMLibrary           jfs2       /var/vio/VMLibrary
220-223   used    center        paging00            paging     N/A
224-224   used    center        hd8                 jfs2log    N/A
225-225   used    center        hd4                 jfs2       /
226-238   used    center        hd2                 jfs2       /usr
239-241   used    center        hd9var              jfs2       /var
242-255   used    center        hd3                 jfs2       /tmp
256-295   used    center        hd1                 jfs2       /home
296-300   used    center        hd10opt             jfs2       /opt
301-301   used    center        hd11admin           jfs2       /admin
302-302   used    center        hd2                 jfs2       /usr
303-305   used    center        hd10opt             jfs2       /opt
306-328   used    center        VMLibrary           jfs2       /var/vio/VMLibrary
329-437   used    inner middle  VMLibrary           jfs2       /var/vio/VMLibrary
438-546   used    inner edge    VMLibrary           jfs2       /var/vio/VMLibrary

Code:
$ lspv -pv hdisk1
hdisk1:
PP RANGE  STATE   REGION        LV NAME             TYPE       MOUNT POINT
  1-1     used    outer edge    hd5                 boot       N/A
  2-84    free    outer edge
 85-110   used    outer edge    VMLibrary           jfs2       /var/vio/VMLibrary
111-112   used    outer middle  hd6                 paging     N/A
113-113   used    outer middle  livedump            jfs2       /var/adm/ras/livedump
114-116   used    outer middle  fwdump              jfs2       /var/adm/ras/platform
117-117   used    outer middle  loglv00             jfslog     N/A
118-219   used    outer middle  VMLibrary           jfs2       /var/vio/VMLibrary
220-223   used    center        paging00            paging     N/A
224-224   used    center        hd8                 jfs2log    N/A
225-225   used    center        hd4                 jfs2       /
226-239   used    center        hd2                 jfs2       /usr
240-242   used    center        hd9var              jfs2       /var
243-256   used    center        hd3                 jfs2       /tmp
257-296   used    center        hd1                 jfs2       /home
297-304   used    center        hd10opt             jfs2       /opt
305-305   used    center        hd11admin           jfs2       /admin
306-328   used    center        VMLibrary           jfs2       /var/vio/VMLibrary
329-437   free    inner middle
438-546   free    inner edge

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.
 

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
All times are GMT -4. The time now is 09:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy