- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Exporting/Importing Disk and File System
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
Discussions
Discussions
Forums
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
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
тАО07-31-2007 12:46 PM
тАО07-31-2007 12:46 PM
I have a server with a presented VDISK from a EVA 3000 on hp-ux 11.23 using LVM, now, I want to export this disk from this server and import it on a different server with hp-ux 11.11.
I know about the presentation/unpresentation procedure on the EVA. does anybody have the steps to export my disk (on 11.23) and importing it (on th 11.11 server) without losing data?
best regards,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 01:27 PM
тАО07-31-2007 01:27 PM
SolutionIn any event the steps are rather straightforward (and I assume that you have man all the LUN's visible to both boxes; that you have run ioscan -fn; and insf).
On the source box:
1) umount the filesystems
2) vgexport -p -s -m /tmp/vg05.map /dev/vg05
This will create a mapfile that has the VGID embedded in it.
3) vgchange -a y /dev/vg05
4) Copy using ftp, sftp, rcp, ... /tmp/vg05.map from the source to the destination box.
On the destination box:
5) mkdir /dev/vg05
mknod /dev/vg05/group c 64 0x050000
vgimport -s /tmp/vg05.map /dev/vg05
This will search all available disks looking for the matching VGID so that you don't need to actually know the disks.
6) vgchange -a y /dev/vg05
7) vgcfgbackup /dev/vg05
8) Create mountpoints and /etc/fstab entries
9) Mount the filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 01:49 PM
тАО07-31-2007 01:49 PM
Re: Exporting/Importing Disk and File System
thanks a lot for all your help, I've already backup all my data and perform the procedure tomorrow night.
thanks for all your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-31-2007 02:51 PM
тАО07-31-2007 02:51 PM
Re: Exporting/Importing Disk and File System
On the source box:
1) umount the filesystems
2) vgexport -p -s -m /tmp/vg05.map /dev/vg05
This will create a mapfile that has the VGID embedded in it.
3) vgchange -a y /dev/vg05 (unmount & and DEACTIVATE here..)
Also do a "fstyp -v lvname" tells u the version. I see on both of my 11.11 and 11.23 servers i use version 4.if that is true for u too there should not be any problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 04:14 AM
тАО08-10-2007 04:14 AM
Re: Exporting/Importing Disk and File System
PHCO_35524 : s700_800 11.23 LVM commands patch
PHKL_36244 : s700_800 11.23 LVM Cumulative Patch
PHCO_34196 : s700_800 11.11 LVM commands cumulative patch
PHKL_35970 : s700_800 11.11 LVM Cumulative Patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 05:38 AM
тАО08-10-2007 05:38 AM
Re: Exporting/Importing Disk and File System
PHKL_34986 1.0 LVM Cumulative Patch; LVM OLR; SLVM 16 Node
PHKL_30607 1.0 VxVM,EMC,PM,vPar,slpq,KRS,DUMP,LVM,VM,DaS,IF
here is what i have
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 07:28 AM
тАО08-10-2007 07:28 AM
Re: Exporting/Importing Disk and File System
How was the file system created?
If you used newfs, then you will not be abled to mount it on the 11.11 system
You see, 11.11 uses vxfs version 4 file system layout and 11.23 version 5.
How to tell?
On your 11.23 system do a :
fstyp -v /dev/vgXX/lvolX |grep version
If it is version 5 - then you are out of luck.
In future, use mkfs_vxfs command to create file systems if you want to "share" between 11.23 and 11.11:
mkfs_vxfs -F vxfs -o version=4 /dev/vgXX/rlvolX
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-10-2007 07:31 AM
тАО08-10-2007 07:31 AM
Re: Exporting/Importing Disk and File System
I did follow the procedure (some really minor changes thoug) but it worked really good.
thanks for your help