The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Expanding the root area on SCO 5.07? pschnell SCO 2 10-10-2008 07:00 PM
Expanding shell variable lonar Shell Programming and Scripting 2 06-27-2008 12:08 PM
expanding standard terminal size prkfriryce Shell Programming and Scripting 6 11-14-2006 01:38 PM
Expanding Variables in User Input Bsk UNIX for Advanced & Expert Users 2 11-18-2005 10:45 AM
tar expanding trouble TAT2ME74 UNIX for Dummies Questions & Answers 4 08-26-2002 11:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-16-2008
manoj.solaris manoj.solaris is offline
Registered User
  
 

Join Date: May 2007
Posts: 93
Question expanding the size of vg

Hi,

I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb,

I am having following queries.


1)wheather i have to umount that partition on aix side before increasing the size of lun on storage side or directly I can increase directly size of lun storage side


2)wheather i have use any other command along with extendvg
  #2 (permalink)  
Old 10-16-2008
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,641
Quote:
Originally Posted by manoj.solaris View Post
I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb,
You can do so with certain SAN subsystems, but not all. IIRC DS8xxx models can do that but (older?) DS4xxx models can't.


Quote:
1)wheather i have to umount that partition on aix side before increasing the size of lun on storage side or directly I can increase directly size of lun storage side
No LUN is "mounted", because a LUN is neither a FS nor does it resemble one. A LUN is analogous to a (physical) disk. Physical disks (PVs) are merged into volume groups (VGs) on which logical volumes (LVs) are created on which in turn filesystems (FSs) could be created. Only these filesystems are mounted, not the other logical entities.

(Sorry for maybe being overly exact, i have seen people not being able to grasp the differences mentioned above and for that reason not being able to use LVM correctly.)

If you mean to "varyoff" the VG during the change: no, this is not necessary. Either the SAN subsystem can do dynamic changes of LUNs, then you can do it during uptimes or the SAN subsystem can't do that, then you will have to create a new (bigger) LUN, add it to the VG (extendvg) , move the LVs to the new LUN (migratepv), get the old LUN out of the VG (reducevg) and delete it. It might be sensible to do that during downtime because of performance degradation (depends on your system and what it does), but it is not necessary.

Quote:
2)wheather i have use any other command along with extendvg
See above, that depends on what your subsystem supports and how a possible degradation of disk performance may interfere with the goals of your installation. Only you can take this decision, because you know your system best.

I hope this helps.

bakunin
  #3 (permalink)  
Old 10-17-2008
ravager's Avatar
ravager ravager is offline
Registered User
  
 

Join Date: Sep 2005
Posts: 128
I would like to add the if you have SVC (IBM SAN Volume Controller ) disks can actually be extended to a bigger size while the system is running.
cfgmgr
bootinfo -s hdiskxx ( this will now be bigger )
You can then just change the size of the PV for LVM by running
chvg -g yourvg
then
chfs -a size=+xxx /yourfilesystem
Closed Thread

Bookmarks

Tags
lvm, san

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:12 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0