Operating System - HP-UX
1752762 Members
5113 Online
108789 Solutions
New Discussion юеВ

Re: root miirroring error

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: root miirroring error

>> tortsen i followed the pdf it looks the steps performed are similar.



No, they are not, based on what you posted.

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!   
fizan
Super Advisor

Re: root miirroring error

# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 8
Open LV 8
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4356
VGDA 4
PE Size (Mbytes) 32
Total PE 4318
Alloc PE 2278
Free PE 2040
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
VG Version 1.0
VG Max Size 2178g
VG Max Extents 69696

--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/stale
LV Size (Mbytes) 2016
Current LE 63
Allocated PE 126
Used PV 2

LV Name /dev/vg00/lvol2
LV Status available/stale
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol3
LV Status available/stale
LV Size (Mbytes) 1024
Current LE 32
Allocated PE 64
Used PV 2

LV Name /dev/vg00/lvol4
LV Status available/stale
LV Size (Mbytes) 512
Current LE 16
Allocated PE 32
Used PV 2

LV Name /dev/vg00/lvol5
LV Status available/stale
LV Size (Mbytes) 128
Current LE 4
Allocated PE 8
Used PV 2

LV Name /dev/vg00/lvol6
LV Status available/stale
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol7
LV Status available/stale
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 2

LV Name /dev/vg00/lvol8
LV Status available/stale
LV Size (Mbytes) 8192
Current LE 256
Allocated PE 512
Used PV 2


--- Physical volumes ---
PV Name /dev/disk/disk79_p2
PV Status available
Total PE 2159
Free PE 1020
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c2t1d0s2
PV Status unavailable
Total PE 2159
Free PE 1020
Autoswitch On
Proactive Polling On

fizan
Super Advisor

Re: root miirroring error

tortsen let me try again as in the pdf.
R.O.
Esteemed Contributor

Re: root miirroring error

The second disk appears as "unavailable". You might activate it with "pvchange -a y /dev/dsk/c2t1d0s2"

Regards,
"When you look into an abyss, the abyss also looks into you"
Michal Kapalka (mikap)
Honored Contributor

Re: root miirroring error

hi,

your OS is HP-UX 11.31, i would recomend use only one type of disk, legasy or agile not both.

mikap
fizan
Super Advisor

Re: root miirroring error

oh is it. so i should use legacy naming..

can you say me how to find out the legacy naming?
Torsten.
Acclaimed Contributor

Re: root miirroring error

First of all I would suggest to check the disk with

# dd if=/dev/rdsk/c2t1d0s2 of=/dev/null bs=1024

then remove this disk from vg00 and start over according to the PDF.

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!   
Michal Kapalka (mikap)
Honored Contributor
Solution

Re: root miirroring error

hi fizan,

its not so mather if you use legasy or agile, but for the configuration and clear view it is better.

mikap
Torsten.
Acclaimed Contributor

Re: root miirroring error

"/dev/rdsk/c2t1d0s2" is the legacy device file, but you should use the NEW, e.g. /dev/disk/disk5.

Find out with

# ioscan -m dsf

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!   
fizan
Super Advisor

Re: root miirroring error

--- Physical volumes ---
PV Name /dev/disk/disk79_p2
PV Status available
Total PE 2159
Free PE 1020
Autoswitch On
Proactive Polling On

PV Name /dev/dsk/c2t1d0s2
PV Status unavailable
Total PE 2159
Free PE 1020
Autoswitch On
Proactive Polling On

--------------------------------------------
/dev/dsk/c2t1d0s2
PV Status unavailable

now the added second disk have its stale partitions.

how can i clear that and re sync it.