1834814 Members
2712 Online
110070 Solutions
New Discussion

Re: filesystem

 
SOLVED
Go to solution
Mark Huff II
Frequent Advisor

filesystem


I have increased my LV using lvextend to 1.2TB.
And it seems as though bdf nor SAM's filesystem section are registering the new size of the LV...SAM(Logical Volume Section) as well as lvdisplay show the correct size.

???? Please advise ????
He who fails to plan, plans to fail.
8 REPLIES 8
Donald Kok
Respected Contributor
Solution

Re: filesystem

you also have to extend the filesystem by the extendfs program. use man extendfs.
My systems are 100% Murphy Compliant. Guaranteed!!!
Joaquin Gil de Vergara
Respected Contributor

Re: filesystem

if you haven't online jfs umount the lvol

# umount /
and extend the file system. lvextend only extends the lvols
#extendfs /dev/vgxx/lvolyy

if you have online jfs you can do without umount

# fsadm -b /






Teach is the best way to learn
Mark Huff II
Frequent Advisor

Re: filesystem


This is the only LV on the filesystem. Should I still run "extendfs /dev/vg_xp_img_data/lv_xp_imageData"
even though it is already apart of this filesystem?
He who fails to plan, plans to fail.
Trond Haugen
Honored Contributor

Re: filesystem

You have only extend3d the logical volume on which the filesystem resides. As bdf only shows the filesystem usage, nothing is changed.
You will have to extend the filesystem too. If you have AdvVxfs this is done with fsadm on the mount point. If you don't hav advVxfs you will have to umount the filesystem and use extendfs.

Regards,
Trond
Regards,
Trond Haugen
LinkedIn
Joaquin Gil de Vergara
Respected Contributor

Re: filesystem

if you haven't online jfs umount the lvol

# umount /
and extend the file system. lvextend only extends the lvols
#extendfs /dev/vgxx/lvolyy

if you want on line jfs you can do without umount

# fsadm -b /






Teach is the best way to learn
James R. Ferguson
Acclaimed Contributor

Re: filesystem

Hi:

You expanded the logical volume but not the filesystem that resides "within". You need to either do an 'extendfs' or a 'fsadm' to enlarge the filesystem.

If you have Online JFS, use 'fsadm' to increase the filesystem size. If you do not have Online JFS (or the filesystem is an HFS one) you must unmount it first, and use 'extendfs' to enlarge it.

These actions can be done through SAM or at the command line.

Regards!

...JRF...
Donald Kok
Respected Contributor

Re: filesystem

Hi Mark,
You can only have one filesystem on a logical volume.
Greetzz
Donald
My systems are 100% Murphy Compliant. Guaranteed!!!
Mark Huff II
Frequent Advisor

Re: filesystem


Thanks guys!!!

I have always been use to SAM taking care of all these other issues..:)

He who fails to plan, plans to fail.