vxdg disk group import failed with no valid log copies

vxdg disk group import failed with no valid log copies

RSY Digital World Logo

[su_heading size=”20″ margin=”10″] vxdg disk group import failed with no valid log copies [/su_heading]

In this article we are going to discuss about vxdg diskgroup import failed with no valid log copies error while trying to import disk group in veritas.We will see how we can recover and import disk group in present scenario.

Sample outout is as below.
# vxdg -Cf import <DG>
VxVM vxdg ERROR V-5-1-10978 Disk group DG: import failed:
No valid log copies in disk group

[su_heading size=”20″ margin=”10″]How to fix disk group import issue[/su_heading]

It has been seen this is happening due to UDID gets updated and if disk group contains cloned and non cloned disks.

To find out all the disks whose UDID is mis-matched you can run below commands . 

# vxdisk -q list | cut -f1 -d’ ‘ | xargs -i vxdisk -v list {} | egrep ‘^Device|^disk:|^udid:|udid_asl’ | sed ‘s/^udid: *//’ | sed ‘s/.*udid_asl=//’ | uniq –c

You have to update udid on all the disks which is obtained in above step.

# vxdisk updateudid  <disk>    

Once UDID gets updated it will mark disks as cloned tag but actually they may not be a real clone disk thus we need to set clone off for disks using below command.

# vxdisk set <disk> clone=off         

Now import is expected to work.You can go ahead and import disk group using below command.

# vxdg -Cf import <DG>

That,s it about how to import diskgroup when you are getting No valid log copies error while importing disk group.

Related Topics

[su_posts template=”templates/list-loop.php” posts_per_page=”8″ tax_term=”24″ order=”desc”]

Raj Rai

Raj Rai is an experienced IT Infrastructure Professional with more than 15 years of experience in IT Infrastructure Management. Raj Raj have keen interest in sharing his real world experience in his spare time as his social responsibility for IT infrastructure field. This is his contribution for IT infrastructure management sector for either newbie or even experienced professionals in unix linux cloud network and storage administration field.

Leave a Reply