- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var and /tmp
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
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
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
12-31-2002 10:50 AM
12-31-2002 10:50 AM
/var and /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:53 AM
12-31-2002 10:53 AM
Re: /var and /tmp
You can do it if you have OnlineJFS installed.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:54 AM
12-31-2002 10:54 AM
Re: /var and /tmp
and it is 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:55 AM
12-31-2002 10:55 AM
Re: /var and /tmp
otherwise a re-boot is requited.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:55 AM
12-31-2002 10:55 AM
Re: /var and /tmp
The first question we need answered is: Do you have Online/JFS installed on this machine?
If you do, then yes, this can easily be done without going into single user mode.
If you do not have Online/JFS installed, the easiest way will be to boot into single user mode to increase those LVOLs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:55 AM
12-31-2002 10:55 AM
Re: /var and /tmp
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:58 AM
12-31-2002 10:58 AM
Re: /var and /tmp
add new lvm var2
cd var
find . ???print | cpio ???pcxvdmu /var2
edit fstab comment out var and change var2 to var
reboot
remove unused volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 10:59 AM
12-31-2002 10:59 AM
Re: /var and /tmp
add new lvm var2
cd /var
find . ???print | cpio ???pcxvdmu /var2
edit fstab comment out var and change var2 to var
reboot
remove unused volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 11:00 AM
12-31-2002 11:00 AM
Re: /var and /tmp
Boot the system in single user mode
then use lvextend and extendfs to increase the file system.
#lvextend -L
#extendfs /dev/vgnn/rlvolnn
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 11:01 AM
12-31-2002 11:01 AM
Re: /var and /tmp
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 11:02 AM
12-31-2002 11:02 AM
Re: /var and /tmp
No OnlineJFS? It's off to single-user land for you then.
Good luck!
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 11:06 AM
12-31-2002 11:06 AM
Re: /var and /tmp
1. Create your new filesystems for /var/and /tmp.
2. Create your new mount points: /new_var /new_tmp
3. Shutdown to single-user mode: shutdown 0
4. mount filesystems, /var /new_var /tmp /new_tmp
5. Copy the entire original filesystem to the new locations:
#cd /tmp
#find . -xdev -depth -print | cpio -pxdmv /new_tmp
#cd /var
#find . -xdev -depth -print | cpio -pxdmv /new_var
6. Edit the /etc/fstab file to reflect the new filesytems.
7. Reboot the system.
#reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 11:22 AM
12-31-2002 11:22 AM
Re: /var and /tmp
hpux -is
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2002 01:03 PM
12-31-2002 01:03 PM
Re: /var and /tmp
This will take longer than going into single user mode and exending the lvols and file systems, but it is more user friendly if you are uncomfortable extending things yourself.
HTH
Marty