1833262 Members
2827 Online
110051 Solutions
New Discussion

Re: Filesystem extension

 
SOLVED
Go to solution
Musa I. S.
Frequent Advisor

Filesystem extension

Hello,

I noticed some of my filesystems have reached 98%. how do i extend?

find attached bdf output.

5 REPLIES 5
Pete Randall
Outstanding Contributor

Re: Filesystem extension

The EXAMPLES in the lvextend man page offer good guidance:

Increase the size of a file system existing on a logical volume:

First, increase the size of the logical volume.

lvextend -L 400 /dev/vg06/lvol3

Unmount the file system.

umount /dev/vg06/lvol3

Extend the file system to occupy the entire (larger) logical volume.

extendfs /dev/vg06/rlvol3

Remount the file system.

mount /dev/vg06/lvol3 /mnt


Pete

Pete
Pete Randall
Outstanding Contributor

Re: Filesystem extension

Oops! It looks like you're using VxVM rather than LVM, so you'll need to look into the VxVM equivalent commands.


Pete

Pete
Robert-Jan Goossens
Honored Contributor
Solution

Re: Filesystem extension

Hi,

Just an example.

/dev/vx/dsk/vgoradata1/oradata1
102400000 100349744 1922183 98% /oradata1


# vxresize -F vxfs -g vgoradata1 oradata1 +10g
will add 10GB to oradata1 filsystem

Regards,
Robert-Jan
Sajjad Sahir
Honored Contributor

Re: Filesystem extension

Dear Musa
Salam

first u have to identify u have online jfs or not
for that purpose do swlist -l product | grep -i jfs
if online jfs is in u system
u can use fsadm command

no need to umount the file system
if online jfs is not there u have to use extendfs command for extending the file system
if u have online jfs first u extend the logical volume by using lvextend command

lvextend -L then new size -n logical volume name volume group name
then
fsadm -b 10000M(example 10000MB ) /dev/vgo1/lvol9 ok no need to umount the file system(if u have online jfs)
other wise
u have to umount the file system and use extend fs(by previous posting see steps)

thanks and regards

Sajjad Sahir
Jeeshan
Honored Contributor

Re: Filesystem extension

looks like very much related thread

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1177020
a warrior never quits