If I have configured an AI server that advertises the archives at

 http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86/

I issue  the following command:

virsh destroy myguest
virsh undefine myguest
virt-install -n myguest --ram=1024 --vcpus=1 \
        -f /dev/zvol/dsk/rpool/guest \
        -l http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86/ \
        
--autocf="install_service=x86_install,install_media=http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86/
 
" \
            --mac="0:21:28:24:b7:e6" --os-variant=opensolaris

lofi mount of /usr fails and the installation fails.
Are the options that I am passing to the virt-install command correct 
and why do I have to provide value for "-l" as well as "install_media" 
for the install to go even this far ?

Thanks,

Rao.


Starting install...
Retrieving file unix...   100% |=========================| 1.4 MB    
00:00    
Retrieving file x86.micro 100% |=========================|  57 MB    
00:34    
Creating domain...                                                 0 B 
00:03
Connected to domain 65
Escape character is '^]'
v3.3.2-rc1-xvm-debu chgset 'Thu Jun 11 01:08:29 2009 -0700 
18432:56a9508086df'
SunOS Release 5.11 Version snv_111b 32-bit
Copyright 1983-2009 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
Hostname: dhcp-10-1-232-80
Remounting root read/write
Probing for device nodes ...
Preparing automated install image for use
Downloading solaris.zlib archive
--11:40:23--  http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86/
           => `/tmp/solaris.zlib'
Connecting to 10.10.46.220:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,000 [text/html]

100%[====================================>] 1,000         
--.--K/s            

11:40:27 (71.58 MB/s) - `/tmp/solaris.zlib' saved [1000/1000]

--11:40:27--  
http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86//solaris.zlib
           => `/tmp/solaris.zlib'
Reusing existing connection to 10.10.46.220:5555.
HTTP request sent, awaiting response... 200 OK
Length: 80,057,856 (76M) [text/plain]

100%[====================================>] 80,057,856     1.64M/s    
ETA 00:00

11:41:21 (1.42 MB/s) - `/tmp/solaris.zlib' saved [80057856/80057856]


FINISHED --11:41:21--
Downloaded: 80,058,856 bytes in 2 files
Downloading solarismisc.zlib archive
--11:41:21--  http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86/
           => `/tmp/solarismisc.zlib'
Connecting to 10.10.46.220:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,000 [text/html]

100%[====================================>] 1,000         
--.--K/s            

11:41:21 (65.08 MB/s) - `/tmp/solarismisc.zlib' saved [1000/1000]

--11:41:21--  
http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86//solarismisc.zlib
           => `/tmp/solarismisc.zlib'
Reusing existing connection to 10.10.46.220:5555.
HTTP request sent, awaiting response... 200 OK
Length: 3,929,600 (3.7M) [text/plain]

100%[====================================>] 3,929,600      
1.62M/s            

11:41:23 (1.61 MB/s) - `/tmp/solarismisc.zlib' saved [3929600/3929600]


FINISHED --11:41:23--
Downloaded: 3,930,600 bytes in 2 files
--11:41:23--  http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86/
           => `/tmp/.image_info'
Connecting to 10.10.46.220:5555... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,000 [text/html]

100%[====================================>] 1,000         
--.--K/s            

11:41:23 (64.13 MB/s) - `/tmp/.image_info' saved [1000/1000]

--11:41:23--  
http://10.10.46.220:5555/export/aiserver/osol-0906-ai-x86//.image_info
           => `/tmp/.image_info'
Reusing existing connection to 10.10.46.220:5555.
HTTP request sent, awaiting response... 200 OK
Length: 49 [text/plain]

100%[====================================>] 49            
--.--K/s            

11:41:23 (4.75 MB/s) - `/tmp/.image_info' saved [49/49]


FINISHED --11:41:23--
Downloaded: 1,049 bytes in 2 files
Couldn't lofi mount /usr filesystem
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

Enter user name for system maintenance (control-d to bypass): root

Enter root password for system maintenance (control-d to bypass):
single-user privilege assigned to root on /dev/console.
Entering System Maintenance Mode

Jun 22 11:41:46 su: 'su root' succeeded for root on /dev/console
-bash: /usr/sbin/quota: No such file or directory
Sun Microsystems Inc.    SunOS 5.11    snv_111b    November 2008
-bash: /bin/mail: No such file or directory
-bash: /usr/bin/hostname: No such file or directory
root@:~# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 
8232 index 1
    inet 127.0.0.1 netmask ff000000
xnf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 
index 2
    inet 10.1.232.80 netmask fffffc00 broadcast 10.1.235.255
    ether 0:21:28:24:b7:e6
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 
8252 index 1
    inet6 ::1/128
-bash: /usr/bin/hostname: No such file or directory


Reply via email to