- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- increase 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
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-21-2003 06:43 AM
03-21-2003 06:43 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:51 AM
03-21-2003 06:51 AM
Solution# lvextend -L
# extendfs -F
# mountall
# bdf
# cd /
# shutdown -r 0
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:51 AM
03-21-2003 06:51 AM
Re: increase var
You should shutdown -r to reboot the system, interrupt the boot process and boot into single user mode. From there, you use lvextend and extendfs. mount /var to check your work, and if all looks good reboot into multi-user mode.
Cheryl
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:51 AM
03-21-2003 06:51 AM
Re: increase var
If you don't have OnlineJFS, then you need to shutdown your server and boot into single user mode where '/var' and '/usr' aren't mounted.
Next, use 'lvextend' to enlarge the logical volume in which '/var' resides. Follow that with 'extendfs' to actually increase the size of the filesystem within the logical volume. My preference, when done, is to reboot and let the system come up normally.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:52 AM
03-21-2003 06:52 AM
Re: increase var
Let's say that /var is currently 800 MB and you want to go to 900MB.
0) Single-user mode
1) lvextend -L 900 /dev/vg00/lvol8
2) extendfs -F vxfs /dev/vg00/rlvol8
3) mount /var
Man lvextend, extendfs_vxfs for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:53 AM
03-21-2003 06:53 AM
Re: increase var
lvextend -L ### /dev/vg00/lv0l8
-and-
umount /filesystem
extendfs /dev/vg00/lvol8
But you'll also get into LVM maintenance mode.
lvextend -L ### /dev/vg00/lv0l8 (* you can lvextend before rebooting *)
reboot
interrupt boot
bo pri
interact with IPL
ISL>hpux -lm -is
vgchange -a y vg00
vgdisplay
lvdisplay
extendfs /dev/vg00/lvol8 (* when ready *)
mount /usr
mount /var
bdf
Happy?
Then reboot at this point. DON'T use 'init 3' to come up or you'll corrupt the O/S.
reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:53 AM
03-21-2003 06:53 AM
Re: increase var
interrupting the boot process,
entering
boot pri ISL
from the menu prompt,
interact with ipl- yes
type
hpux -is
from the ISL prompt.
cat /etc/fstab
to see what number the filesytem is is.
# /sbin/lvdisplay /dev/vg00/lvol8
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/lvol8
Note the return value.
#/sbin/extendfs -F
shutdown -ry 0
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 06:55 AM
03-21-2003 06:55 AM
Re: increase var
Without OnlineJFS, you won't be able to extend /var without unmounting it, which is pretty much impossible on a running system. You'll have to shutdown the box and come up in single user mode, extend /var, and then reboot.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2003 11:05 PM
03-21-2003 11:05 PM
Re: increase var
This at least will reduce the down time.
Jon