Change lv REGION in HDISK1


 
Thread Tools Search this Thread
Operating Systems AIX Change lv REGION in HDISK1
# 1  
Old 01-16-2013
Change lv REGION in HDISK1

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 ?

PHP Code:
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/
PHP Code:
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 
# 2  
Old 01-16-2013
Changing the region will not give you more space, so most likely your problem will not change at all.

You can move the PPs used by a LV with the "migratepv" command. See the man page for details.

I hope this helps.

bakunin
# 3  
Old 01-17-2013
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.
# 4  
Old 01-17-2013
see this i can unmirror rootvg but i can not reduce it from the rootvg

PHP Code:
/tmp>lspv grep rootvg
hdisk0 00c759904bc3798c rootvg active
hdisk1 00c759904bc379e1 rootvg active
/tmp>unmirrorvg rootvg
/tmp>reducevg -d rootvg hdisk1
0516
-1782 reducevgPhysical volume hdisk1 is not part of volume group
rootvg
.
0516-884 reducevgUnable to remove physical volume hdisk1
# 5  
Old 01-17-2013
Quote:
Originally Posted by thecobra151
see this i can unmirror rootvg but i can not reduce it from the rootvg
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.

I hope this helps.

bakunin
# 6  
Old 01-17-2013
Quote:
Originally Posted by bakunin
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.

I hope this helps.

bakunin
sorry for PHP code

my friend is restarting the system in this case can be a sloution becouse i can not extend any mount point under rootvg
# 7  
Old 01-17-2013
Quote:
Originally Posted by thecobra151
my friend is restarting the system in this case can be a sloution
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 hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Help with replacing hdisk1

Hello, I have a P-series running AIX 5.3 and hdisk1 is failing. hdisk0 and hdisk1 are mirrored rootvg. My question is, I have an expansion cabinet that has two disks in it that I believe have never been used. I want to replace hdisk1 with one of the unused disks. (hdisk36 or hdisk37) ... (1 Reply)
Discussion started by: DanCampbell
1 Replies

2. UNIX for Dummies Questions & Answers

Mean score value by ID over a defined genomic region

Hi, I would like to know how can I get a mean score value by ID over a defined genomic region. Here it is an example: file1 12 100 103 id1 12 110 112 id1 12 200 203 id2 file2 12 100 101 1 12 101 102 0.8 12 102 103 0.7 12 110 111 2.5 12 111 112 2.8 12 200 201 10.1 12 201 202... (7 Replies)
Discussion started by: fadista
7 Replies

3. Programming

Merge two strings by overlapped region

Hello, I am trying to concatenate two strings by merging the overlapped region. E.g. Seq1=ACGTGCCC Seq2=CCCCCGTGTGTGT Seq_merged=ACGTGCCCCCGTGTGTGTFunction strcat(char *dest, char *src) appends the src string to the dest string, ignoring the overlapped parts (prefix of src and suffix of dest).... (30 Replies)
Discussion started by: yifangt
30 Replies

4. Shell Programming and Scripting

Need a command to change the port region

portsuf=25 port=20925 I need to replace 09 with 25 It should be like 22525. Can some please help with command or script. (4 Replies)
Discussion started by: bhas85
4 Replies

5. Shell Programming and Scripting

Region between lines

How can I find the regions between specific lines? I have a file which contains lines like this: chr1 0 17388 0 chr1 17388 17444 1 chr1 17444 17599 2 chr1 17599 17601 1 chr1 17601 569791 0 chr1 569791 569795 1 chr1 569795 569808 2 chr1 569808 569890 3 chr1 569890 570047 4 ... (9 Replies)
Discussion started by: linseyr
9 Replies

6. Programming

Single semare critical region problem???

Hi guys, I hope everybody is doing fine. I have written this small program which solves the critical region problem. Only on of the two threads can make changes to a common variable called counter. I am using two semaphores, is it possible to write the same program using only one semaphore? Here... (0 Replies)
Discussion started by: gabam
0 Replies

7. UNIX for Advanced & Expert Users

Best practice - determining what region you are on

Hello all, I have a question about what you think the best practice is to determine what region you are running on when you have a system setup with a DEV/TEST, QA, and PROD regions running the same scripts in all. So, when you run in DEV, you have a different directory structure, and you... (4 Replies)
Discussion started by: Rediranch
4 Replies

8. Solaris

How can i take private region backup in veritas

Hello experts, I am using Veritas Volume Manager 5.0. How can i take private region backup and restoration. thanks in advance... (3 Replies)
Discussion started by: younus_syed
3 Replies

9. AIX

AIX - create folder in hdisk1 instead

Dear All, I have two h.disks. Please advice for how to create a new folder/directory in hdisk1 instead of the hdisk0? I need to use the folder to store for xmlfiles for my application accessing to read it. Thank a lots. Best Regards, Tom (3 Replies)
Discussion started by: lwy2020
3 Replies

10. UNIX for Advanced & Expert Users

stack region

how can i determine that what percentage of stack region is currently is used? (i am using tru64 unix) (2 Replies)
Discussion started by: yakari
2 Replies
Login or Register to Ask a Question