- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mount a mirror disk in a new installed envirom...
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
тАО02-11-2009 07:27 AM
тАО02-11-2009 07:27 AM
a technician installed a new hp os on a server and fortunately not did it in the mirror copy because i need the old data.
now i got in a disk a new hp os and in the other disk the old enviroment and os and data..
how can i mount the old disk and enviroment on the new for restore data ?
p.s= i can't boot the system from the other disk
thanks in advance
diego
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 07:33 AM
тАО02-11-2009 07:33 AM
Re: mount a mirror disk in a new installed enviroment
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 07:36 AM
тАО02-11-2009 07:36 AM
Re: mount a mirror disk in a new installed enviroment
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=73497
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 07:41 AM
тАО02-11-2009 07:41 AM
Solutionfrom the new booted OS do the following
#ioscan -fnCdisk
#insf
#mkdir /dev/oldroot
#mknod /dev/oldroot/group c 64 0x110000
#vgimport -v /dev/oldroot /dev/dsk/c0t1d0
#vgchange -a y -q n /dev/oldroot
#vgcfgbackup /dev/oldroot
#vgdisplay -v /dev/oldroot
you shall be able to see all the LVs of that VG
now make the directories to mount the LVs of that VG(oldroot)
#mkdir /oldroot
#mkdir /oldroot/test1
you can mount the LV in here
#fsck /dev/oldroot/lvol1
#cd /
#mount /dev/oldroot/lvol1 /oldroot/test1
and so on.
i understood that you want to wish the LVs of the other disk which had the OLD OS to be mounted.
Please correct me if i am wrong in assuming.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:02 AM
тАО02-11-2009 08:02 AM
Re: mount a mirror disk in a new installed enviroment
but when i'll do vgimport can i see the original LV ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:06 AM
тАО02-11-2009 08:06 AM
Re: mount a mirror disk in a new installed enviroment
if you had earlier made the LVs with the non-default LV names that is you had not the LVs as named as lvol1, lvol2, lvol3 and all , all you need to do the vgimport with a previusly created map file if you have a copy of that with you now.
the mapfiles get created for a VG using the -m option of the vgexport.
this mapfile is used at the time of amking the vgimport of that VG.
The vgimport with a valid map file for that VG shall help you get the LVs after the vgimport on the original name.
regards
sujit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:09 AM
тАО02-11-2009 08:09 AM
Re: mount a mirror disk in a new installed enviroment
Unfortunately the answer is no. It will import with default lvnames like lvol1, lvol2...unless you have map file.
But you can change the lvol names once you imported. But that doesn't going help much.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:11 AM
тАО02-11-2009 08:11 AM
Re: mount a mirror disk in a new installed enviroment
If you mount them, yes. Run your vgimport and call it vg01, then mount the logical volumes:
mount /dev/vg01/lvol3 /oldroot
mount /dev/vg01/lvol1 /oldstand
and so on. You can then look at /oldroot or /oldvar or /oldopt or whatever you need.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:14 AM
тАО02-11-2009 08:14 AM
Re: mount a mirror disk in a new installed enviroment
but i have not the mapfile ..
how i can do ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 08:15 AM
тАО02-11-2009 08:15 AM
Re: mount a mirror disk in a new installed enviroment
If you do not have the copy of the map file, a helping way might be to boot the system using the Old disk and do a vgexport of the vg00 in preview mode to create the map file.
1) boot the system using the old disk and once system is booted.
2)
#vgexport -p -v -s -m /tmp/vg00.map /dev/vg00
ftp this map file /tmp/vg00.map to your laptop/PC in Binary mode.
3) boot the system with the new disk and when the system boots do
FTP upload the file from your laptop/PC to the server in say /tmp dirctory in the binary mode.
#ioscan
#insf
#mkdir /dev/oldroot
#mknod /dev/oldroot/group c 64 0xYY0000
make sure that minor no 0xYY0000 is unique on the system.
#vgimport -v -s -m /tmp/vg00.map /dev/oldroot
#vgchange -a y -q n /dev/oldroot
#vgcfgbackup /dev/oldroot
regards
sujit