- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to move the some contents in /opt/vertex t...
Operating System - HP-UX
1753774
Members
6788
Online
108799
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
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
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
тАО05-27-2009 04:33 AM
тАО05-27-2009 04:33 AM
Hi,
I am running out of space on /opt mount point...I don't have any enough space left on VG00 to etxend the file system. But i had created the other logical volume. And now i want to move the contents of /opt/vertex to this new logical volume. So that when i try to access the /opt/vertex it should point to new logical volume not to VG00.
Please tell me the steps how to proceed...
Thanks,
Narendra
I am running out of space on /opt mount point...I don't have any enough space left on VG00 to etxend the file system. But i had created the other logical volume. And now i want to move the contents of /opt/vertex to this new logical volume. So that when i try to access the /opt/vertex it should point to new logical volume not to VG00.
Please tell me the steps how to proceed...
Thanks,
Narendra
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:38 AM
тАО05-27-2009 04:38 AM
Re: how to move the some contents in /opt/vertex to a separate logical volume.
1. mkdir /some_other_place/vertex
2. mv /opt/vertext /some_other_place/vertex
3. ln -s /some_other_place/vertext /opt/vertex
Pete
Pete
2. mv /opt/vertext /some_other_place/vertex
3. ln -s /some_other_place/vertext /opt/vertex
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2009 04:51 AM
тАО05-27-2009 04:51 AM
Solution
Hi Narendra,
here is the steps
1)first create a tar ball of /opt/vertex
cd /opt/vertex
tar -cvf /var/adm/crash/vertex_bkup.tar *
(assuming /var/adm/crash has enough free space)
2)rename the directory
mv /opt/vertex /opt/vertex.old
3)create a new vertex directory
#mkdir /opt/vertex
4)mount the newly created lvol on /opt/vertex
(assuming you have done with the lv creation)
mount /dev/vg01/vertex_lvol /opt/vertex
5)give the permission and ownership as same
as the old vertex directory
#chown user:group /opt/vertex
#chmod /opt/vertex
6)untar the vertex backup on to new filesytem
#cd /opt/vertex
#tar -xvf /var/adm/crash/vertex_bkup.tar
7)confirm the access and files
8)delete the old vertex dir
rm -R /opt/vertex.old
9)edit the fstab with new lvol info
#vi /etc/fstab
/dev/vg01/vertex_lvol /opt/vertex vxfs defaults 02
U are done
Thanks!!
Johnson
here is the steps
1)first create a tar ball of /opt/vertex
cd /opt/vertex
tar -cvf /var/adm/crash/vertex_bkup.tar *
(assuming /var/adm/crash has enough free space)
2)rename the directory
mv /opt/vertex /opt/vertex.old
3)create a new vertex directory
#mkdir /opt/vertex
4)mount the newly created lvol on /opt/vertex
(assuming you have done with the lv creation)
mount /dev/vg01/vertex_lvol /opt/vertex
5)give the permission and ownership as same
as the old vertex directory
#chown user:group /opt/vertex
#chmod
6)untar the vertex backup on to new filesytem
#cd /opt/vertex
#tar -xvf /var/adm/crash/vertex_bkup.tar
7)confirm the access and files
8)delete the old vertex dir
rm -R /opt/vertex.old
9)edit the fstab with new lvol info
#vi /etc/fstab
/dev/vg01/vertex_lvol /opt/vertex vxfs defaults 02
U are done
Thanks!!
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-28-2009 12:44 AM
тАО05-28-2009 12:44 AM
Re: how to move the some contents in /opt/vertex to a separate logical volume.
Thanks for the solution.
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