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”]

RSY Digital World

RSY Digital World Founder & [email protected] Digital World. A UNIX Linux expert having a more than 20 years of experience in Solaris Red Hat Linux HP-UX AIX Unixware Open Server Veritas Storage Cloud Bigdata and many more in UNIX LINUX Infrastructure technologies.

Leave a Reply