1834646 Members
2296 Online
110069 Solutions
New Discussion

Re: vgsync get failed.

 
tempsample
Frequent Advisor

vgsync get failed.

One of the disk c0t8d0  got failed.

after replacing the failed disk,i ran the below commands,.

#vgcfgrestore -n /dev/vg01 /dev/rdsk/c0t8d0

#vgchange -a y /dev/vg01

but after doing vgsync I am getting below error

#vgsync /dev/vg01

vgsync: Couldn't re-synchronize stale partitions of the logical volume:
I/O error
vgsync: Couldn't resynchronize logical volume "/dev/vg01/lvol1".
vgsync: Couldn't resynchronize volume group "/dev/vg01".


I can see the difference in diskinfo command in  product and size used in  vg01.

is that caused vgsync to get failed ?

 

#diskinfo /dev/rdsk/c0t8d0
SCSI describe of /dev/rdsk/c0t8d0:
             vendor: SEAGATE
         product id: ST318436LC
               type: direct access
               size: 17783240 Kbytes
   bytes per sector: 512


#diskinfo /dev/rdsk/c1t8d0
SCSI describe of /dev/rdsk/c1t8d0:
             vendor: HP
         product id: 9.10GB A 80-S94C
               type: direct access
               size: 8886762 Kbytes
   bytes per sector: 512

---------------------------------------------------------

vgdisplay -v vg01

--- Volume groups ---
VG Name                     /dev/vg01
VG Write Access             read/write
VG Status                   available
Max LV                      255
Cur LV                      3
Open LV                     3
Max PV                      16
Cur PV                      2
Act PV                      2
Max PE per PV               4341
VGDA                        4
PE Size (Mbytes)            4
Total PE                    6509
Alloc PE                    1900
Free PE                     4609
Total PVG                   0
Total Spare PVs             0
Total Spare PVs in use      0

   --- Logical volumes ---
   LV Name                     /dev/vg01/lvol1
   LV Status                   available/stale
   LV Size (Mbytes)            1000
   Current LE                  250
   Allocated PE                500
   Used PV                     2

   LV Name                     /dev/vg01/lvol2
   LV Status                   available/stale
   LV Size (Mbytes)            1000
   Current LE                  250
   Allocated PE                500
   Used PV                     2

   LV Name                     /dev/vg01/lvol3
   LV Status                   available/stale
   LV Size (Mbytes)            1800
   Current LE                  450
   Allocated PE                900
   Used PV                     2


   --- Physical volumes ---
   PV Name                     /dev/dsk/c0t8d0
   PV Status                   available
   Total PE                    4340
   Free PE                     3390

   PV Name                     /dev/dsk/c1t8d0
   PV Status                   available
   Total PE                    2169
   Free PE                     1219

 

2 REPLIES 2
tempsample
Frequent Advisor

Re: vgsync get failed.

no problem withh dd also.

 

 dd if=/dev/dsk/c1t8d0 of=/dev/null bs=1024k
48+0 records in
48+0 records out

  dd if=/dev/dsk/c0t8d0 of=/dev/null bs=1024k
79+0 records in
79+0 records out

Torsten.
Acclaimed Contributor

Re: vgsync get failed.

You replaced /dev/rdsk/c0t8d0?

 

Check for stales on the other disk:

 

# pvdisplay -v /dev/dsk/c1t8d0 | grep stale


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!