- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to extend the /var file system
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-14-2000 12:46 PM
07-14-2000 12:46 PM
how to extend the /var file system
I need to extend the /var file system. I know I need to boot in a mode that will not mount this system and then execute certain commands. Can anyone point me in the direction of these instructions? Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2000 02:08 PM
07-14-2000 02:08 PM
Re: how to extend the /var file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2000 02:53 PM
07-14-2000 02:53 PM
Re: how to extend the /var file system
I would recommend you boot into single user.
Backup the filesystem before extending
* shutdown -r now
* interrupt the boot
* boot from primary and interact with ISL
* Boot into single user mode using hpux -is
NOTE:Nothing will be mounted.
Then go ahead with your extend....
* lvextend
* extendfs (use the character device)
verify with bdf
Reboot the system to its normal running state using shutdown -r now
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2000 03:10 PM
07-14-2000 03:10 PM
Re: how to extend the /var file system
2. If /var is HFS, you have to boot in single user mode, lvextend the logical volume where /var resides, extendfs and everything should be fine. No other headaches. To boot in single user mode and the syntax for lvextend, extendfs, see ?Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0, Chapter 7 Troubleshooting, Adjusting File System Size. The example from there is exactly on increasing /var. See as well same book on http://www.docs.hp.com/dynaweb/hpux11/@Generic__CollectionView
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2000 05:09 PM
07-14-2000 05:09 PM
Re: how to extend the /var file system
1. do "bdf" to mark your lvol for /var
2. "shutdown now" will take you to single user mode.
3. "umount" /var (or using the lvol name)
4. "lvextend -L
5. "extendfs
6. "reboot"
when the server come up the var fs should be extended.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2000 06:32 AM
07-15-2000 06:32 AM
Re: how to extend the /var file system
To extend/increase file system size do the following:
1 backup the fielsystem e.g. /var (using fbackup)
2.cp fstab to fstab.old and also do bdf to note the Filesystem e.g.(/dev/vg00/lvoln)
3. Reboot to single user mode. (Interrupt and boot interatively through ISL> hpux -is) This will take you to single user mode.
4. Extend filesystem /var: lvextend -L nnn /dev/vg00/lvoln (nnn new size in mb)
5.extendfs -F vxfs /dev/vg00/rlvoln
6.fsck -F vxfs /dev/vg00/lvoln
7.mount /dev/vg00/lvoln
8.Restore from backup
9.Reboot the system
Cheers