Badly need your help,i have this issue in /etc/lvmtab. We have EMC Symmetrix storage on our system. The case is one of the volume in one of our server experience a disk error ( BCV disk ) so i have to re-map a reserve disk to take the place of the defective disk. This defective this happens to be a BCV disk which we usually use for full DB synchronization for us to create a DB replica. So i re-mapped a new disk then proceeded with the disk sync but upon activating the VG using the new set of disks i keep on encountering this error "unable to locate address /dev/rdsk/c0t4d5 in /etc/lvmtab". Does anyone can help me with this.
FYI! I have done the same procedure twice in remapping the BCV disk but i'd never encounter such error as this....
thank's & kind regards,
John
Note: If you are the author of this question and wish to assign points to any of the answers, please login first.For more information on assigning points ,click
here
Check this disk is belongs to which volume group. Seems your need to do a vgextend to include this disk in the vg , or do a # vgscan -p -v -a , and check if the disk gets located ,
You will need to re-import the vg - vgexport it, then vgimport -p -s -m /tmp/yourvg.map /dev/vgXX (don't forget to mkdir /dev/vgXX and mknod the group file first)...
- Create a new VG dir and group file eg. # mkdir /dev/vg02 # mknod group c 64 0x020000 - vgimport your lun's # vgimport vg02 <your_lun_device> - vgchange your VG to active # vgchange -a y vg02 - Mount your filesystems...
Voila...
Check your /etc/lvmtab file by doing an additional # strings /etc/lvmtab To see if your lvmtab looks ok.
If your lvol names are nonstandard (i.e. NOT lvol1, lvol2, lvolx etc...). You might need to create a 'map' file to make sure the lvol names are to your liking. You should be able to create a mapfile from any VG then change it to reflect your situation. Be VERY careful with this though.