- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux question about lvm
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
тАО09-16-2009 03:05 PM
тАО09-16-2009 03:05 PM
I have a system rp4440 and have 2 internal disks.The first disk runs 11.11 on it. And right now i have restored 11.23 OS (VG00) from a different server to second disk and would like to know what fix i should make in order to have the lvmtab updated.
do i have to boot from lm mode
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 03:39 PM
тАО09-16-2009 03:39 PM
Solution> I...have 2 internal disks. The first disk runs 11.11 on it.
So your server boots 11.11.
> And right now i have restored 11.23 OS (VG00) from a different server to second disk and would like to know what fix i should make in order to have the lvmtab updated.
And what is your objective here?
If you want to merely mount the logical volumes on the imported disk in order to examine differences between the files therein and files on you 11.11 vg00 then you can simply 'vgimport' the 11.23 disk as something like vg01; create mountpoints for its logical volumes and mount them.
The 'lvmtab', to answer your question, is updated and maintained by standard LVM commands. One principal way is to use 'vgimport' to adds entities' 'vgexport' deletes them.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 04:41 PM
тАО09-16-2009 04:41 PM
Re: hpux question about lvm
Thanks for the reply.
Yes basically - once the restore is complete on the sec disk (vg01) we are plainning on boot the server using the second disk and that will be kept as primary disk and the first disk will be used to create the app vol groups.Since we do the restore te lvmtab will also be restored - correct.So pls advice in this situvation what type of lvm maintanance needed.
I surely 100% appreciate your expertise
thanks wall
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 08:13 PM
тАО09-16-2009 08:13 PM
Re: hpux question about lvm
> i have restored 11.23 OS (VG00) from a different server to second disk
How did you restore 11.23 to this disk from a different server.
- You have to change the boot path in PDC , to the 2nd disks boot address in order to boot from this disk .
hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 08:26 PM
тАО09-16-2009 08:26 PM
Re: hpux question about lvm
Thanks for the reply - yes i did restore using backups.
I believe we are ok with boot path as we try to boot manually from pdc
but i wonder do we have to change any thihng on the lvm config if so how - i rarely use vgimport and export
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 08:59 PM
тАО09-16-2009 08:59 PM
Re: hpux question about lvm
I dont understand how you restored 11.23 OS using backup .
OS can be restored (rather installed) , using Install Media or using Ignite-ux .
If you mirrored the disk with a good 11.23 os disk, and break the mirror and then trying to boot on the other machine it may not work as the mkboot would have written a different bootdisk path into LIF header from where you mirrored it. A fresh install would be good enough.
> what fix i should make in order to have the lvmtab updated.
If your lvmtab contains phantom disk that is not needed you have to do vgreduce that disk and keep only which is needed.
# vgreduce vg00
What is the output of # vgscan -p -v
If lvmtab does not match with the current physical volumes, vgscan will report it and also will report missing pvs.
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 09:20 PM
тАО09-16-2009 09:20 PM
Re: hpux question about lvm
Apprecite your input. I have created a new volumegroup say vg011 using second disk and created volumes in there and mounted .The OS restore was kicked of on the mounted vloumes - we are going to boot from this second disk and need to know what needs to be donw for the lvm config as it needs to be a vgoo when we try to boot it .
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2009 09:43 PM
тАО09-16-2009 09:43 PM
Re: hpux question about lvm
> I have created a new volumegroup say vg011 using second disk and created volumes in there and mounted .The OS restore was kicked of on the mounted vloumes - we are going to boot from this second disk
OS may not be available this way,
Remember Boot programs are needed in a particular area on the disk, unfortunately filesystem to filesystem copy is not enough.
Check :
http://docs.hp.com/en/B3921-90010/mkboot.1M.html
You can install 11.23 using cold- install.
And you will have that disk 11.23 bootable.
http://docs.hp.com/en/5187-2725/ch05s03.html
Btw , what is the objective here?
Hth,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 06:50 AM
тАО09-17-2009 06:50 AM
Re: hpux question about lvm
We created the vg011 after doing the pvcreate with -B option and i did copy the LIF volume..
The Objective here is by having restore of another system to this second disk and try boot from second disk to see if it is similar to a server that we did restore from .This is kind of DR test for the server we restored from.
Thanks Raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2009 08:44 AM
тАО09-17-2009 08:44 AM
Re: hpux question about lvm
> The Objective here is by having restore of another system to this second disk and try boot from second disk to see if it is similar to a server that we did restore from
Why not use make_tape_recovery .
This is exactly what you are looking for, for this purpose.
- Take a ignite backup from the source machine to tape:
# /opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a ${TAPE_DRIVE}
Whre TAPE_DRIVE is the local DAT drive. ex: /dev/rmt/0mn ( to check with ioscan -fnC tape )
- Boot the 2nd server using this tape , and in hp-ux install menu to choose the 2nd disk .
Cheers,
Raj.