HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

/usr directory is 91% cannot complete installation HPUX Itanium 11.31

 
SOLVED
Go to solution
KurtL
Occasional Advisor

/usr directory is 91% cannot complete installation HPUX Itanium 11.31

I am trying to create more space in the /usr directory to install a product and I am running out of space during the install. I am logged in as root.

 

:/ # bdf /usr
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol7    3948544 3581072  364784   91% /usr

 

I followed a procedure to extend the "VxFS Filesystem (Online JFS)".  I am not sure if I have JFS or not so I ran the following command to determine whether or not JFS is installed... and I still don't know.

 

 :/ # swlist -l fileset | grep -i advanced
  Auxiliary-Opt.LANG-AUX                C.06.26.EVAL   Advanced Optimization Tools
:/ #


 

I went ahead and followed the procedure for JFS with the following results.

 

I used lvextend -L 10000M  /dev/vg00/lvol7  to extend the logical volume, however I cannot execute the fsadm command as it looks like it is not licensed.

 

lvextend -L <New Size in MB> /dev/VG_NAME/LV_NAME

 

:/ # lvextend -L 12000M /dev/vg00/lvol7
Logical volume "/dev/vg00/lvol7" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
:/ #

 

fsadm -F vxfs  -b <new size of filesystem in K> <MOUNT POINT>

 

:/ # fsadm -F vxfs  -b 12288000 /usr
vxfs fsadm: V-3-25255: fsadm: You don't have a license to run this program
:/ #

Can anyone tell me whether or not I have JFS? And if so does fsadm require a separate license? Is there an alternate method?

 

Thanks.

7 REPLIES
Bill Hassell
Honored Contributor
Solution

Re: /usr directory is 91% cannot complete installation HPUX Itanium 11.31

This is the command to find OnLine JFS:

swlist | grep -i online

 

It should come back with:

 

       OnlineJFS for Veritas...

 

But you already know that this system does not have the OnlineJFS license. It is a priced product for the basic operating environment.

 

So the lvol has been extended. To expand the filesystem, you must use extendfs. But extendfs only works on an unmounted filesystem and /usr cannot be unmounted except in single user mode. Reboot the system and interrupt the boot process when it says you have 10 seconds to interrupt.

 

For Integrity systems, when you interrupt the boot process, you'll see an HPUX prompt. Type: boot vmunix -is

 

For PARISC, boot the primary disk and answer the ISL intefract question with yes. At ISL> type hpux -is

 

The system will boot into single user. Then type the command: /sbin/extendfs /dev/vg00/lvol7

 

Once complete, type the command: reboot -q

 

 



Bill Hassell, sysadmin

Re: /usr directory is 91% cannot complete installation HP-UX Integrity 11.31

> Auxiliary-Opt.LANG-AUX    C.06.26.EVAL   Advanced Optimization Tools

 

This is part of the aC++ compiler bundle, nothing to do with fsadm.

(If older than 60 days, you might as well remove it.)

KurtL
Occasional Advisor

Re: /usr directory is 91% cannot complete installation HPUX Itanium 11.31

Bill,

 

Thank you for the help. Following your instructions I was able to boot in single user mode. However when I entered the command "boot vmunix -is" the system response was not what I expected.

 

extendfs: /etc/default/fs is used for determining the file system type

/xfs extendfs: V-3-20142  /dev/vg00/lvol7 cannot stat

 

 Do I still need to issue an umount on the /usr? FYI - The system is a 64 bit Itanium 11.31 of the OS.

 

Thanks.

 

Kurt

Ajin_1
Valued Contributor

Re: /usr directory is 91% cannot complete installation HPUX Itanium 11.31

Hi Kurt

 

If you have satify with Answers assign points ,and acceept that as solution

Thanks & Regards
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
KurtL
Occasional Advisor

Re: /usr directory is 91% cannot complete installation HPUX Itanium 11.31

Hi Ajin,

 

I had posted a reply for Bill. He had provided me with some instructions that were helpful however I am hoping he can answer as I believe the command he recommended did not work for me as intended.

 

Thanks.

 

Kurt

Patrick Wallek
Honored Contributor

Re: /usr directory is 91% cannot complete installation HPUX Itanium 11.31

>>extendfs: /etc/default/fs is used for determining the file system type

>>/xfs extendfs: V-3-20142  /dev/vg00/lvol7 cannot stat

 

If you are in single-user mode you  may need to activate VG00 first.

 

# vgchange -a y vg00

 

Then do the extendfs.

 

# extendfs -F vxfs /dev/vg00/lvol7

KurtL
Occasional Advisor

Re: /usr directory is 91% cannot complete installation HPUX Itanium 11.31

Thanks Patrick.

 

I entered the vgchange -a y vg00 and the system returned a message stating that it was already activated. I tried the extendfs and it worked this time.

 

Thanks to you and Bill for your timely assistance.

 

Kurt