vds_add_vd() error and frozen guest domain

Hello all,

trying to setup a guest domain but getting a frozen domain at the end of the process. Seems to be a combination of some other issues on the forum. Commands run...

# ldm add-domain myldom1

# ldm add-vcpu 8 myldom1

# ldm add-memory 4G myldom1

# ldm add-vnet vnet1 primary-vsw0 myldom1

# ldm add-vdsdev /dev/dsk/c0t3d0s2 vol1@primary-vds0

# ldm add-vdisk vdisk1 vol1@primary-vds0 myldom1

# ldm set-variable auto-boot\?=false myldom1

# ldm set-variable boot-device=/virtual-devices@100/channel-devices@200/disk@0 myldom1

# ldm bind-domain myldom1

# ldm list-domain

Name StateFlagsConsVCPU MemoryUtil Uptime

primary active-t-cvSP42G3.2% 6m

myldom1 bound--500084G

# ldm list-bindings myldom1

Name:myldom1

State: bound

Flags:

OS:

Util:

Uptime:

Vcpu:8

vidpidutil strand

04 100%

15 100%

26 100%

37 100%

48 100%

59 100%

610100%

711100%

Memory: 4G

real-addrphys-addrsize

0x80000000x880000004G

Vars:auto-boot?=false

boot-device=/virtual-devices@100/channel-devices@200/disk@0

Vldcc: vldcc0 [Domain Services]

service: primary-vldc0 @ primary

[LDC: 0x0]

Vnet:vnet1

mac-addr=0:14:4f:f9:f7:be

service: primary-vsw0 @ primary

[LDC: 0x1]

Vdisk: vdisk1 vol1@primary-vds0

service: primary-vds0 @ primary

[LDC: 0x2]

Vcons: [via LDC:3]

myldom1@primary-vcc0 [port:5000]

# ldm start-domain myldom1

LDom myldom1 started

# ldm list-domain

Name StateFlagsConsVCPU MemoryUtil Uptime

primary active-t-cvSP42G0.6% 7m

myldom1 active-t500084G100% 7s

# telnet localhost 5000

Trying 127.0.0.1...

telnet: connect to address 127.0.0.1: Connection refused

Trying ::1...

telnet: Unable to connect to remote host: Network is unreachable

and in /var/adm/messages...

May 23 11:38:11 isdsyddev13 vds: [ID 556514 kern.info] vds_add_vd(): Failed to add vdisk ID 0

Tried stopping/unbinding the domain and then rebooting the primary domain, still doesn't work. Removed the guest domain, rebooted, recreated, still doesn't work. Any ideas on what else I can try? Thanks

[2314 byte] By [paebersolda] at [2007-11-27 5:10:37]
# 1

You don't mention what OS you are running. If it is S10 11/06 (U3) - do you have patch 124921-02 installed ?

The configuration seems fine. Could /dev/dsk/c0t3d0s2 be in use elsewhere (e.g. mounted on the service domain).

Usually the "Failed to add vdisk" message has another message just before it which gives more of a hint as to what's wrong.

Are there any other messages in /var/adm/messages ?

Could you post the output of :

# prtconf -bv

# showrev -p | grep 124921

# svcs vntsd

# ldm ls-services

merwicka at 2007-7-12 10:30:46 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 2

Hi merwick,

thanks for the reply. Running sol10 11/06 (u3) with patch 124921. The disk wasn't in use anywhere else but vxvm is installed on the box which got me thinking. Seems I was getting hit by the veritas DMP issue (bug 6522993) even though the disk in question wasn't being used by vxvm directly. A "vxdisk rm" solved the issues. So first guest domain up and running :) Happy days. Uninstalled vxvm from the system as well and am off to try out zfs as boot disks (as described in the Ldom admin guide). Thanks again.

paebersolda at 2007-7-12 10:30:46 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...
# 3

I had a similar problem to this. Could not telnet to the guest domain, but

I was NOT getting the vdisk message. The suggesting to

check:

# svcs vntsd

STATE STIMEFMRI

disabled19:43:23 svc:/ldoms/vntsd:default

# svcadm enable ldoms/vntsd

# svcs vntsd

STATE STIMEFMRI

online 19:54:03 svc:/ldoms/vntsd:default

showed that vntsd was offline for some reason. Started it and my guest

ldom worked.

Thanks,

slk350a at 2007-7-12 10:30:46 > top of Java-index,Administration Tools,Logical Domains for CoolThreads Servers...