1825641 Members
3614 Online
109683 Solutions
New Discussion

extending filesystem

 
SOLVED
Go to solution
Ahmed_58
Regular Advisor

extending filesystem

Hi,
I'm having problem increasing LV, the lvextend works ok, and when i issue the "fsadm" command, the following msg display: vxfs fsadm: /dev/vgemc1/lvol2 is not the root inode of a vxfs file syteme

regards,
Ahmed
9 REPLIES 9
Joseph Loo
Honored Contributor
Solution

Re: extending filesystem

hi,

have u un-mounted that file system? cause to use fsadm with your file system mounted (online), u need OnlineJFS.

to confirm:

# swlist -l product|grep -i onlinejfs

regards.
(p.s. please remember to assign points.)
what you do not see does not mean you should not believe
Sandy Chen
Honored Contributor

Re: extending filesystem

Hi Ahmed,

For the fsadm command, you must unmount the filesystem and
on the command used "/dev/vgxx/rlvolxx"


regards,
Sandy
I never think of the future. It comes soon enough.
Adisuria Wangsadinata_1
Honored Contributor

Re: extending filesystem

Hi Ahmed,

You need to check your system first, whether you have OnlineJFS software or not :

# swlist -l fileset |grep -i onlinejfs

If you dont have the OnlineJFS software, you need to umount the file system first after you run lvextend and run the extendfs to extend the file system.

Check the document (docID : UNX1030070)below about 'How to extend OnLineJFS or Base JFS file system' for your reference :

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080063572

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Ahmed_58
Regular Advisor

Re: extending filesystem

First, thanks to all.... unfortunatly JFS not installed.

Regards,
Ahmed
Adisuria Wangsadinata_1
Honored Contributor

Re: extending filesystem

Hi Ahmed,

Since the OnlineJFS not installed on your system, you need to shutdown the application that using the file system (/dev/vgemc1/lvol2) & unmount the file system.

After that you can use 'vgextend' command. Check the man page of vgextend for details :

# man vgextend

Hope this information can help you.

Cheers,
AW

PS : dont forget to assign the points.
now working, next not working ... that's unix
Joseph Loo
Honored Contributor

Re: extending filesystem

hi,

since onlineJFS not install and u have already lvextend, do this:

# umount /dev/vgemc1/lvol2
# extendfs /dev/vgemc1/rlvol2
# mount /dev/vgemc1/lvol2

regards.
(p.s. please assign points)
what you do not see does not mean you should not believe
Cem Tugrul
Esteemed Contributor

Re: extending filesystem

Selam Ahmed,
Check the link below;

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=987297

it seems you do not have installed online JFs
so said "the lvextend works ok" and if it means you did lvextend then just need final step;
extendfs
take a man page extendfs

Good luck,


Our greatest duty in this life is to help others. And please, if you can't
Ahmed_58
Regular Advisor

Re: extending filesystem

Thanks to all, ... points been givin to all.
Ahmed
Joseph Loo
Honored Contributor

Re: extending filesystem

hi,

is my eyes deceiving me or was only 1 of the posts awarded points!

regards.
what you do not see does not mean you should not believe