1834494 Members
2935 Online
110067 Solutions
New Discussion

Extend Logical volume

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

Extend Logical volume

Hey all,

Getting ready to extend my oracle app area. Just want to make sure I've got it together.
Running 11.0 no online JFS.

My app area is
/dev/vg01/u01n 12582912 8041500 4420950 65% /u01

under /u01 I have 'app'. this is where the oracle app is installed.

I also have
/dev/vg01/u08n (oracle Database area)
and
/dev/vg01/bportal

So, I have other filesystems under vg01 that I dont want to mess up.

I need to extend /dev/vg01/u01n (the app area)
on to /dev/dsk/c4t0d1 and /dev/dsk/c4t0d2


Will I mess up the other logical volumes in vg01?

What commands should I use?
UNIX IS GOOD
6 REPLIES 6
Robert-Jan Goossens
Honored Contributor

Re: Extend Logical volume

Robert,

Could you post a bdf output ?

RJ
melvyn burnard
Honored Contributor

Re: Extend Logical volume

provided you have the required free space on those disks, then this should not affect the other logical volumes at all.
remember to unmount the relevant file system prior to doing the extendfs on it.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Nobody's Hero
Valued Contributor

Re: Extend Logical volume

bdf attached
UNIX IS GOOD
Robert-Jan Goossens
Honored Contributor
Solution

Re: Extend Logical volume

Here is what I did last week, should be about the same for you.

/dev/vg01/lvol1 /app
/dev/vg01/lvol2 /app/oracle
/dev/vg01/lvol3 /app/oracle/admin

needed to exetend /app.
stop the application
sto the oracle database

# umount /app/oracle/admin
# umount /app/oracle
# umount /app

# lvextend -L XXXX /dev/vg01/lvol1
# extendfs -F vxfs /dev/vg01/rlovl1
change the XXXX to the disered total size

# mount -a
# bdf

Just read your bdf output, umount the nfs mounts before you umount the /u01
/u01/app/ps/hrprd/pgp
/u01/app/ps/hr701/intrface/timetrx
/u01/app/ps/hr701/intrface/tax
/u01/app/ps/hr701/hrintfc
/u01/app/ps/hrprd/hrintfc

Best regards,
Robert-Jan
melvyn burnard
Honored Contributor

Re: Extend Logical volume

It appears you also have NFS mounted file systems under /u01/app/ps, so these would also have to first be unmounted prior to extending
/dev/vg01/u01n, but this still should not affect the other lvols in the vg
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Fadia Almarei
Super Advisor

Re: Extend Logical volume

Dear Robert
you can do this using sam go to

Disks and File Systems => Logical Volumes

and then choose the file sytem you want to extend and shadown it from action menu choose increase size and so you can increase the size of this file sytem to thing you want ( this acrion will unmount the file system and then mount it after you finish ).
note that the size you but will be the total size for this file system
fadia.marei