- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how do extend /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
07-16-2001 09:34 PM
07-16-2001 09:34 PM
1 Using sam doesn't work since that is on var and can't unmount var so...
2 shutdown 0 - go into single user mode
3 lvextend -L 1024 /dev/vg00/lvol6
I've checked and var is already unmounted, and I would like a 1Gb partition.
4 extendfs -F hfs /dev/vg00/rlvol6
5 reboot
This will hopefully restart the workstation and automatically remount all volumes.
So, how does it look? Thanks for helping me in the idiots guide to extending partitions without using sam. Hopefully other people will find this useful too :-)
Thanks,
Pete
PS. No, I don't have any other utility that can help me with this and don't want to try with one - not on the day before my summer holiday...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 09:42 PM
07-16-2001 09:42 PM
Re: how do extend /var
please fsck and mount /usr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 09:47 PM
07-16-2001 09:47 PM
Re: how do extend /var
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 09:52 PM
07-16-2001 09:52 PM
Re: how do extend /var
Hi
It is very simple. Follow these steps
Anyway U will have to reboot the system for extending the var file system.
While booting press and hold the Esc key, Then it will come to main menu, Ther U type like this
Main Menu>boot pri
select interact with ISL
ISL>hpux -lm
Now U will come to lvm maintanence mode.
Now Issue these following commands
#vgchange -a y vg00
#lvextend -L "New size" /dev/vg00/lvol6
#extendfs /dev/vg00/rlvol6
#mount -a
#bdf
Verify ur /var size...Now reboot the system and come to normal mode.
Now ur job is over..right?
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 10:05 PM
07-16-2001 10:05 PM
Re: how do extend /var
bring the system to single user mode repeat your 3 and 4 steps and instead of rebooting you can do #init 3 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 10:12 PM
07-16-2001 10:12 PM
SolutionBasically Shahul is on the right track,
however you don't need to reboot the
system after completing the task. From
the ISL> prompt issue this.
ISL>hpux -is
This will boot the system into single
use mode. Once the portion of the boot
has completed you can do the additional
size parts.
check to see /etc/fstab file to make sure
lvol6 is /var then
# lvextend -L "size that you want" /dev/vg00/lvol6
# extendfs /dev/vg00/rlvol6
# mount /dev/vg00/lvol6 /var
# bdf
# mount -a
Control D will bring your system up to
multi-user.
Good luck and Happy Holidays
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 10:37 PM
07-16-2001 10:37 PM
Re: how do extend /var
One think I forgot to mention as to why it
is better to reboot into single-user mode
than trying to do a shutdown is that
sometimes there are processes associated
with /var that will still run.
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 10:47 PM
07-16-2001 10:47 PM
Re: how do extend /var
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2001 10:54 PM
07-16-2001 10:54 PM
Re: how do extend /var
You can try it of course, but as I mentioned
in my last answer some processes that are
associated with /var may not terminate and
therefore you won't be able to unmount the
filesystem. It sometimes depends on how your
server or workstation is set up. In general
terms what has been posted previously is
usually what has to happen. You won't do any
damage by trying it.
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 03:14 AM
07-17-2001 03:14 AM
Re: how do extend /var
The help wasn't in vain, I'm confident everything will work but for safety's sake...
And, my congratulations to Michael on his new hat - funnily enough the first part of my holiday is to go to england and where this hat for real! Yeap graduation time for my M.Phil. in neural networks.
Pete