Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Increasing size of a LV -- repercussions? 1

Status
Not open for further replies.

dozier

MIS
Apr 17, 2001
88
US

hello all.

AIX newbie here and have a question. i have an active, mounted filesystem for our Oracle install. i need to increase the size of the LV, and i see in smit where to do this, but i don't know if i can do this on the fly (without shutting down Oracle, unmounting the filesystem, etc) or even if the data in the filesystem will be preserved. there are additional PPs available to increase the size, just need to know the proper steps (umounting filesystem, backing up data, etc).

thanks.
 
Filesystem extension "on the fly" has been available since AIX 3.1 so you should be OK on that.

Note that you don't use extendlv to increase the size of the filesystem that resides on the LV. [This just buys you more land, but you haven't moved your fence... ;-)]

Just use:

[tt]chfs -asize=+X /file/system/name[/tt]

It will extend the underlying LV for you.
Of course there are reasons to do the extendlv manually (e.g. when you want to use a map file to place the extension exactly where you want on the disk(s) - especially useful with mirrored LVs)

On a recent AIX, the X (in [tt]-asize=+X[/tt]) can be a number (X 512byte blocks) a numberK (X KB) a numberM (X MB) or a numberG (X GB)

See the man page for chfs.


HTH,

p5wizard
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top