- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: migration
Operating System - HP-UX
1824831
Members
3537
Online
109674
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
11-24-2007 01:20 AM
11-24-2007 01:20 AM
migration
Hi,
I am going to transfer filesystem which is currently residing on storage to internal part of server.So pls provide me the steps That will helpful to carryout this activity
Thanks!!!!!!
I am going to transfer filesystem which is currently residing on storage to internal part of server.So pls provide me the steps That will helpful to carryout this activity
Thanks!!!!!!
For success, attitude is equally as important as ability
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2007 02:27 AM
11-24-2007 02:27 AM
Re: migration
Hi:
Create your new filesystem on your internal volume group (not vg00, I hope). Create a mountpoint for it, for example, '/dstdir'. This will be changed later.
Now copy your original filesystem data (from 'srcdir') to the new mountpoint (dstdir'). Make sure that the original filesystem isn't in use by anything. You may wish to unmount and remount it to make sure that you have stopped all activity to it before you begin to copy data.
You can copy the data in various ways. Using 'cpio', 'tar', 'cp' or 'fbackup' are all ways to perform this. With 'fbackup' you can handle largefiles and easily preserve permissions together with modification and lastaccess timestamps. It it one method I particularly like:
# 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.
When you are done, unmount the original filesystem ('srcdir') as well as the newly copied one ('dstdir'). Rename the original filesystem mountpoint (with 'mv') to anything you like. Rename the 'dstdir' directory to that of the original filesystem. Modify your '/etc/fstab' to reflect the new device file location of your copied filesystem and mount it.
When you are satisfied with everything, you can 'lvremove' your old filesystem and its old, renamed mountpoint.
Regards!
...JRF...
Create your new filesystem on your internal volume group (not vg00, I hope). Create a mountpoint for it, for example, '/dstdir'. This will be changed later.
Now copy your original filesystem data (from 'srcdir') to the new mountpoint (dstdir'). Make sure that the original filesystem isn't in use by anything. You may wish to unmount and remount it to make sure that you have stopped all activity to it before you begin to copy data.
You can copy the data in various ways. Using 'cpio', 'tar', 'cp' or 'fbackup' are all ways to perform this. With 'fbackup' you can handle largefiles and easily preserve permissions together with modification and lastaccess timestamps. It it one method I particularly like:
# 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.
When you are done, unmount the original filesystem ('srcdir') as well as the newly copied one ('dstdir'). Rename the original filesystem mountpoint (with 'mv') to anything you like. Rename the 'dstdir' directory to that of the original filesystem. Modify your '/etc/fstab' to reflect the new device file location of your copied filesystem and mount it.
When you are satisfied with everything, you can 'lvremove' your old filesystem and its old, renamed mountpoint.
Regards!
...JRF...
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP