1828252 Members
3531 Online
109975 Solutions
New Discussion

extending filesystem

 
Musa I. S.
Frequent Advisor

extending filesystem

Please view attached doc. I want to add the space of oradata3 to oradata2?
5 REPLIES 5
candlejack
Advisor

Re: extending filesystem

Hi,

Please post output to the following command:

/sbin/vgdisplay /dev/vx/dsk/vgoradata2/oradata2

There might be some space you haven't utilized.
"The future starts today, not tomorrow." -Pope John Paul II
TTr
Honored Contributor

Re: extending filesystem

Musa I. S. > /dev/vx/dsk/vgoradata3/oradata3

This looks like VxVM to me. Yet the disk group starts with "vg".

There is very little data in oradata3, if you can move it, (you have to involve the DBA) you can then umount oradata3 and delete the volume and extend the oradata2 volume.

On another thought you could move some of the oracle datafiles (DBA work) from oradata2 to oradata3.
Steven E. Protter
Exalted Contributor

Re: extending filesystem

Shalom,

This looks like vxvm. If so, please ignore.

But if its lvm

lvextend -L

umount the filesystem

extendfs

If you have Online JFS you can use fsadm to skip the last two steps above.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sp4admin
Trusted Contributor

Re: extending filesystem

Hello,

Please use Online JFS if you have this product. If not then do a lvextend and umount the file system and the do extenfs. This works only for LVM structure.

sp,
Sajjad Sahir
Honored Contributor

Re: extending filesystem

musa

if u want to extend a file system first u have to extend a logical volume
if u have space in volume group
u can extend logical volume
otherwise first u have to extend volume group by adding new disk
consider u have space in volume group
then
extend logical volum
extend file system
if u don't have online jfs
u have umount the file system
then extend it
if u have online jfs
no need to umount
u can use fsadm command for extending
otherwise(no online jfs)
use extendfs command for extending
syntax is mentioned above threads.

thanks
Sajjad