- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirrored root volumes
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
Forums
Discussions
Discussions
Discussions
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
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
04-24-2006 05:42 PM
04-24-2006 05:42 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 05:46 PM
04-24-2006 05:46 PM
Re: Mirrored root volumes
Mirror copies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 05:54 PM
04-24-2006 05:54 PM
SolutionJust issue the following command.
vgdisplay -v /dev/vg00
Under Logical Volume section, If the "Allocated PE" is double of "Current LE" it means that that LV has one 1 mirror copy.Meaning it is mirrored once.If the "Allocated PE" is triple of "Current LE" it means that that LV has one 2 mirror copy.
e.g. of one way mirror...
LV Name /dev/vg00/lvol9
LV Status available/syncd
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Used PV 2
Similarly you can get the info from "lvdisplay command...
e.g.
root@ds12ov # lvdisplay /dev/vg00/lvol9
--- Logical volumes ---
LV Name /dev/vg00/lvol9
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 2048
Current LE 128
Allocated PE 256
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
Please notice the "Mirror copies" field. It says 1 here,meaning 1 way mirror. If the volume is not mirrored then the value will be "0". If it were 2 way mirror, the value would be "2". Max value can be only "2".
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 05:57 PM
04-24-2006 05:57 PM
Re: Mirrored root volumes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 06:12 PM
04-24-2006 06:12 PM
Re: Mirrored root volumes
Check this link...
For PA-RISC machines.
http://sf1000.registeredsite.com/~user793704/pdf/Manuals/LVM/RootDiskMirror.pdf
For Itanium Box,
http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5343,00.html
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 06:14 PM
04-24-2006 06:14 PM
Re: Mirrored root volumes
Please award points, if the thread has helped you.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2006 06:15 PM
04-24-2006 06:15 PM
Re: Mirrored root volumes
Mirroring root, boot and primary swap
=====================================
pvcreate -B /dev/dsk/c0t3d0
vgextend /dev/vg00 /dev/dsk/c0t3d0
mkboot /dev/dsk/c0t3d0
mkboot -a "hpux (;0)/stand/vmunix" /dev/rdsk/c0t3d0
lvextend -m 1 /dev/vg00/boot /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/root /dev/dsk/c0t3d0
lvextend -m 1 /dev/vg00/prswaplv /dev/dsk/c0t3d0
Reactivate disks with vgchange -a y
Basically, you need to run lvextend -m 1 to any logical volume that you want to mirror. This is applicable to other logical volumes also.