- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending /usr and /var
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
03-25-2003 02:54 PM
03-25-2003 02:54 PM
We've tried to kill the processes that are using the device by using
fuser -ku
but it did not help.
Could you advise us on a solution for our problem?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 02:57 PM
03-25-2003 02:57 PM
SolutionA better way is to cleanly "boot" it into single user mode.
Reboot the box while you are in single user mode, interact with ISL and then get into single user mode.
ISL>hpux -is
At this time, you will not have any file system other than / and /stand mounted.
Then you can use /sbin/ commands to extend the filesystems.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 03:00 PM
03-25-2003 03:00 PM
Re: Extending /usr and /var
Also, you may need to "mount /usr; umount /usr" to be able to extend it. I don't know why, but it happened to me a couple of times. The mount/umount fixed the problem.
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 03:00 PM
03-25-2003 03:00 PM
Re: Extending /usr and /var
# shutdown -ry 0
When prompted, press any key to interrupt boot
sequence, boot from the primary device, and invoke
ISL interaction as follows:
# boot pri
interact with IPL? YES
# hpux -is (boots into single user mode)
2. Extend the logical volume that holds the file system:
# lvextend -L
3. Extend the file system, (example is for vxfs):
# extendfs -F hfs /dev/vg00/rlvol4
4. Mount all file systems and check:
# mount -a; bdf
5. Restart system to multi-user mode:
# shutdown -ry 0
6. Do a final check to ensure that the file system was
extended:
# bdf
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 03:01 PM
03-25-2003 03:01 PM
Re: Extending /usr and /var
In all probability you won't be able to unmount '/var'. Instead, bootup into single user mode; perform your maintenance; and reboot to return normal user mode (or do 'init 3').
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2003 03:27 PM
03-25-2003 03:27 PM
Re: Extending /usr and /var
lvextend -L
fsadm -F vxfs -b
or
You will need to following Uday's instruction. Make sure only / is mounted and use lvextend, extendfs in /sbin to extend the file systems.
Good lick.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2003 09:36 AM
04-14-2003 09:36 AM
Re: Extending /usr and /var
Thanks for such a detailed answer. In it you give an example using vxfs. Is this the LVM or JFS? Thanks for the help!
spike