Operating System - HP-UX
1834628 Members
2893 Online
110069 Solutions
New Discussion

Extending vxfs file system on HP UX 10.01

 
SOLVED
Go to solution
Dean Johnson_10
Advisor

Extending vxfs file system on HP UX 10.01

I have been tasked with upgrading a server from 10.01 to 10.20 (with a view to moving to 11.0 soon after). The server failed Disk Space analysis on /opt and /var.
I have increased the logical volumes using lvextend. I rebooted to single user and unmounted /opt but when I try to extendfs /dev/vg00/rlvol5 I get the message not an HFS file system. If I try
extendfs -F vxfs /dev/vg00/rlvol5, it says -F is an invalid option.

Anyone know how I can extend these vxfs file systems please ?
9 REPLIES 9
Pete Randall
Outstanding Contributor

Re: Extending vxfs file system on HP UX 10.01

Dean,

I'm not sure what the problem might be, but I do have a suggestion. If you're ultimately going to 11.0 anyway, why don't you just do a cold-install of 11.0 now, re-sizing your filesystems appropriately in the process?

I really don't see any advantage to the 10.20 interim step.

Pete

Pete
Dean Johnson_10
Advisor

Re: Extending vxfs file system on HP UX 10.01

Peter
Thanks for the quick response.
Unfortunately the application running on the server has not been updated to run on HP UX 11 as yet (still being worked on). It is supported on 10.20, hence the upgrade.
harry d brown jr
Honored Contributor

Re: Extending vxfs file system on HP UX 10.01


Have you checked for patches?

live free or die
harry
Live Free or Die
Martin Johnson
Honored Contributor

Re: Extending vxfs file system on HP UX 10.01

How about creating a dummy vxfs file system and extending it in SAM. Look at the SAM log to determine the commands. Use the commands on /opt and /var.

Make sure you have the latest SAM patches.

HTH
Marty
S.K. Chan
Honored Contributor
Solution

Re: Extending vxfs file system on HP UX 10.01

On 10.01 there is a patch (if I'm not mistaken) that would address this problem (extending of vxfs). Check ..
PHCO_6608 (s700_800 10.01 extendfs patch for VxFS filesystem). You may want to check itrc to find out if this patch has a superseeded patch. From the patch description ..
"Users can not extend VxFS file system unless the system has fsadm utility which is only available with OnlineJFS product." Another thing you may want to try is NOT using "-F" option but make sure /etc/default/fs has this entry..
LOCAL=vxfs

James R. Ferguson
Acclaimed Contributor

Re: Extending vxfs file system on HP UX 10.01

Hi Dean:

If I recall correctly, 10.01 filesystems were still HFS by default. If this is the case, use 'extend -F hfs'. Otherwise, if it *is* a JFS filesystem, use 'extend -F vxfs'.

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: Extending vxfs file system on HP UX 10.01

Dean,

Just so you're aware, the 10.20 to 11.0 upgrade process was a disaster, almost certainly doomed to failure. When you reach that point, you definitely want to think about cold-install.

Now, back to your application - what application hasn't been updated to run on 11.x (which has been out since 1997)? If it's a vendor supplied app, I'd be screaming at them. If it's homegrown, how are you planning on updating it?

By the way, most apps will run under 11.0 without modification.

Pete

Pete
Dean Johnson_10
Advisor

Re: Extending vxfs file system on HP UX 10.01

Peter

I've seen then many discussion threads about 10.20 to 11.00 upgrade and had already planned to do a clean install when I get to that point.
Application is home grown. We provide a managed service on the o/s only, so not really sure how/what the client is proposing, they've just asked that we get to 10.20 first.

I will be trying all the answers out today.

Thanks for all your help.
Dean Johnson_10
Advisor

Re: Extending vxfs file system on HP UX 10.01

Thanks very much for all your contributions, especially S.K. Chan for the patch number.

I applied the patch and was able to extend both /opt and /var.

Also Peter thanks for all the advice on upgrading. I will let the client know it may be worth trying the app on an 11.00 test environment first.