- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Suspect Ignite has "disappered" my LVM Mirrors
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
тАО01-22-2008 01:05 PM
тАО01-22-2008 01:05 PM
Suspect Ignite has "disappered" my LVM Mirrors
Mike Khoury
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 01:21 PM
тАО01-22-2008 01:21 PM
Re: Suspect Ignite has "disappered" my LVM Mirrors
Mirror-Ux should be installed, could you check with swlist command?
# swlist -l fileset|grep -i mirror
You can find the steps in below doc.
http://www.docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Page 24 Mirroring the Root Volume on PA-RISC Servers
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 01:23 PM
тАО01-22-2008 01:23 PM
Re: Suspect Ignite has "disappered" my LVM Mirrors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2008 07:21 PM
тАО01-22-2008 07:21 PM
Re: Suspect Ignite has "disappered" my LVM Mirrors
In the simplest case, one disk has allocated extents and the other does not. For larger volumes with more than 2 disks, make sure the mirrors are created on a physically different disk, ideally on a different I/O card if possible. Your script would be something like:
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t2d0
lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t2d0
lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t2d0
lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t2d0
...
where c1t2d0 is the unused disk. For multiple disks, list them in the order you want them used.
The mirroring task can be done while the system is running although it will slow down performance for a while.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2008 06:27 AM
тАО01-23-2008 06:27 AM
Re: Suspect Ignite has "disappered" my LVM Mirrors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2008 06:31 AM
тАО01-23-2008 06:31 AM
Re: Suspect Ignite has "disappered" my LVM Mirrors
1) lvlnboot -v /dev/vg00 ( check your boot, root, and swap paths, both primary and mirror disks should show ).
2) check boot paths. setboot
setboot -a hw_path ( to set your alt boot path )
3) and lastly. shutdown the system and boot from the alternate to test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2008 06:38 AM
тАО01-23-2008 06:38 AM
Re: Suspect Ignite has "disappered" my LVM Mirrors
Here's my "cookbook" for mirroring, which, as you've discovered, has to be re-established after an Ignite restore.
The steps to mirror your boot volume are (PA-RISC):
1. Create a physical volume with a boot reserved area
"pvcreate -B /dev/rdsk/c1t6d0"
2. Add the physical volume to the root VG
"vgextend /dev/vg00 /dev/dsk/c1t6d0"
3. Use mkboot to place the boot utilities in the boot area and add the AUTO file
"mkboot /dev/rdsk/c1t6d0"
"mkboot -a "hpux -lq" /dev/rdsk/c1t6d0"
4. Use mkboot to update the AUTO file on the primary boot disk
"mkboot -a "hpux -lq" /dev/rdsk/c0t6d0"
5. Mirror the stand, root and swap logical volumes in order
"lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c1t6d0"
"lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c1t6d0"
6. Then mirror the rest of your root logical volumes
"lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c1t6d0"
etc.
7. Modify your alternate boot path
"setboot -a 8/8.6.0 # use the path of your new boot disk"
8. Edit /stand/bootconf and add your new mirrored boot disk.
That's all there is to it. You may notice that I left out any
lvlnboot commands. That is because they are not
necessary - see the man page:
"This command should be run in recovery mode (-R)
whenever the configuration of the root volume group is
affected by one of the following commands: lvextend,
lvmerge, lvreduce, lvsplit, pvmove, lvremove, vgextend,
or vgreduce (see lvextend(1M), lvmerge(1M), lvreduce(1M),
lvsplit(1M), pvmove(1M), lvremove(1M), vgextend(1M), and
vgreduce(1M)). Starting with HP-UX Release 10.0, this is
done automatically."
For Itanium architecture, follow this guide:
http://docs.hp.com/en/B2355-90950/ch06s02.html#cchgjafa
And, for 11.31, follow this:
http://docs.hp.com/en/B2355-90950/ch06s02.html#mrflv
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2008 07:06 AM
тАО01-23-2008 07:06 AM
Re: Suspect Ignite has "disappered" my LVM Mirrors
Mirroring is done at the LVOL level, so to be sure you need to inspect every single LVOL.
Example:
lvdisplay -v /dev/vg03/lvol3|more
...
Mirror copies 1
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2008 07:13 AM
тАО01-23-2008 07:13 AM
Re: Suspect Ignite has "disappered" my LVM Mirrors
My situation is/was that every logical volume on my system was mirrored and now they are all gone (I use Ignite to "backup" both the O/S and the data, since the data is stored on the tape in "pax" or tar format after the Ignite information is written on the beginning of the tape). So that being said, I have two volume groups, one with /stand / swap /var /usr etc. which is essentially my system and the other with my application/database on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2008 07:18 AM
тАО01-23-2008 07:18 AM
Re: Suspect Ignite has "disappered" my LVM Mirrors
Anyway, it could be done.
The problem is, ignite will not mirror the disks again during the restore by default.
Of course you can script this.
Now you have to re-mirror the disks again.
If you have more questions about the how-to please ask.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!