182Creating and administering disk groups

Handling disks with duplicated identifiers

As the cloned disk EMC0_15 is not tagged as t1, it is not imported. Note that the state of the imported cloned disks has changed from online udid_mismatch

to online clone_disk.

By default, the state of imported cloned disks is shown as online clone_disk. This can be removed by using the vxdisk set command as shown here:

#vxdisk set EMC0_8 clone=off

#vxdisk -o alldgs list

DEVICE

TYPE

DISK

GROUP

STATUS

EMC0_4

auto:cdsdisk

mydg01

mydg

online

EMC0_6

auto:cdsdisk

mydg02

mydg

online

EMC0_8

auto:cdsdisk

mydg03

newdg

online

EMC0_15

auto:cdsdisk

-

(mydg)

online udid_mismatch

EMC0_18

auto:cdsdisk

mydg03

mydg

online

EMC0_24

auto:cdsdisk

mydg01

newdg

online clone_disk

In the next example, none of the disks (neither cloned nor non-cloned) have been imported:

#vxdisk -o alldgs list

DEVICE

TYPE

DISK

GROUP STATUS

EMC0_4

auto:cdsdisk

-

(mydg) online

EMC0_6

auto:cdsdisk

-

(mydg) online

EMC0_8

auto:cdsdisk

-

(mydg) online udid_mismatch

EMC0_15

auto:cdsdisk

-

(mydg) online udid_mismatch

EMC0_18

auto:cdsdisk

-

(mydg) online

EMC0_24

auto:cdsdisk

-

(mydg) online udid_mismatch

To import only the cloned disks that have been tagged as t1 into the mydg disk group:

#vxdg -o useclonedev=on -o tag=t1 -o updateid import mydg

#vxdisk -o alldgs list

DEVICE

TYPE

DISK

GROUP

STATUS

EMC0_4

auto:cdsdisk

-

(mydg) online

EMC0_6

auto:cdsdisk

-

(mydg)

online

EMC0_8

auto:cdsdisk

mydg03

mydg

online clone_disk

EMC0_15

auto:cdsdisk

-

(mydg) online udid_mismatch

EMC0_18

auto:cdsdisk

-

(mydg)

online

EMC0_24

auto:cdsdisk

mydg01

mydg

online clone_disk

As in the previous example, the cloned disk EMC0_15 is not tagged as t1, and so it is not imported.

Page 181
Image 181
HP Veritas Volume Manager 5.0 -UX 11i v3 manual # vxdisk set EMC08 clone=off # vxdisk -o alldgs list