- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Moving /home and /opt out of vg00
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
Discussions
Discussions
Forums
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
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
тАО06-07-2000 10:09 AM
тАО06-07-2000 10:09 AM
What would be the best course of action?
Any comments would be higly appreciated!
e-gaxiola
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2000 01:08 PM
тАО06-07-2000 01:08 PM
Re: Moving /home and /opt out of vg00
Create new logical volumes
mount it at /newhome
cd /home
find . | cpio -pudmvl /newhome
umount /newhome
umount /home
vi /etc/fstab
mount -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2000 02:37 AM
тАО06-08-2000 02:37 AM
SolutionI dont think moving var to another disk should be a health talk as this is where all the system logs and tmp is available, in case the vg/disk containing var doesnot come up it would be more complex.
Any way if have to do this i'll do this way
lvcreate -n newhome /dev/vg01
newfs -F vxfs/hfs /dev/vg01/rnewhome
mount /dev/vg01/newhome /newhome
lvcreate -n newvar /dev/vg01
newfs -F vxfs/hfs /dev/vg01/rnewvar
mount /dev/vg01/newvar /newvar
cd /home
find . -depth | cpio -pvd /newhome
cd /var
find . -depth | cpio -pvd /newvar
reboot the system in maitance mode
break autoboot process
interact with IPL
ISL>hpux -lm
#cp /etc/fstab /etc/fstab.old
#vi /etc/fstab
change the entries corresponding to /var /home
boot normally.
Goodluck
venu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2000 09:52 AM
тАО06-08-2000 09:52 AM
Re: Moving /home and /opt out of vg00
u is unnecessary in the case of a fresh filesystem, but does not harm anything.
x is required if you are copying device files -- again not required in this case but not harmful and I prefer to use the same procedure no matter which directories I am working with.
p,d are absolutely required.
m should be used unless you wish to have the access times on all files changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-20-2000 03:51 PM
тАО06-20-2000 03:51 PM
Re: Moving /home and /opt out of vg00
Moving /var out of vg00 is NOT supported or recommended by Hewlett-Packard. The software and patch installer files are there, and SD-UX (swinstall) gets very touchy about where things are.