1837936 Members
2328 Online
110124 Solutions
New Discussion

Re: extendfs

 
SOLVED
Go to solution
Jorge Prado T
Contributor

extendfs

That it happens if when extending a FS is used block device file instead of raw device file, ie:
extendfs /dev/vg03/lvol1

S.O. hp-UX 11i

thanks

Jorge Prado
8 REPLIES 8
Mel Burslan
Honored Contributor

Re: extendfs

it seems like you used an online translation engine and it made your question very hard to understand.

if you are asking if "extendfs" command takes the special file as the "block device" or "raw device", the answer is "RAW DEVICE"

example:

extendfs -F vxfs /dev/vg01/rlvol5

hope this helps.

PS. Are you sure you do not have online JFS on your system ?
________________________________
UNIX because I majored in cryptology...
Laurent Menase
Honored Contributor

Re: extendfs

It is slower, and it uses the buffer cache,
Jorge Prado T
Contributor

Re: extendfs

Mel, Laurent

By error, when extending a File System I used lvol1 instead of rlvol1.
mounts the FS and this being used.

Later it is aware to me of this situation

That consequences have this?

Thank in advance

Jorge Prado

Devesh Pant_1
Esteemed Contributor
Solution

Re: extendfs

If you are not using the HFS
and JFS is your filesystem, you are okay. Don't worry things will be fine.

thanks
Devesh
Jino.P.V
Frequent Advisor

Re: extendfs

Hi Jorge,

If you are using online JFS you need not to use logical volume. You can just give FS with fsadm command.
Eg: fsadm -b200M /application.
You can do that with out unmounting the FS.

If you are having HFS filesystem your command will give error.

If you are having VxFs there is no problem. Both rlvol and lvol will work. Only thing is that you need to unmount the FS.

regards,

Jino
Senthil Kumar .A_1
Honored Contributor

Re: extendfs

Hi Jorge,

Quite strange that u mentioned in prevuious response that u were trying to extend lvol1,..

Assumeing it is /stand Mount point, it will not be able to extended because..LVOL1 has folowing characteristics usually..

Bad block off
Allocation strict/contiguous

What it means is the Allocated PE's should be contiguos..

Assuming that LVOL2 and LVOL3..would be created immediately after lvol1..you cant extend it
even if you have "online JFS"..

The only option is to go the LVM maintence mode while booting interrupt the Boot process and issue "hpux -lm"..
in ISL prompt..
and then "pvmove" lvol2 to lvol8 to seconf disk..
lvextend /dev/vg00/lvol1
extendfs /dev/vg00/rlvol1 and then..

"pvmove" back those moved lv's..

and reboot -n

I hope this helped..

Regards..

Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)
Jino.P.V
Frequent Advisor

Re: extendfs

Hi Senthil,

I think you have missed that he mentioned vg03


regds
Jino
Senthil Kumar .A_1
Honored Contributor

Re: extendfs

Indeed Jino ... :)
Let your effort be such, the very words to define it, by a layman - would sound like a "POETRY" ;)