The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
path_to_inst file question mokkan SUN Solaris 2 05-16-2008 11:59 PM
path_to_inst output for usb storage device montana77 UNIX for Dummies Questions & Answers 0 04-05-2008 07:04 AM
cannot open /etc/path_to_inst file frustrated1 SUN Solaris 4 03-05-2004 12:24 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-25-2007
ailnilanjan ailnilanjan is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 21
/etc/path_to_inst

Hello Friends

I was using V490 server with StoreEdge 3500 on Solaris 5.8 platform.

It got crashed when the optical link between 3500 and V490 got failed.

After a long effort it is now getting messege like below,

Rebooting with command: boot
Boot device: /pci@9,600000/SUNW,qlc@2/fp@0.0/disk@w500000e011d37831,0:a File and args:
SunOS Release 5.8 Version Generic_117350-20 64-bit
Cannot open '/etc/path_to_inst'
Program terminated
{3}ok

Now the optical link is up.

It fails all boot commands and returns back with these kind of messege.

Nebody having any idea bout the /etc/path_to_inst file please reply.



With Heartiest Greetings

Nil.

Last edited by ailnilanjan; 02-25-2007 at 05:26 PM..
  #2 (permalink)  
Old 02-25-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
try booting with:

Code:
{} ok boot -ar
  #3 (permalink)  
Old 02-25-2007
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,111
boot -ar might work, but I believe that the user will be prompted for some stuff. I'm not sure if taking the defaults will work with path_to_inst missing.
  #4 (permalink)  
Old 02-26-2007
ailnilanjan ailnilanjan is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 21
Quote:
boot -ar might work, but I believe that the user will be prompted for some stuff. I'm not sure if taking the defaults will work with path_to_inst missing.
i am getting the same messege as before.

i am suspecting that path_to_inst is missing.

what can i do now?

is there any way to restore it?
  #5 (permalink)  
Old 02-26-2007
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 422
/etc/path_to_inst stores vital information about the devices on your system. If it is damaged or missing the machine will not be able to boot.

To recover you will need to boot off of a CD-Rom or the network, then mount your root partition by hand to copy /etc/path_to_inst back on there. Hopefully you will have a copy on a backup somewhere. I don't think just grabbing /etc/path_to_inst from another server or the CD will work. If you end up having to try that make sure at least you use another V490, hopefully one with exactly the same hardware inside it.

If that doesn't work you may have no choice but to re-install Solaris.

Good luck,
Ralph
  #6 (permalink)  
Old 02-26-2007
ailnilanjan ailnilanjan is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 21
Quote:
To recover you will need to boot off of a CD-Rom or the network, then mount your root partition by hand to copy /etc/path_to_inst back on there
Quote:
If you end up having to try that make sure at least you use another V490, hopefully one with exactly the same hardware inside it.
Thanks Ralph

It works as i have the V490 with the same hardware, you may say it a xerox copy. It worked when i was setting up the root device.

The system is now fine.

I can give the entire procedure by recalling the entire activites what i performed during recovery.

Code:
1- # boot cdrom -s (inserting the Solaris OS CD in the cdrom).
2- #fsck –y /dev/rdsk/c0t0d0s0 
3- #mkdir /a
4- #mount /dev/dsk/c0t0d0s0 /a
5- #grep rootdev /a/etc/system

The result will be something like this :
*       rootdev:        Set the root device.  This should be a fully
*               rootdev:/sbus@1,f8000000/esp@0,800000/sd@3,0:a
rootdev:/pseudo/md@0:0,0,blk       (for example)
The line that needs to be noted is the line beginning with rootdev. In the above example, the line "rootdev:/pseudo/md@0:0,0,blk" should 
be the line noted.

6- #mv /a/etc/path_to_inst /a/etc/orig.path_to_inst
7- #init 0
8- ok>boot –ar
Resetting... 
Software Power ON
Clock board TOD does not match TOD on any IO board.
Clock board TOD does not match TOD on any IO board.

slot Sun Enterprise 4000/5000, No Keyboard
OpenBoot 3.2.27, 320 MB memory installed, Serial #7923805.
Copyright 2000 Sun Microsystems, Inc.  All rights reserved
Ethernet address 8:0:20:78:e8:5d, Host ID: 8078e85d.

Rebooting with command: boot -ar
Boot device: /sbus@3,0/QLGC,isp@0,10000/sd@8,0:a  File and args: -ar
|
NOTICE: 64-bit OS installed, but the 32-bit OS is the default
 for the processor(s) on this system.
 See boot(1M) for more information.

Booting the 32-bit OS ...

9- Enter filename [kernel/unix]: (press enter)
Enter default directory for modules [/platform/SUNW,Ultra-Enterprise/kernel /platform/sun4u/kernel /kernel /usr/kernel]: 

10- Name of system file [etc/system]: (press enter)  
SunOS Release 5.8 Version Generic_117350-02 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
/
11- The /etc/path_to_inst on your system does not exist or is empty.
 Do you want to rebuild this file [n]? y
root filesystem type [ufs]: 

12- Enter physical name of root device
[/sbus@3,0/QLGC,isp@0,10000/sd@8,0:a]: <ENTER ROOTDEV noted  ABOVE in BOLD HERE >

13- After the system boots check for the presence of the file
cd /etc/
ls –l
Love
Nil
  #7 (permalink)  
Old 02-27-2007
rhfrommn rhfrommn is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2003
Location: Minnesota
Posts: 422
Glad it worked. And thanks much for putting in the entire procedure. That will come in handy if somebody searches on /etc/path_to_inst and finds this thread in the future.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0