HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fbackup and install to new vg group
Operating System - HP-UX
1834408
Members
2065
Online
110067
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
Forums
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
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-20-2004 11:11 PM
09-20-2004 11:11 PM
fbackup and install to new vg group
hi,
I have this scenario, there is a program sitting in vg01 which has 32G. I am trying to extend the size of vg01 but failed as the it only recognizes 32G and i have bought a 73 G.
So to enable me to gain the whole capacity of the 73G, i have created a new vg group (vg02) and i have mounted it.
now the problem is to backup the whole program running on vg01 and place it on vg02.
Unmount the old mount point on vg01 and run everything on vg02.
I have already specified the new fstab and all but i am not certain which is the right procedure and the steps i would need to take in this situation.
is there any step by step guide to changing the mount point.
I have this scenario, there is a program sitting in vg01 which has 32G. I am trying to extend the size of vg01 but failed as the it only recognizes 32G and i have bought a 73 G.
So to enable me to gain the whole capacity of the 73G, i have created a new vg group (vg02) and i have mounted it.
now the problem is to backup the whole program running on vg01 and place it on vg02.
Unmount the old mount point on vg01 and run everything on vg02.
I have already specified the new fstab and all but i am not certain which is the right procedure and the steps i would need to take in this situation.
is there any step by step guide to changing the mount point.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2004 11:18 PM
09-20-2004 11:18 PM
Re: fbackup and install to new vg group
Hi,
See i assume you have one filesystem in vg01 which is lvol1 and that is mounted on /dir1 and similarly you have one on vg02 mounted on /dir2.
So /dev/vg01/lvol1 is mounted on /dir1
and /dev/vg02/lvol1 is mounted on /dir2
So said your fstab is also updated, then i think this should work for you.
# cd /dir2
# cp -R /dir1/* .
Hope this is what u r looking for.
Regards,
See i assume you have one filesystem in vg01 which is lvol1 and that is mounted on /dir1 and similarly you have one on vg02 mounted on /dir2.
So /dev/vg01/lvol1 is mounted on /dir1
and /dev/vg02/lvol1 is mounted on /dir2
So said your fstab is also updated, then i think this should work for you.
# cd /dir2
# cp -R /dir1/* .
Hope this is what u r looking for.
Regards,
You need to know a lot to actually know how little you know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2004 11:23 PM
09-20-2004 11:23 PM
Re: fbackup and install to new vg group
Hi,
1. Create new VG and volumes
2. mount new volumes to temprory mount points
3. transfer data ( I an using find and cpio to do this). go to source directoty and run following comamnd
#find ./ -print -depth|cpio -pdlumv /(new mount point). if you use cp don't forget to use -p switch to preserve timestamp and ownership of files.
3. umount old and new volumes na dmount new voulmes on old mount point
Sunil
1. Create new VG and volumes
2. mount new volumes to temprory mount points
3. transfer data ( I an using find and cpio to do this). go to source directoty and run following comamnd
#find ./ -print -depth|cpio -pdlumv /(new mount point). if you use cp don't forget to use -p switch to preserve timestamp and ownership of files.
3. umount old and new volumes na dmount new voulmes on old mount point
Sunil
*** Dream as if you'll live forever. Live as if you'll die today ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2004 11:53 PM
09-20-2004 11:53 PM
Re: fbackup and install to new vg group
hi,
assuming you have one filesystem in vg01 which is lvol1 and that is mounted on /dir1 and similarly you have one on vg02 mounted on /dir2.
/dev/vg01/lvol1 is mounted on /dir1
and /dev/vg02/lvol1 is mounted on /dir2
you want to copy whatever the contents of /dir1 to /dir2
go to /dir1 and apply the following command.
#cd /dir1
#find . -depth |cpio -pdlmuva /dir2
this will copy the total directory structure from /dir1 to /dir2.
regds,
assuming you have one filesystem in vg01 which is lvol1 and that is mounted on /dir1 and similarly you have one on vg02 mounted on /dir2.
/dev/vg01/lvol1 is mounted on /dir1
and /dev/vg02/lvol1 is mounted on /dir2
you want to copy whatever the contents of /dir1 to /dir2
go to /dir1 and apply the following command.
#cd /dir1
#find . -depth |cpio -pdlmuva /dir2
this will copy the total directory structure from /dir1 to /dir2.
regds,
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP