You may be running into a bug listed in Alexandre's blog 
http://blogs.sun.com/achartre/category/LDoms  see section under File 
which will list the bug.  What update of Solaris and LDOM version are 
you running?

Brad.....

Ramesh Mudradi wrote:
> Any help would be greately appreciated. I am having issue while jumpstarting 
> a guest domain, fails with the disk label error. Virtual disk is a file image 
> on a zfs file system.
>
> Checking rules.ok file...
> Using profile: disk0_ldom_flar
> Executing JumpStart preinstall phase...
> Searching for SolStart directory...
> Checking rules.ok file...
> Using begin script: install_begin
> Using finish script: patch_finish
> Executing SolStart preinstall phase...
> Executing begin script "install_begin"...
> Begin script install_begin execution completed.
>
> Processing profile
>         - Opening Flash archive
>         - Validating Flash archive
>         - Selecting all disks
>         - Configuring boot device
>         - Configuring / (c0d0s0)
>         - Configuring swap (c0d0s1)
>         - Configuring /u0 (c0d0s5)
>
> Verifying disk configuration
>         - WARNING: Changing the system's default boot device in the EEPROM
>
> Verifying space allocation
>         NOTE: 1 archives did not include size information
>
> Preparing system for Flash install
>
> Configuring disk (c0d0)
>         - Creating Solaris disk label (VTOC)
>
> ERROR: Could not create Solaris disk label (VTOC)
>
> ERROR: Could not label disks
>
> ERROR: Could not update disks with new configuration
>
> ERROR: Flash installation failed
> Solaris installation program exited.
> # format
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
>        0. c0d0 <SUN-DiskImage-70GB cyl 48057 alt 2 hd 1 sec 3054>
>           /virtual-devices at 100/channel-devices at 200/disk at 0
> Specify disk (enter its number): 0
> selecting c0d0
> [disk formatted, no defect list found]
>
>
> FORMAT MENU:
>         disk       - select a disk
>         type       - select (define) a disk type
>         partition  - select (define) a partition table
>         current    - describe the current disk
>         format     - format and analyze the disk
>         repair     - repair a defective sector
>         show       - translate a disk address
>         label      - write label to the disk
>         analyze    - surface analysis
>         defect     - defect list management
>         backup     - search for backup labels
>         verify     - read and display labels
>         save       - save new disk/partition definitions
>         volname    - set 8-character volume name
>         !<cmd>     - execute <cmd>, then return
>         quit
> format> p
>
>
> PARTITION MENU:
>         0      - change `0' partition
>         1      - change `1' partition
>         2      - change `2' partition
>         3      - change `3' partition
>         4      - change `4' partition
>         5      - change `5' partition
>         6      - change `6' partition
>         7      - change `7' partition
>         select - select a predefined table
>         modify - modify a predefined partition table
>         name   - name the current table
>         print  - display the current table
>         label  - write partition map and label to the disk
>         !<cmd> - execute <cmd>, then return
>         quit
> partition> p
> Current partition table (original):
> Total disk cylinders available: 48057 + 2 (reserved cylinders)
>
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0       root    wm    5365 - 13412       11.72GB    (8048/0/0)   24578592
>   1       swap    wu       0 -  5364        7.81GB    (5365/0/0)   16384710
>   2     backup    wm       0 - 48056       69.98GB    (48057/0/0) 146766078
>   3 unassigned    wm       0                0         (0/0/0)             0
>   4 unassigned    wm       0                0         (0/0/0)             0
>   5 unassigned    wm   13413 - 48056       50.45GB    (34644/0/0) 105802776
>   6 unassigned    wm       0                0         (0/0/0)             0
>   7 unassigned    wm       0                0         (0/0/0)             0
>
> partition> la
> Ready to label disk, continue? yes
>
> Warning: error writing VTOC.
> Warning: no backup labels
> Label failed.
>
>
>
>
>
> bash-3.00# ldm ls -l
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> primary          active   -n-cv   SP      4     1G       0.6%  3h 22m
>
> SOFTSTATE
> Solaris running
>
> VCPU
>     VID    PID    UTIL STRAND
>     0      0      7.5%   100%
>     1      1       11%   100%
>     2      2      6.6%   100%
>     3      3      9.0%   100%
>
> MAU
>     ID     CPUSET
>     0      (0, 1, 2, 3)
>
> MEMORY
>     RA               PA               SIZE            
>     0x8000000        0x8000000        1G
>
> VARIABLES
>     diag-switch?=true
>
> IO
>     DEVICE           PSEUDONYM        OPTIONS
>     pci at 780          bus_a           
>     pci at 7c0          bus_b           
>
> VCC
>     NAME             PORT-RANGE
>     primary-vcc0     5000-5100
>
> VSW
>     NAME             MAC               NET-DEV   DEVICE     MODE
>     primary-vsw0     00:14:4f:f9:48:61 e1000g0   switch at 0   
>
> VDS
>     NAME             VOLUME         OPTIONS          DEVICE
>     primary-vds0     vol1                            /ldoms/tps10-ld1/root
>
> VCONS
>     NAME             SERVICE                     PORT
>     SP
>
> ------------------------------------------------------------------------------
> NAME             STATE    FLAGS   CONS    VCPU  MEMORY   UTIL  UPTIME
> tps10-ld1        active   -n---   5000    2     1G       0.0%  40m
>
> SOFTSTATE
> Solaris running
>
> VCPU
>     VID    PID    UTIL STRAND
>     0      4       15%   100%
>     1      5      3.0%   100%
>
> MEMORY
>     RA               PA               SIZE            
>     0x8000000        0x48000000       1G
>
> VARIABLES
>     auto-boot?=true
>     boot-device=disk
>     net=
>
> NETWORK
>     NAME             SERVICE                     DEVICE     MAC
>     vnet1            primary-vsw0 at primary        network at 0  
> 00:14:4f:fa:2d:28
>
> DISK
>     NAME             VOLUME                      TOUT DEVICE  SERVER          
>     vdisk1           vol1 at primary-vds0                disk at 0  primary   
>     
>
> VCONS
>     NAME             SERVICE                     PORT
>     tps10-ld1        primary-vcc0 at primary        5000  
>
> bash-3.00#
> --
> This message was posted from opensolaris.org
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss
>   


Reply via email to