Error after installing tape drive

Hi,

I am a newbie to Solaris, I have a SunFire V120 box, i was trying to install a tape drive(HP SureStore DAT24), i did the install in this manner.

# rm -rf /etc/path_to_inst

# init 6

later at the "ok" prompt i gave "boot -ar" after doing that it asked me various options i accepted the default values, when it asked for rebuilding the /etc/path_to_inst file i said "y", but later everything went wrong.

This is the output,

Sun Fire V120 (UltraSPARC-IIe 548MHz), No Keyboard

OpenBoot 4.0, 512 MB memory installed, Serial #51581741.

Ethernet address 0:3:ba:13:13:2d, Host ID: 8313132d.

Executing last command: boot -ar

Boot device: /<a href="mailto:pci&#64;1f" target="_blank">pci@1f</a>,0/<a href="mailto:pci&#64;1" target="_blank">pci@1</a>/<a href="mailto:scsi&#64;8" target="_blank">scsi@8</a>/<a href="mailto:disk&#64;0" target="_blank">disk@0</a>,0 File and args: -ar

Enter filename [kernel/sparcv9/unix]:

Enter default directory for modules [/platform/SUNW,UltraAX-i2/kernel /platform/

sun4u/kernel /kernel /usr/kernel]:

Name of system file [etc/system]:

SunOS Release 5.8 Version Generic_108528-15 64-bit

Copyright 1983-2001 Sun Microsystems, Inc. All rights reserved.

|

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]:

Enter physical name of root device

[/<a href="mailto:pci&#64;1f" target="_blank">pci@1f</a>,0/<a href="mailto:pci&#64;1" target="_blank">pci@1</a>/<a href="mailto:scsi&#64;8" target="_blank">scsi@8</a>/<a href="mailto:disk&#64;0" target="_blank">disk@0</a>,0:a]:

WARNING: forceload of misc/md_trans failed

WARNING: forceload of misc/md_raid failed

WARNING: forceload of misc/md_hotspares failed

WARNING: forceload of misc/md_sp failed

WARNING: forceload of misc/md_stripe failed

WARNING: forceload of misc/md_mirror failed

configuring IPv4 interfaces: eri0.

Hostname: aks

mount: /dev/md/dsk/d1 is not this fstype.

/sbin/rcS: /etc/dfs/sharetab: cannot create

failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file '/etc

/sysevent/syseventd_lock': 'Read-only file system'Configuring /dev and /devices

devfsadm: mkdir failed for /dev 0x1ed: Read-only file system

devfsadm: open failed for /dev/.devfsadm_dev.lock: Read-only file system

Configuring the /dev directory (compatibility devices)

/etc/rcS.d/S50devfsadm: /tmp/sock2path.57: cannot create

The system is coming up. Please wait.

/sbin/mountall: /tmp/sh800: cannot create

rm: Unable to remove directory /tmp: Read-only file system

mkdir: Failed to make directory "/tmp"; Read-only file system

chown: /tmp: Read-only file system

10/5/2005 9:56:42 GMT LOM time reference

/etc/rc2.d/S69inet: /tmp/ifconfig.100: cannot create

grep: can't open /tmp/ifconfig.100

/etc/rc2.d/S69inet: test: argument expected

starting rpc services: rpcbind done.

Setting netmask of eri0 to 255.255.255.0

Setting default IPv4 interface for multicast: add net 224.0/4: gateway aks

syslog service starting.

dumpadm: failed to open /etc/dumpadm.conf: Read-only file system

cron could not unlink FIFO: No such file or directory

cron aborted: cannot create fifo queue

! cannot create fifo queue Wed Oct 5 04:56:45 2005

! ******* CRON ABORTED ******** Wed Oct 5 04:56:45 2005

/dev/bd.off: Read-only file system

/etc/rc2.d/S90solaris: /tmp/fgd.207: cannot create

cat: cannot open /tmp/fgd.207

Error -- cannot open error log /.FGDLog

volume management starting.

/etc/rc3.d/S15nfs.server: /tmp/sharetab.232: cannot create

touch: /tmp/sharetab.232 cannot create

mv: cannot access /tmp/sharetab.232

share_nfs: /home/weblogic/SIMecho/logs: No such file or directory

share_nfs: /local/data2/home/weblogic/SIMecho/out: No such file or directory

chmod: WARNING: can't change /etc/dfs/sharetab

The system is ready.

aks console login:

INIT: Command is respawning too rapidly. Check for possible errors.

id: sc "/usr/lib/saf/sac -t 300"

aks console login: aks console login: root

Password:

/etc/logindevperm: /dev/mouse: Read-only file system

/etc/logindevperm: /dev/kbd: Read-only file system

Last login: Wed Oct 5 04:20:28 on console

Oct 5 04:57:46 aks login: ROOT LOGIN /dev/console

root @ aks::/> vi /etc/system

"/etc/system" [Read only] 109 lines, 2687 characters

After doing some google i found that nothing is wrong i just need to comment some lines in the /etc/system file. But still i wasn't able to bacause the system is mounted in read only mode.

Thanking you in advance.

Regards,

Rajendra Rait.

[5245 byte] By [Rajendra] at [2007-11-25 22:47:03]
# 1

I have exactly the same problem after running an fsck to clear corrupt files.

Is there a problem with mirrored disks and using boot -ar to rebuild path_to_inst?

The basic problem is that the root filesystem is coming up as read only

i.e.

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]:

Enter physical name of root device

[/<a href="mailto:pci&#64;1f" target="_blank">pci@1f</a>,0/<a href="mailto:pci&#64;1" target="_blank">pci@1</a>/<a href="mailto:scsi&#64;8" target="_blank">scsi@8</a>/<a href="mailto:disk&#64;0" target="_blank">disk@0</a>,0:a]: /<a href="mailto:pci&#64;1f" target="_blank">pci@1f</a>,0/<a href="mailto:pci&#64;1" target="_blank">pci@1</a>/<a href="mailto:scsi&#64;8" target="_blank">scsi@8</a>/<a href="mailto:disk&#64;1" target="_blank">disk@1</a>,0:a

WARNING: forceload of misc/md_trans failed

WARNING: forceload of misc/md_raid failed

WARNING: forceload of misc/md_hotspares failed

WARNING: forceload of misc/md_sp failed

WARNING: forceload of misc/md_stripe failed

WARNING: forceload of misc/md_mirror failed

configuring IPv4 interfaces: eri0 lo0:1.

Hostname: plant

mount: /dev/md/dsk/d0 is not this fstype.

failed to open /etc/coreadm.confsyseventd: Unable to open daemon lock file '/etc/sysevent/syseventd_lock': 'Read-only file system'Configuring /dev and /devices

devfsadm: mkdir failed for /dev 0x1ed: Read-only file system

devfsadm: open failed for /dev/.devfsadm_dev.lock: Read-only file system

Configuring the /dev directory (compatibility devices)

/etc/rcS.d/S50devfsadm: /tmp/sock2path.52: cannot create

The system is coming up. Please wait.

/sbin/mountall: /tmp/sh730: cannot create

Any help would be gratefully received as I want to avoid rebuilding the server from scratch!

Thanks

jazzmoose at 2007-7-5 17:02:24 > top of Java-index,Sun Hardware,Servers - General Discussion...
# 2

You are using SVM for your boot device, not simple slice. So basic boot -ar won't work

-Boot from CDROM

-mount your bootdisk cXtXdXsX to /a

-#grep pseudo /a/etc/system

-note line begin with rootdev (eg. "rootdev:/pseudo/<a href="mailto:md&#64;0" target="_blank">md@0</a>:0,0,blk")

-when you run boot -ar & prompted at "Enter physical name of root device", enter the rootdev (eg. /pseudo/<a href="mailto:md&#64;0" target="_blank">md@0</a>:0,0,blk")

- this should rebuilt /etc/inst_to_path for you.

SLIM at 2007-7-5 17:02:24 > top of Java-index,Sun Hardware,Servers - General Discussion...
# 3
That's brilliant SLIM - thanks very much }: )Fortunately I had an identical machine that used the same jumpstart so got the rootdev from that - all working again now.Much obliged.
jazzmoose at 2007-7-5 17:02:24 > top of Java-index,Sun Hardware,Servers - General Discussion...
# 4
You are welcome. Glad I can help. :)
SLIM at 2007-7-5 17:02:24 > top of Java-index,Sun Hardware,Servers - General Discussion...