cancel
Showing results for 
Search instead for 
Did you mean: 

putting a disk under vxvm control fails / solaris ldom

michael_sc
Level 2

I am trying to put a disk under vxvm control on a ldom (=virtual machine) on Solaris 11 (11/11) sparc running on a SUN T2000, without success.

It is a single node configuration, no cluster. Storage foundation level is 6.0PR1.

"vxdisk list" returns:

DEVICE TYPE DISK GROUP STATUS

c2d1s2 auto:ZFS - - ZFS

c2d2s2 auto:none - - online invalid

c2d3s2 auto:none - - online invalid

disk_0 auto:simple - - online invalid

and "vxdiskadd disk_0" returns

.. VxVM ERROR V-5-2-121 Creating disk group vgroup with disk device disk_0 failed.

VxVM vxdg ERROR V-5-1-585 Disk group vgroup: cannot create: Disk private region contents are invalid

In the "vxdiskadd" dialog I have specified:

"vgroup" for "Which disk group?"

"y" for "Create a new group named vgroup?"

"n" for "Create the disk group as a CDS disk group?"

"y" for "Use a default disk name for the disk?"

"n" for "Add disk as a spare disk for vgroup?"

"y" for "Exclude disk from hot-relocation use?"

"n" for "Add site tag to disk?"

"n" for "Encapsulate this device?"

"y" for "Instead of encapsulating, initialize?"

"sliced" for "Enter the desired format"

65536 for "Enter desired private region length"

 

Changing the "desired format" to "simple" does not change anything.

The disk_0 represents a build in, virtualized, whole physical disk of 72 GB in size, w/o any data or defined slices, except for slice 2 of course.

 

Afterwards, when selecting the disk using the "format" cmd and specifying "partion", then "print" returns:

Current partition table (original):

Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part Tag Flag Cylinders Size Blocks

0 unassigned wm 0 0 (0/0/0) 0

1 unassigned wm 0 0 (0/0/0) 0

2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312

3 - wu 1 - 7 34.78MB (7/0/0) 71232

4 - wu 8 - 14086 68.32GB (14079/0/0) 143267904

5 unassigned wm 0 0 (0/0/0) 0

6 unassigned wm 0 0 (0/0/0) 0

7 unassigned wm 0 0 (0/0/0) 0

This looks strange, I believe.

 

Any idea how to diagnose this further or better how to fix this?

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

You need to initialize the disk first.

vxdisksetup -i disk_0 format=sliced

(PS - why don't you want cds disk?)

If this is successful, you can create diskgroup and add disk:

vxdg init vgroup vgroup01=disk_0 cds=off

View solution in original post

4 REPLIES 4

Marianne
Level 6
Partner    VIP    Accredited Certified

You need to initialize the disk first.

vxdisksetup -i disk_0 format=sliced

(PS - why don't you want cds disk?)

If this is successful, you can create diskgroup and add disk:

vxdg init vgroup vgroup01=disk_0 cds=off

Venkata_Reddy_C
Level 4
Employee

Please note 6.0RP1 is not qulaified to run Solaris 11. You should use 6.0PR1 or 6.0.1 to work on Solaris 11.

 

Thanks,

Venkat

michael_sc
Level 2

That solved the problem. Thanks a lot.

michael_sc
Level 2

I meant 6.0PR1 (not RP1), sorry. Corrected my initial post.