- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- recover 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
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
тАО10-11-2010 04:22 AM
тАО10-11-2010 04:22 AM
recover data
I have a disk , having vg01 which I have removed and inserted to another server. can it possible to recover vg01 and recover data from disk to another server?
Regards
Deeos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 05:05 AM
тАО10-11-2010 05:05 AM
Re: recover data
Did you use vgexport or the old server?
Can you still re-connect and do the vgexport?
Yo may end up needing vgscan -v and/or mv'ing lvmtab
just google for vgexport vgscan and you find many prior writeups like
(meandering...)
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=497609
And you;ll find cheat-sheets like:
http://pbraun.nethence.com/doc/sysutils_hpux/hpux_lvm_recovery.html
good luck,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 05:06 AM
тАО10-11-2010 05:06 AM
Re: recover data
Most suitable way to backup vg00 and restore on another server is that taking a ignite backup of vg00 and restore it on another server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 11:18 PM
тАО10-11-2010 11:18 PM
Re: recover data
you can do it with vgimport.
1. create the group file
2. mknod /dev/vg01/group c 64 0x0y0000
3. vgimport /dev/vg01 /dev/disk/cxtydz
then check the vgdisplay, you will be able to see the vg01 information.
But incase if you mentioned any names for lv you won't get the names, it will be lvol1, lvol2 etc..
If you have the mapfile, then vgimport with the map file, then u will get full vg information
Thanks,
Shan,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-12-2010 02:45 AM
тАО10-12-2010 02:45 AM
Re: recover data
You should have a backup of vg01. You can following steps on both server to move a vg.
from server 1:
vgchange -a n vg01
vgexport -v -m vg01.map vg01
scp vg01.map server2:/tmp (asks server2 passwd)
from server 2. after connecting disks.
mkdir /dev/vg01
mknod -c 64 group 0x010000
vgimport -v -m /tmp/vg01.map vg01
vgchange -a y
vgdisplay (check all lv's are available)
create a mount point in /etc/fstab
mount -a
restore each lvols data from backup.
Thanks
Sahir