- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- var missing after new install
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
11-22-2004 12:25 PM
11-22-2004 12:25 PM
var missing after new install
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 12:50 PM
11-22-2004 12:50 PM
Re: var missing after new install
- logon to single user mode
- mount the new-created LV using a temp mount point such as /tmpvar
- copy all files on /var to the /tmpvar
- rename the /var directory on /
- edit/add the /etc/fstab to reflect the change you want to do, in this case you want to automount the /var
- reboot the server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 12:53 PM
11-22-2004 12:53 PM
Re: var missing after new install
Now bring the system up multi-user. When you are satified, you can then remove the files under /var.orig to reclaim the space and then rm the directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 01:08 PM
11-22-2004 01:08 PM
Re: var missing after new install
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 01:20 PM
11-22-2004 01:20 PM
Re: var missing after new install
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 01:33 PM
11-22-2004 01:33 PM
Re: var missing after new install
I think you may use ignite-ux to make a backup of vg00. And use the backup tape to rebuild the OS on the problem box.
Do you install ignite-ux, download it here:
http://www.software.hp.com/products/IUX/index.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 01:38 PM
11-22-2004 01:38 PM
Re: var missing after new install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 01:39 PM
11-22-2004 01:39 PM
Re: var missing after new install
After you create one, give it space and get it into /etc/fstab so it always mounts.
I've never had a system install without a /var filesystem.
I think the problem with copying is you'll get a sd/ux database that does not reflect the patches already on the system.
The best thing to do is to redo the system installation.
Since you are starting, consider 11i v1 instead of 11.00 if your applications support it. Support will last longer in that case. Patches, lots of benefits.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 03:03 PM
11-22-2004 03:03 PM
Re: var missing after new install
If this machine is not critical, I would try reinstalling and see if it gets created this time.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 07:48 PM
11-23-2004 07:48 PM
Re: var missing after new install
If you copied /etc/fstab back. It should point to /dev/vg00/lvol7 for /var
HTH
Gerhard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2004 07:52 PM
11-23-2004 07:52 PM
Re: var missing after new install
You should obviously copy those files under the var directory before the mount to a temporary space and then onto the mounted var. Be sure to keep you permissions and ownership correct.
All of this should be done in single user mode.
This might work no garuantees by definition.
Regards
Gerhard