can not mount root slice in single user mode

From: Solaris Admin (sol.adm@gmail.com)
Date: Fri Apr 15 2005 - 02:06:18 EDT


Hi All,

I was kind of troubleshooting a SUN VXVM problem on Solaris 9 and
mistakenly destroyed the metadb for the root volume.

Now I am not able to re-edit the vfstab file to boot it of the raw
device (/dev/dsk/c1t0d0s0) as it prompts me to run fsck on the boot
slice. After running fsck, when I try to boot it off manually from
maintenance or single user mode using bootable cdrom, I still get
following error:

"# mount -o remount,rw /
mount: the state of /dev/md/dsk/d0 is not okay
        and it was attempted to be mounted read/write
mount: Please run fsck and try again"

An early help will be highly appreciated.

Following is the boot log from the screen:

WARNING: Unexpected token '' on line 137 of /etc/driver_aliases
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
configuring IPv4 interfaces: eri0 eri1.
Hostname: ctux02
devfsadm: line 137: malformed in /etc/driver_aliases
The / file system (/dev/md/rdsk/d0) is being checked.
/dev/md/rdsk/d0: UNREF DIR I=67646 OWNER=root MODE=40775
/dev/md/rdsk/d0: SIZE=512 MTIME=Apr 12 15:51 2005 (RECONNECTED)
/dev/md/rdsk/d0: DIR I=67646 CONNECTED. PARENT WAS I=3
/dev/md/rdsk/d0: UNREF DIR I=67668 OWNER=root MODE=40774
/dev/md/rdsk/d0: SIZE=512 MTIME=Apr 12 15:51 2005 (RECONNECTED)
/dev/md/rdsk/d0: DIR I=67668 CONNECTED. PARENT WAS I=3
/dev/md/rdsk/d0: UNREF DIR I=67667 OWNER=root MODE=40775
/dev/md/rdsk/d0: SIZE=1024 MTIME=Apr 12 15:51 2005 (RECONNECTED)
/dev/md/rdsk/d0: DIR I=67667 CONNECTED. PARENT WAS I=3
/dev/md/rdsk/d0: UNREF DIR I=67666 OWNER=root MODE=40775
/dev/md/rdsk/d0: SIZE=512 MTIME=Apr 12 15:51 2005 (RECONNECTED)
bad inode number 0 to ginode

WARNING - Unable to repair the / filesystem. Run fsck
manually (fsck -F ufs /dev/md/rdsk/d0). Exit the shell when
done to continue the boot process.

Type control-d to proceed with normal startup,
(or give root password for system maintenance):"
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:32 EDT