Dears my rootvg is missed up i can not extend the /opt
as soon as i try to extend the Filesystem its give me that there is not enough space .
as there any way to change the REGION of the LVs in HDISK1 ?
lspv -p hdisk0
hdisk0:
PP RANGE STATE REGION LV NAME TYPE MOUNT POINT
1-1 used outer edge hd5 boot N/A
2-110 free outer edge
111-114 used outer middle hd6 paging N/A
115-116 used outer middle livedump jfs2 /var/adm/ras/livedump
117-124 used outer middle lg_dumplv sysdump N/A
125-130 used outer middle paging00 paging N/A
131-136 used outer middle hd6 paging N/A
137-217 free outer middle
218-219 used outer middle hd2 jfs2 /usr
220-220 used center hd8 jfs2log N/A
221-222 used center hd4 jfs2 /
223-237 used center hd2 jfs2 /usr
238-240 used center hd9var jfs2 /var
241-241 used center hd3 jfs2 /tmp
242-242 used center hd1 jfs2 /home
243-245 used center hd10opt jfs2 /opt
246-246 used center hd11admin jfs2 /admin
247-259 used center hd10opt jfs2 /opt
260-265 used center hd4 jfs2 /
266-266 used center hd2 jfs2 /usr
267-279 used center hd9var jfs2 /var
280-284 used center hd2 jfs2 /usr
285-285 used center hd3 jfs2 /tmp
286-286 used center hd2 jfs2 /usr
287-317 used center hd1 jfs2 /home
318-328 used center paging00 paging N/A
329-425 free inner middle
426-430 used inner middle hd6 paging N/A
431-437 free inner middle
438-535 free inner edge
536-546 used inner edge paging01 paging N/A
lspv -p hdisk1
hdisk0:
PP RANGE STATE REGION LV NAME TYPE MOUNT POINT
1-1 used outer edge hd5 boot N/A
2-2 used outer edge hd8 jfs2log N/A
3-110 free outer edge
111-130 used outer middle hd6 paging N/A
131-147 used outer middle hd9var jfs2 /var
148-219 free outer middle
220-245 used center hd2 jfs2 /usr
246-252 used center hd1 jfs2 /home
253-255 used center hd3 jfs2 /tmp
256-270 used center hd10opt jfs2 /opt
271-328 free center
329-337 used inner middle hd4 jfs2 /
338-437 free inner middle
438-440 used inner edge livedump jfs2 /var/adm/ras/livedump
441-448 used inner edge lg_dumplv sysdump N/A
449-449 used inner edge hd11admin jfs2 /admin
450-546 free inner edge
The command lspv hdiskX will tell you how much free space is available on a volume. Look for FREE PP .
If that is 0 (or otherwise less than you want to grow a filesystem) you need to add a volume, or use # chfs -a size=-XXXM /somefs_in_vg to free space from where too much has been given!
Hope this helps you further.
migratepv and/or chlv to change region assignment, followed by reorgvg (read man pages) will help minimize potential performance issues from fragmented logical partitions.
see this i can unmirror rootvg but i can not reduce it from the rootvg
/tmp>lspv | grep rootvg
hdisk0 00c759904bc3798c rootvg active
hdisk1 00c759904bc379e1 rootvg active
/tmp>unmirrorvg rootvg
/tmp>reducevg -d rootvg hdisk1
0516-1782 reducevg: Physical volume hdisk1 is not part of volume group
rootvg.
0516-884 reducevg: Unable to remove physical volume hdisk1.
First off: we have "CODE"-tags and "PHP"-tags. Please use "CODE"-tags for terminal output and data, not "PHP"-tags, because the latter are expecting PHP-code inside, which you are not posting. The button to add "CODE"-tags is labeled "CODE", the button for PHP-tags is labeled "PHP. This should make it possible to discern one from the other with finite effort. Thanks.
It might be that the information in your ODM is somehow corrupted (this happens sometime). Try to correct this by using the "synclvodm" command and "cfgmgr". You can even dump the contents of the ODM by using the "odmget" command. See the man pages of the respective commands for details.
This might help, but is not guaranteed to work. When the system restarts it runs "cfgmgr" in mode 1, which isn't possible at any other time. This might correct any inconsistencies in the ODM if this is indeed the cause - it was just a guess of mine, although the most probable reason for the behavior you describe.
If it doesn't work and the problem is indeed the ODM you might need to correct it otherwise. Take a "mksysb" backup and restore it to another - identic - system to a fresh disk, then try to boot from this disk. (You have not told us so far, but i am assuming this is an ordinary LPAR, nothing anything fancy?)
i have issue the command synclvodm and it shows that its updated all the LVS for rootvg after that i issue cfgmgr and i try to extend any mount point under rootvg still i can not and its show there is no space . but i an sure 1005 that i have space .
The VGDA is what is the truth in matters like this. Please run the command
# lqueryvg -p hdiskX
for both hdisk1 and hdisk0
The output will look something like this:
# lqueryvg -p hdisk1 -At
Max LVs: 256
PP Size: 24
Free PPs: 783
LV count: 15
PV count: 1
Total VGDAs: 2
Conc Allowed: 0
MAX PPs per PV: 5080
MAX PVs: 6
Quorum (disk): 1
Quorum (dd): 1
Auto Varyon ?: 1
Conc Autovaryon 0
Varied on Conc: 0
Logical: 005d858f00004c0000000115722f3acc.1 lvHtdocs 1
005d858f00004c0000000115722f3acc.2 lvSQL 1
005d858f00004c0000000115722f3acc.3 lvUser 1
005d858f00004c0000000115722f3acc.4 lgData 1
005d858f00004c0000000115722f3acc.5 lvPrj 1
005d858f00004c0000000115722f3acc.6 lvLocal 1
005d858f00004c0000000115722f3acc.7 lvSuma 1
005d858f00004c0000000115722f3acc.8 lvTools 1
005d858f00004c0000000115722f3acc.9 fslv00 1
005d858f00004c0000000115722f3acc.10 lvLogs 1
005d858f00004c0000000115722f3acc.11 lvRvg 1
005d858f00004c0000000115722f3acc.12 fslv01 1
005d858f00004c0000000115722f3acc.13 fslv02 1
005d858f00004c0000000115722f3acc.14 fslv03 1
005d858f00004c0000000115722f3acc.15 lvDAV 1
Physical: 00cbe32e3ea9f4d2 2 0
Total PPs: 4375
LTG size: 128
HOT SPARE: 0
AUTO SYNC: 0
VG PERMISSION: 0
SNAPSHOT VG: 0
IS_PRIMARY VG: 0
PSNFSTPP: 4352
VARYON MODE: 0
VG Type: 0
Max PPs: 32512
Mirror Pool Str n
Sys Mgt Mode: 0
VG Reserved: 1
PV RESTRICTION: 0
Infinite Retry: 2