How to rebuild the /etc/path_to_inst without un-encapsulating the root disk

Article: 100010412
Last Published: 2022-02-23
Ratings: 0 0
Product(s): InfoScale & Storage Foundation

Problem

How to rebuild the /etc/path_to_inst without un-encapsulating the root disk

Error Message

cannot open /etc/path_to_inst

Solution

Note : This will only work if the rootdisk isencapsulated. You don't have to break the root mirror.

Under VERITASVolume Manager (tm) rootdisk encapsulation, the administrator must take an extrastep to ensure the path_to_inst file is created and populated. Thedifference lies in the root device. This value is not the same as the defaultoffered during the boot, use the value specified for rootdev in the /etc/system file.

At the OK prompt, do thefollowing:

1. boot-ar

Rebooting with command: boot-ar                                      
Bootdevice: /pci@1f,0/pci@1,1/ide@3/disk@0,0  File and args:-ar

2. At the following prompts, just hitenter:

Enter filename[kernel/sparcv9/unix]:  << --------Hitenter
Enter default directory for modules [/platform/SUNW,Ultra-5_10/kernel/platform/sun4u/kernel /kernel /usr/kernel]:
Name of system file[etc/system]:   <<< Hitenter

SunOS Release 5.8 VersionGeneric_108528-15 64-bit
Copyright1983-2001 Sun Microsystems, Inc.  All rightsreserved.

3. When the system asks about rebuilding thepath_to_inst, type yes

The/etc/path_to_inst on your system does not exist or isempty.
Do you want to rebuild thisfile [n]? yes  <<<<--------------type yes

root filesystem type[ufs]:  <<<<------------ Hit enter

4.When you get to the following prompt enter/ pseudo/vxio@0:0

Enterphysical name of root device [/pci@1f,0/pci@1,1/ide@3/disk@0,0:a]:/pseudo/vxio@0:0  <<<<---- Enter this(this comes from /etc/system).

System will now bootOK.

Warning: forceload of drv/idefailed
Warning: forceload of drv/idefailed
Warning: forceload of drv/pcifailed
Starting VxVM restoredaemon...
VxVM starting in bootmode...
configuring IPv4 interfaces:hme0.
Hostname:sunhost
VxVM starting special volumes( swapvol )...
Configuring /dev and/devices
Configuring the /devdirectory (compatibilitydevices)
VxVM generalstartup...
The system is comingup.  Please wait.
starting rpcservices: rpcbind done.
Settingnetmask of hme0 to255.255.248.0
starting internetdomain name server.
Setting defaultIPv4 interface for multicast: add net 224.0/4: gatewaysunhost
syslog servicestarting.
Print servicesstarted.
volume managementstarting.
checking :/usr/sbin/luxadm
checking :/usr/lib/liba5k.so.2
checking :/usr/lib/libg_fc.so.2
checking :/usr/lib/sparcv9/liba5k.so.2
checking: /usr/lib/sparcv9/libg_fc.so.2
Thesystem is ready.
 

 

Was this content helpful?