Video Screencast Help

Boot disk encapsulation error in Solaris8

Created: 08 Sep 2009 • Updated: 21 May 2010 | 2 comments

Hi,

Anyone encountered this problem before?    I have encapsulated  the boot disk of my  Solaris 8 (sparc)  server using "vxdiskadm"   , but when I reboot the system the disk is still not under veritas  adn still displays the  c1t1d0sx slices.   Below is the error messages I got from the console during the reboot process.   

Please help.  Thanks.

###Console logs #######
Sun Fire V490, No Keyboard
Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
OpenBoot 4.18.11, 10240 MB memory installed, Serial #70988849.
Ethernet address 0:14:4f:3b:34:31, Host ID: 843b3431.
Initializing    12MB of memory at addr        a27f002000 -Initializing    16MB of memory at addr        a27e002000 -  Initializing 10208MB of memory at addr        a000000000                                               
Rebooting with command: boot
Boot device: vx-newrootmirr  File and args:
sorry, variable 'ecache_scan_rate' is not defined in the 'kernel'
sorry, variable 'ecache_is_mirrored' is not defined in the 'kernel'
sorry, variable 'kernel_cage_enable' is not defined in the 'kernel'
SunOS Release 5.8 Version Generic_117350-62 64-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
VxVM sysboot INFO V-5-2-3409 starting in boot mode...
NOTICE: VxVM vxdmp V-5-0-34 added disk array DISKS, datype = Disk
VxVM sysboot INFO V-5-2-3390 Starting restore daemon...
configuring IPv4 interfaces: ce0.
Hostname: cdbsxp78
VxVM vxvm-startup2 INFO V-5-2-503 VxVM general startup...
Aug  5 02:35:13 vxvm:vxconfigd: V-5-1-546 Disk local_01 in group local_dg: Disk device not found
  VxVM vxvm-reconfig INFO V-5-2-324 The Volume Manager is now reconfiguring (partition phase)...
  VxVM vxvm-reconfig INFO V-5-2-499 Volume Manager: Partitioning Disk_0 as an encapsulated disk.
VxVM vxedvtoc ERROR V-5-1-8300 UNKNOWN ERROR WHILE WRITTING VTOC
  VxVM vxvm-reconfig ERROR V-5-2-375 The partitioning of Disk_0 failed.
  VxVM vxvm-reconfig ERROR V-5-2-361 The following disks failed encapsulation:

Disk_0
Hit RETURN to continue.
  You can either continue now, or reverse all changes the Volume Manager
  has made during this reconfiguration.

Undo changes made during partition phase [y,n,q,?] (default: n)
The system is coming up.  Please wait.
checking ufs filesystems
/dev/rdsk/c1t1d0s5: is clean.
Starting cpudiagd ... done.
Starting VERITAS Enterprise Administrator Service (vxsvc)

Discussion Filed Under:

Comments 2 CommentsJump to latest comment

Kelvin Pryse's picture

The message comes because the Solaris command write_vtoc is getting and I/O error while trying to update the VTOC.  This is unusual as Solaris obviously at some point was able to label the disk.  Can you provide some info like:

/usr/sbin/prtvtoc /dev/dsk/c1t1d0s2
/usr/bin/pkginfo -l VRTSvxvm

and whether you see any disk errors on console or in /var/adm/messages?

joebiii's picture

Hi,

Thanks for the reply.

I did not found any error in /var/adm/messages related to the boot disk or encapsulation.

Here's some more info,  hope you can help me thanks.
* /dev/dsk/c1t1d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*     848 sectors/track
*      24 tracks/cylinder
*   20352 sectors/cylinder
*   14089 cylinders
*   14087 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
* Unallocated space:
*       First     Sector    Last
*       Sector     Count    Sector
*           0     40704     40703
*    37651200 249047424 286698623
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00      40704   8405376   8446079   /
       1      3    01    8446080  16790400  25236479
       2      5    01          0 286698624 286698623
       5      0    00   25236480   6207360  31443839   /opt
       6      7    00   31443840   6207360  37651199   /var
#############################################
bash-2.03$ /usr/bin/pkginfo -l VRTSvxvm
   PKGINST:  VRTSvxvm
      NAME:  VERITAS Volume Manager, Binaries
  CATEGORY:  system
      ARCH:  sparc
   VERSION:  4.1,REV=02.17.2005.21.28
   BASEDIR:  /
    VENDOR:  VERITAS Software
      DESC:  Virtual Disk Subsystem
    PSTAMP:  VERITAS-4.1_MP2_RP3.2:2007-12-03
  INSTDATE:  Jul 20 2008 15:44
   HOTLINE:  800-342-0652
     EMAIL:  support@veritas.com
    STATUS:  completely installed
     FILES:      848 installed pathnames
                  23 shared pathnames
                  18 linked files
                  98 directories
                 418 executables
              306687 blocks used (approx)