- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Move directories out of "/"
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
05-03-2005 05:46 AM
05-03-2005 05:46 AM
Move directories out of "/"
There are a couple of old systems here that were originally setup with everything in the root filesystem. So /var, /usr. /opt, etc are all located under /. We have to move these systems onto new boxes and when we do that I want to break the filesystems up to their own logical volumes as everything in / can be quite disasterous as far as I am concerned. Does anyone know of any technical documents explaining how to do it? I would assume Ignite would be the best way, but I can't find any step-by-step how-to's in order to do it. If there is anything that would be quicker than Ignite (we have to use a DLT jukebox which can be a pain) I am open to any suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 05:49 AM
05-03-2005 05:49 AM
Re: Move directories out of "/"
backup /var /usr /opt with fbackup.
Leave /etc alone, its supposed to be part of root fs
Then remove the contents of the directories, set up and mount them on filesystems and use frecover to restore the content.
It should be preserved.
You will probably need to do this in single user mode.
Prior to starting, do a make_tape_recovery tape so that if it doesn't work, you can put the system back to running.
Its improbable but possible that you may need to reinstall the OS.
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
05-03-2005 05:52 AM
05-03-2005 05:52 AM
Re: Move directories out of "/"
I think Ignite is definitely the easiest way to do it. If you using make_tape_recovery to make your images you should use the -I option to make it interactive. Then when you do the installation on the other servers just go into the filesystems tab during the interactive part of the installation and setup the filesystems you want. Job done!
Rgds,
Anthony
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 05:56 AM
05-03-2005 05:56 AM
Re: Move directories out of "/"
This would be a good time to install a new version of HP-UX if you're not already on 11i, at least. Barring that, Ignite might very well be the way to go. When you boot off the tape and interact with the restore, you are given the chance to set up and size all your filesystems in vg00. Here's a bdf output from my workstation to give you an idea on sizing:
File System......Mbytes....Used...Avail.%Used.Mounted on
/dev/vg00/lvol3.....200.....125......75...62%./
/dev/vg00/lvol1.....288......56.....203...22%./stand
/dev/vg00/lvol8....3000.....431....2550...14%./var
/dev/vg00/lvol7....3000....1067....1918...36%./usr
/dev/vg00/lvol6.....200......40.....159...20%./tmp
/dev/vg00/lvol5....2000....1625.....372...81%./opt
/dev/vg00/lvol4....1600.....363....1229...23%./home
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 06:01 AM
05-03-2005 06:01 AM
Re: Move directories out of "/"
Each of these systems are moving to a vpar. The vpars are already ignited with the proper configuration. So I just have to move or copy /var to the new volume group /var on the new system, and so on for each directory.
The old systems are 11.0 and the new ones are 11.11.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2005 07:49 AM
05-03-2005 07:49 AM
Re: Move directories out of "/"
Thanks for all the help.