- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to check root partation is mirrored or not...
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
тАО08-13-2009 05:26 AM
тАО08-13-2009 05:26 AM
Re: How to check root partation is mirrored or not?
Because different controllers are using different commands, you should consider to post an "ioscan -fn" here to clarify.
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
тАО08-13-2009 10:03 AM
тАО08-13-2009 10:03 AM
Re: How to check root partation is mirrored or not?
LV Status available/syncd
LV Size (Mbytes) 40960
Current LE 10240
Allocated PE 20480
Used PV 4
---------------------------------------------
so how to find in which 4 pv its logical extents are spread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-13-2009 10:10 AM
тАО08-13-2009 10:10 AM
Re: How to check root partation is mirrored or not?
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0s2 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
Root: lvol3 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
Swap: lvol2 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
Dump: lvol2 on: /dev/dsk/c2t1d0s2, 0
its mirored, primary is /dev/dsk/c2t1d0s2 ,
secondary mirror is /dev/dsk/c2t0d0s2 ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 03:25 AM
тАО08-17-2009 03:25 AM
Re: How to check root partation is mirrored or not?
Thanks all for ur views.. But i am bit confused :(
Finlay seeing all the above comments i came to know that my root partation is not mirrored :)
/dev/vg00/lvol3 589824 382256 206008 65% /
bash-4.0# lvdisplay -v /dev/vg00/lvol3 | more
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 576
Current LE 18
Allocated PE 18
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 18 18
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00138 current
00001 /dev/dsk/c2t0d0 00139 current
00002 /dev/dsk/c2t0d0 00140 current
00003 /dev/dsk/c2t0d0 00141 current
00004 /dev/dsk/c2t0d0 00142 current
00005 /dev/dsk/c2t0d0 00143 current
00006 /dev/dsk/c2t0d0 00144 current
00007 /dev/dsk/c2t0d0 00145 current
00008 /dev/dsk/c2t0d0 00146 current
00009 /dev/dsk/c2t0d0 00147 current
00010 /dev/dsk/c2t0d0 00148 current
00011 /dev/dsk/c2t0d0 00149 current
00012 /dev/dsk/c2t0d0 00150 current
00013 /dev/dsk/c2t0d0 00151 current
00014 /dev/dsk/c2t0d0 00152 current
00015 /dev/dsk/c2t0d0 00153 current
00016 /dev/dsk/c2t0d0 00154 current
00017 /dev/dsk/c2t0d0 00155 current
1) after seeing mirror copies 0, Since vol3 is part of vg00 i need to mirror entire vg00 for root mirroring, if i am not worng.
2) However, i could see disk c2t0d0 is a primary disk, how can i see the other alternative disk for mirroring?
bash-4.0# ioscan -C disk
H/W Path Class Description
=====================================================
0/0/2/0.0.0.0 disk TEAC DV-28E-N
0/1/1/0.0.0 disk HP 146 GMAW3147NC
0/1/1/0.1.0 disk HP 146 GMAW3147NC
3) In case if i found a new disk, how could i do root mirroring?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 03:48 AM
тАО08-17-2009 03:48 AM
Re: How to check root partation is mirrored or not?
Finlay seeing all the above comments i came to know that my root partation is not mirrored :)
/dev/vg00/lvol3 589824 382256 206008 65% /
bash-4.0# lvdisplay -v /dev/vg00/lvol3 | more
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0 <<<<<===========Its not mirrored
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 576
Current LE 18
Allocated PE 18
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c2t0d0 18 18 <<<==========Its not mirrored
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c2t0d0 00138 current
00001 /dev/dsk/c2t0d0 00139 current
1) after seeing mirror copies 0, Since vol3 is part of vg00 i need to mirror entire vg00 for root mirroring, if i am not worng??
==>If you want to make it as a alternate boot volume, you should mirror entire VG00,otherwise no use for mirroring.\
So you shoul mirror entire volume group.
2) However, i could see disk c2t0d0 is a primary disk, how can i see the other alternative disk for mirroring?
bash-4.0# ioscan -C disk
H/W Path Class Description
=====================================================
0/0/2/0.0.0.0 disk TEAC DV-28E-N
0/1/1/0.0.0 disk HP 146 GMAW3147NC <<<<====This is your primary disk
0/1/1/0.1.0 disk HP 146 GMAW3147NC <<<<====Alternate disk
==>use
#ioscan -fnC disk
and find the disk with hardware path 0/1/1/0.1.0, this is your alternate disk.Ensure that this disk is not used for any other volume group or any application before mirroring.
3) In case if i found a new disk, how could i do root mirroring?
==>With above output, I could tell it is PA-RISC based server, so follow steps for "Mirroring in PA-RISC servers" which I provided above, replace the actuall disk with your alternate disk.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 04:22 AM
тАО08-17-2009 04:22 AM
Re: How to check root partation is mirrored or not?
I could able to compleate half of this..
When i trying to extend my logical volume, i am geting the below error.
bash-4.0# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.
Any idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 04:32 AM
тАО08-17-2009 04:32 AM
Re: How to check root partation is mirrored or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 04:42 AM
тАО08-17-2009 04:42 AM
Re: How to check root partation is mirrored or not?
There is no Mirror software installed on your system.
Check the below command output,
#swlist -l product|grep -i mirror
You have to install the product to enable the mirroring.
Regards,
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 05:02 AM
тАО08-17-2009 05:02 AM
Re: How to check root partation is mirrored or not?
For mirroring there is no need to go into Single User Mode.
You need to install mirror disk ux software which you need to BUY from HP.
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-17-2009 05:21 AM
тАО08-17-2009 05:21 AM
Re: How to check root partation is mirrored or not?
Could some one tell me from where i can download this mirror?