- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- moving san data
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
10-08-2007 07:38 AM
10-08-2007 07:38 AM
I looked for migratevg but it doesn't appear to be on my box so I thought I would use CP. Once I have the data moved I would just mount the new VG/filesystem.
Is there another or easier way to do this. I only have about 4g+ of data to move.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 07:49 AM
10-08-2007 07:49 AM
Re: moving san data
You can create a new volume group and just copy the data.
You can createa a new volume group and restore the data from tape (presuming you backed up to tape).
Here's some advice Jim Ferguson gave me when I had to migrate alot of data. The fbackup option. I found it worked exceedingly well for us.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51818&admit=-682735245+1175102216284+28353475
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 07:51 AM
10-08-2007 07:51 AM
SolutionYou can move the data in various ways. Using 'cpio', 'tar', 'cp' or 'fbackup' are all ways to perform this. With 'fbackup' you can handle largefiles and preserve permissions together with modification and lastaccess timestamps:
# cd srcdir && fbackup -i . -f - | ( cd dstdir && frecover -Xrf - )
If you elect to use 'cp', make sure that your destination is empty when you begin.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 07:54 AM
10-08-2007 07:54 AM
Re: moving san data
When possible, I like to shut databases and use san features like snapshots to do migrations.
SAN's are really good at that, but some of those features require a license.
I always back up first and if the SAN feature is unavailable, I go the old fashioned way, using an Ultrium tape and fbackup, like JRF.
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
10-08-2007 08:10 AM
10-08-2007 08:10 AM
Re: moving san data
if my current filesystem (the fragged one) is named (example) /a and I need the new one (the contiguous one) to also be /a I obviously can't have /a mounted 2 times.
The data in this filesystem is the heart of the application that runs on that box. I am worried about messing it up (and yes I do have backups to restore from but would like to prevent the additional downtime to restore.)
There must be a simple way to do this but I can't get my hands around it right now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 08:19 AM
10-08-2007 08:19 AM
Re: moving san data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-08-2007 08:25 AM
10-08-2007 08:25 AM
Re: moving san data
> if my current filesystem (the fragged one) is named (example) /a and I need the new one (the contiguous one) to also be /a I obviously can't have /a mounted 2 times.
This isn't a problem. Name (e.g. '/new') and mount your new destination filesystem whatever you choose. Now perform the copy as I suggested in my first post. When done, unmount both the old and the new filesystems. Rename the original mountpoint something like '/old' and rename the "new" one to '/a'. Edit your '/etc/fstab' appropriately so that the underlying devices reflect where you want '/a' to be and issue a 'mount -a' to mount everything.
Remember, when you perform your copy, make sure that neither filesystem is in use!
Regards!
...JRF...