- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- newbie trying to moving directories to from intern...
Operating System - HP-UX
1748074
Members
5276
Online
108758
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
09-13-2007 01:53 AM
09-13-2007 01:53 AM
I need to move a couple directories (/opt/tomcat and /opt/java1.4) from the internal disks to our VA. (We are having performance issues with a web app and a consultant made this recommendation.) I’m thinking I can just create these as new mount points then restore the data but I am VERY new and want to make sure this is the correct way to do this. I am also wondering what I need to do to “switch over” from these being under the /opt mount point on the internal disks. Will the system just automatically start pointing to the VA as soon as I mount the new file system? Do I need to umount /opt first? Will the existing data remain on the internal disks so that if they decide to back out I can just umount the new mount point to go back to our original configuration? Thanks in advance for any help!!
Jenni
Jenni
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 01:59 AM
09-13-2007 01:59 AM
Solution
1) Create a new logical volume on /opt/tomcat1
2) Stop your tomcat application
3) cd /opt/tomcat
4) find . -depth -print | cpio -pvdulm /opt/tomcat1
5) mv /opt/tomcat /opt/tomcat2
6) mkdir /opt/tomcat
7) modify /etc/fstab to that the mountpoint of the new lv is /opt/tomcat instead of /opt/tomcat1
8) Restart tomcat
9) If everything is working fine you can remover /opt/tomcat2
Do the same procedure for /opt/java1.4
2) Stop your tomcat application
3) cd /opt/tomcat
4) find . -depth -print | cpio -pvdulm /opt/tomcat1
5) mv /opt/tomcat /opt/tomcat2
6) mkdir /opt/tomcat
7) modify /etc/fstab to that the mountpoint of the new lv is /opt/tomcat instead of /opt/tomcat1
8) Restart tomcat
9) If everything is working fine you can remover /opt/tomcat2
Do the same procedure for /opt/java1.4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 02:15 AM
09-13-2007 02:15 AM
Re: newbie trying to moving directories to from internal disks to VA…
I would be interested to see some evidence to back up the performance issue.
Relocating the java binaries to some different disk probably will not help the issue.
Any sar data to support the potential disk issue or will this hoop jump just waste time and effort ?
Relocating the java binaries to some different disk probably will not help the issue.
Any sar data to support the potential disk issue or will this hoop jump just waste time and effort ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2007 02:26 AM
09-13-2007 02:26 AM
Re: newbie trying to moving directories to from internal disks to VA…
Luk,
Thanks for the step-by-step instructions! If they decide they want to back this change out for some reason would I just need to:
- stop tomcat
- umount /opt/tomcat
- mv /opt/tomcat2 /opt/tomcat
- restart tomcat
then I'd be back where I started?
Tim,
Yep, I think this is just a blind recommendation but jumping can be good exercise :)
Thanks for the step-by-step instructions! If they decide they want to back this change out for some reason would I just need to:
- stop tomcat
- umount /opt/tomcat
- mv /opt/tomcat2 /opt/tomcat
- restart tomcat
then I'd be back where I started?
Tim,
Yep, I think this is just a blind recommendation but jumping can be good exercise :)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP