1752519 Members
4866 Online
108788 Solutions
New Discussion юеВ

Re: mirroring

 
KINGSLEY_1
Regular Advisor

mirroring

Dear Sirs,

 

My secondary hardrive in my rx8620 running hp-ux 11.23 has crashed. As time is not on our side to acquire a new harddrive for replacement, we have another server which had the OS installed but that server was nerver used. We intend to use this drive for replacement.

 

Since it already has the OS installed what should we do to get ride of the OS before using it for mirroring.

 

Thank you.

 

Kingsley

6 REPLIES 6
Torsten.
Acclaimed Contributor

Re: mirroring

Don't care about the data on this disk. vgcfgrestore will overwrite the existing configuration. Just replace the bad disk as usual:

When_Good_Disks_Go_Bad_WP
http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.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!   
KINGSLEY_1
Regular Advisor

Re: mirroring

Hi !

 

I have been able to mirror my root disk successfully. But because the root disk complained of media failure, the system was unstable and lvol8/var couldn't syncronised.

 

Any clue on how to solve the stale lvol8 problem.

 

Thank you.

 

Kingsley

Torsten.
Acclaimed Contributor

Re: mirroring

>> stale lvol8 problem


More details, please!

# vgdisplay -v ...
# lvdisplay -v ...


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!   
KINGSLEY_1
Regular Advisor

Re: mirroring

#vgdisplay -v
--- 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               4328
VGDA                        4
PE Size (Mbytes)            16
Total PE                    8636
Alloc PE                    7434
Free PE                     1202
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0

   --- Logical volumes ---
   LV Name                     /dev/vg00/lvol1
   LV Status                   available/syncd
   LV Size (Mbytes)            1024
   Current LE                  64
   Allocated PE                128
   Used PV                     2

   LV Name                     /dev/vg00/lvol2
   LV Status                   available/syncd
   LV Size (Mbytes)            16384
   Current LE                  1024
   Allocated PE                2048
   Used PV                     2

   LV Name                     /dev/vg00/lvol3
   LV Status                   available/syncd
   LV Size (Mbytes)            2048
   Current LE                  128
   Allocated PE                256
   Used PV                     2

   LV Name                     /dev/vg00/lvol4
   LV Status                   available/syncd
   LV Size (Mbytes)            5008
   Current LE                  313
   Allocated PE                626
   Used PV                     2

   LV Name                     /dev/vg00/lvol5
   LV Status                   available/syncd
   LV Size (Mbytes)            8000
   Current LE                  500
   Allocated PE                1000
   Used PV                     2

   LV Name                     /dev/vg00/lvol6
   LV Status                   available/syncd
   LV Size (Mbytes)            4000
   Current LE                  250
   Allocated PE                500
   Used PV                     2

   LV Name                     /dev/vg00/lvol7
   LV Status                   available/syncd
   LV Size (Mbytes)            9008
   Current LE                  563
   Allocated PE                1126
   Used PV                     2

   LV Name                     /dev/vg00/lvol8
   LV Status                   available/stale
   LV Size (Mbytes)            14000
   Current LE                  875
   Allocated PE                1750
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/dsk/c0t6d0s2
   PV Status                   available
   Total PE                    4318
   Free PE                     601
   Autoswitch                  On

   PV Name                     /dev/dsk/c2t6d0s2
   PV Status                   available
   Total PE                    4318
   Free PE                     601
   Autoswitch                  On

 

 

 

#lvdisplay /dev/vg00/lvol8
--- Logical volumes ---
LV Name                     /dev/vg00/lvol8
VG Name                     /dev/vg00
LV Permission               read/write
LV Status                   available/stale
Mirror copies               1
Consistency Recovery        MWC
Schedule                    parallel
LV Size (Mbytes)            14000
Current LE                  875
Allocated PE                1750
Stripes                     0
Stripe Size (Kbytes)        0
Bad block                   on
Allocation                  strict
IO Timeout (Seconds)        default

Torsten.
Acclaimed Contributor

Re: mirroring

Now the question is: Is the stale extend on the "original" or the just replaced disk? (lvdisplay -v will tell)

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!   
KINGSLEY_1
Regular Advisor

Re: mirroring

I am not very sure but I think it is on the old disk since it started complaing of me media failure

 

kingsley