Operating System - HP-UX
1826615 Members
2873 Online
109695 Solutions
New Discussion

Re: root miirroring error

 
SOLVED
Go to solution
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.
R.O.
Esteemed Contributor

Re: root miirroring error

Hi,

I think you should:
- break the mirror,
- vgreduce the disk /dev/dsk/c2t1d0s2
- Check if it is ok with dd and the redo the steps from the beginig.
- After that, vgextend the vg00 with the agile device file and then, redo the mirror.

Regards,
"When you look into an abyss, the abyss also looks into you"
fizan
Super Advisor

Re: root miirroring error

# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST314670 7LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GMAP3147N C
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 146 GMAP3147N C
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0

# dmesg |grep HW
Boot device's HP-UX HW path is: 0/1/1/0.0.0

I mirrored the vg00 done.
thanks to all who helped me in this activity.