- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending /usr
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
Forums
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
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-01-2002 07:22 AM
07-01-2002 07:22 AM
I am trying to extend /usr.
Unfortunatly I don't have OnlineJFS on this server so i cannot do it online. I have tried unmounting /usr in single user mode but it say's that it is busy (which makes sense). Is there a way of extending it without rebuilding?
Thanks in advance.
Regards,
Colin.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:25 AM
07-01-2002 07:25 AM
Re: Extending /usr
If you still have problems, do
"mount /usr"
"umount /usr"
You should then be able to lvextend and extendfs.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:25 AM
07-01-2002 07:25 AM
Re: Extending /usr
The easiest thing to do is boot up into single-user mode in which /usr isn't mounted.
Do you LVM maintenace using the commands in /sbin (...that's why they're there!...) and when done, reboot.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:25 AM
07-01-2002 07:25 AM
Re: Extending /usr
I didn't think the file systems were mounted when you reboot into single user mode ?
Did you reboot or use init to go down the run levels ?
Normally I would reboot, interrrupt the boot sequence, bo pri, interact with IPL, hpux -is
Allow the machine to boot into single user mode, then extend the logical volume & file system
Regards,
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:27 AM
07-01-2002 07:27 AM
Re: Extending /usr
Have a look at the following link,
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x82d3d06ed8c8d4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:30 AM
07-01-2002 07:30 AM
Re: Extending /usr
Best is to go to single user mode and run any lvm commands for extending the filesystems.
Piyush
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:30 AM
07-01-2002 07:30 AM
Solutionboot pri
Interact with ISL? Y
hpux -is
/usr will not be mounted but lvextend and extendfs are in /sbin so you can do the operations. I assume that you have some free space in vg00.
By the way, OnlineJFS (and generally Mirror/UX) are things that no HP-UX server should be without.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:33 AM
07-01-2002 07:33 AM
Re: Extending /usr
Either you can take a ignite back up and reinstall OS with bigger size of /usr or boot in single user mode and then do lvextend -L Size /dev/vg00/lvol7 and then extendfs.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 07:50 AM
07-01-2002 07:50 AM
Re: Extending /usr
Try this link,
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000046785431
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2002 08:42 AM
07-01-2002 08:42 AM
Re: Extending /usr
interrupting the boot process, entering
boot pri ISL
from the menu prompt,
and typing
hpux -is
from the ISL prompt.
/var is usually uses /dev/vg00/lvol7
This can be verified by doing a cat /etc/fstab
# /sbin/lvdisplay /dev/vg00/lvol7
This will return the size in MB that /var currently is.
# /sbin/lvextend -L
/var is vxfs but this can be checked by doing the
following
# /sbin/fstyp /dev/vg00/lvol7
!!Note the return value for the next command.!!
#/sbin/extendfs -F
#mount -a
#bdf
shutdown -ry 0