Operating System - HP-UX
1834665 Members
2588 Online
110069 Solutions
New Discussion

Unable Backup BCV volume Group- pls help

 
SOLVED
Go to solution
Johnson Punniyalingam
Honored Contributor

Unable Backup BCV volume Group- pls help

Hi All,

I have Clarion CX500 "EMC" disk "/dev/rdsk/C17t0d1" attached

we are performing BCV backup of the disk using "DP" recently we have failed backup,

please see the attachments for backup.logs
have attached "

Rgds,
Johnson
Problems are common to all, but attitude makes the difference
6 REPLIES 6
Johnson Punniyalingam
Honored Contributor

Re: Unable Backup BCV volume Group- pls help

attachemnet for
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Unable Backup BCV volume Group- pls help

Please see below messages - Thank you

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:15
mkdir: cannot create /dev/BCVvg01: File exists

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:15
mknod: File exists

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:15
vgchgid: disk "/dev/rdsk/c17t0d1" is already in vg "/dev/BCVvg01".

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:15
vgimport: Volume group "/dev/BCVvg01" already exists in the "/etc/lvmtab" file.

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:15
vgchange: Warning: Couldn't attach to the volume group physical volume "/dev/dsk/c17t0d1":

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:15
Cross-device link

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
vgchange: Warning: couldn't query physical volume "/dev/dsk/c17t0d1":

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
The specified path does not correspond to physical volume attached to

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
this volume group

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
vgchange: Couldn't query the list of physical volumes.

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
vgchange: Couldn't activate volume group "/dev/BCVvg01":

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
Quorum not present, or some physical volume(s) are missing.

[Normal] From: INET@hupa01 "hupa01" Time: 10/29/08 03:46:16
Problems are common to all, but attitude makes the difference
Ninad_1
Honored Contributor
Solution

Re: Unable Backup BCV volume Group- pls help

Hi,

This is my analysis of the problem faced by you.
You did not export the VGs prior to synching the BCVs, hence the VGID in the /etc/lvmtab was as per the VGID of the BCVvg01 prior to sync.
After you synched the BCVs (while still not exported from the server) the VGID of the BCV PVOL (I dont know the term used in EMC - this means the source volume of your sync ) will be synched to your BCV and hence the BCVvg01 will also have the same VGID as that of your source.
Now after you split the BCV and then try to import the VG - it complains saying the /dev/BCVvg01 directory exists, VG is already present in /etc/lvmtab etc etc because you had not exported the VG in the first place.
Also the cross-device link error I believe is because of the mismatch of the VGID on the BCV disk being same as that of your source disk which is erronous as per /etc/lvmtab.

So in short the resolution would be - do an export of the BCVvg01 (assuming that you have already unmounted the filesystems)
Then run your script to import it and see if it works now.

Regards,
Ninad
Ninad_1
Honored Contributor

Re: Unable Backup BCV volume Group- pls help

Hi,

Sorry - a small correction in the resolution suggested.
after exporting the VG - please run the commands manually that have been used in the script
-----------
/bin/mkdir /dev/BCVvg01

/usr/sbin/mknod /dev/BCVvg01/group c 64 0x070000

/usr/sbin/vgchgid /dev/rdsk/c17t0d1

/usr/sbin/vgimport /dev/BCVvg01 /dev/dsk/c17t0d1 >&1

/usr/sbin/vgchange -a y /dev/BCVvg01

/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol1
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol2
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol3
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol4
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol5
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol6
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol7
/usr/sbin/fsck -F vxfs /dev/BCVvg01/lvol8

/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol1 /BCV/PDN/oradata/db01
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol2 /BCV/opt/quest
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol3 /BCV/PDN/oradata/db02
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol4 /BCV/PRD/SAP
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol5 /BCV/PDN/oradata/db03
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol6 /BCV/PDN/oradata/admin
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol7 /BCV/PDN/oradata/archlog
/usr/sbin/mount -F vxfs /dev/BCVvg01/lvol8 /BCV/PDN/oradata/dba
--------------------------------

and NOT the whole script, as I mentioned by mistake in my earlier post.

Regards,
Ninad
Johnson Punniyalingam
Honored Contributor

Re: Unable Backup BCV volume Group- pls help

Hi Ninad,

Thanks for your reply,

requested downtime- yesterday and have rebooted the server and re-run backup . while re-run backup could see script "posexex_bkup.emc" has completed on the Host,

/usr/sbin/umount /BCV/PDN/oradata/db01
/usr/sbin/umount /BCV/opt/quest
/usr/sbin/umount /BCV/PDN/oradata/db02
/usr/sbin/umount /BCV/PRD/SAP
/usr/sbin/umount /BCV/PDN/oradata/db03
/usr/sbin/umount /BCV/PDN/oradata/admin
/usr/sbin/umount /BCV/PDN/oradata/archlog
/usr/sbin/umount /BCV/PDN/oradata/dba

#Deactivating the BCV Volume Group and exporting out
/usr/sbin/vgchange -a n /dev/BCVvg01
/usr/sbin/vgexport /dev/BCVvg01

=============================================
I have checked the below also

root@hupa01:/root 1003# date
Wed Oct 29 15:05:32 SST 2008


# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t6d0
/dev/dsk/c2t6d0
/dev/vgemc
/dev/dsk/c17t0d0

# vgdisplay -v /dev/BCVvg01 |more
vgdisplay: Volume group "/dev/BCVvg01" does not exist in the "/etc/lvmtab" file.
vgdisplay: Cannot display volume group "/dev/BCVvg01".

by right "to-night" backup should trigger properly "becoz" ""posexex_bkup.emc"" has vgexport /dev/BCVvg01 and deactivated,

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
Johnson Punniyalingam
Honored Contributor

Re: Unable Backup BCV volume Group- pls help

Hi Ninad

Thanks for you valuable time and response

Thanks,
Johnson
Problems are common to all, but attitude makes the difference