- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /usr directory is 91% cannot complete installation...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2012 09:22 AM
07-14-2012 09:22 AM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2012 04:17 PM
07-14-2012 04:17 PM
SolutionThis 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
- Tags:
- extendfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2012 09:46 PM
07-14-2012 09:46 PM
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.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2012 05:03 AM
07-16-2012 05:03 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2012 07:20 AM
07-16-2012 07:20 AM
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
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2012 07:25 AM
07-16-2012 07:25 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2012 08:39 AM
07-16-2012 08:39 AM
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
- Tags:
- vgchange
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2012 09:01 AM
07-16-2012 09:01 AM
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