1832908 Members
3753 Online
110048 Solutions
New Discussion

boot mirror disk fail

 
rajeevkammath
Occasional Contributor

boot mirror disk fail

Hi,masters

i have a 9000/800/K580 server which is having vg00 with two disks
one disk was failed and i replaced disk with same id
i have 8 lvs in vg00
poblem is it doesnt have entry of missing disk c1t6d0 in lvmtab
when i cheked vgdisplay 0f vg00 it shows only one disk c1t5d0
when i gave lvlnboot -v it gives following message
lvlnboot: Warning: Can not determine all Physical Volumes on which mirrored copies of
the Logical Volume are located. "/etc/lvmtab" is missing Physical Volumes.
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t5d0 (10/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t5d0
Root: lvol3 on: /dev/dsk/c1t5d0
Swap: lvol2 on: /dev/dsk/c1t5d0
Dump: lvol2 on: /dev/dsk/c1t5d0, 0

when gave vgcfg restore it restored the configuration successfully to /dev/rdsk/c1t5d0

vgchange -a y /dev/vg00 was successfull
but vgsync /dev/vg00 was givind errors that it could not resychronize logical volumes "/dev/vg00/lvol1" upto lvol8

now when i give pvcreate -B /dev/rdsk/c1t6d0 it gives errror pvcreate: The physical volume already belongs to a volume group
pls tell me what i have to do in this condition without rebooting the server..(because server it running critical application from which other three servers are accessing data online )

rgds

rajeev
3 REPLIES 3
G. Vrijhoeven
Honored Contributor

Re: boot mirror disk fail

Hi,

If you do a pvcreate on a disk that was part of a vg, you will get this message. If you do a pvcreate -f -B it is overruled.
you can check using pvdisplay command to make sure it is not part of a volumegroup. If not just add the -f flag.

HTH,

Gideon
Sanjay_6
Honored Contributor

Re: boot mirror disk fail

Hi,

Can you post the output of strings /etc/lvmtab command.

Regds
Sanjiv Sharma_1
Honored Contributor

Re: boot mirror disk fail