System Unbootable - /usr not mounted


 
Thread Tools Search this Thread
Operating Systems Solaris System Unbootable - /usr not mounted
# 1  
Old 12-15-2010
System Unbootable - /usr not mounted

Hi admins,

I'm having some issues with a Solaris 10 machine. I just rebooted the box after at least 2 years running smooth and now the OS is not comming up.

This is what I see in the console (if I press Ctrl^D it loops again):

Code:
Root password for system maintenance (control-d to bypass): 
Requesting System Maintenance Mode
(See /lib/svc/share/README for more information.)
Console login service(s) cannot run

Root password for system maintenance (control-d to bypass):

So I entered root's password and now I'm not even able to run simple commands like "ls", "svcadm", "ifconfig", etc. So it looks like /usr is not mounted.

Code:
# cd /usr
# echo *
*
#

'/sbin/mount' shows:

Code:
/ on /pci@1f,500000/scsi@1/disk@0,0:a read/write/setuid/devices/dev=500000 on Thu Jan  1 00:00:00 1970
/devices on /devices read/write/setuid/devices/dev=5740000 on Wed Dec 15 18:21:49 2010
/system/contract on ctfs read/write/setuid/devices/dev=5780001 on Wed Dec 15 18:21:49 2010
/proc on proc read/write/setuid/devices/dev=57c0000 on Wed Dec 15 18:21:49 2010
/etc/mnttab on mnttab read/write/setuid/devices/dev=5800001 on Wed Dec 15 18:21:49 2010
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=5840001 on Wed Dec 15 18:21:49 2010
/system/object on objfs read/write/setuid/devices/dev=5880001 on Wed Dec 15 18:21:49 2010

I tried to '/sbin/mountall' and I got:
Code:
# ./mountall
./mountall: /usr/bin/expr: not found
./mountall: cannot shift

I tried to run the console-login method by hand:
Code:
# pwd
/lib/svc/method
# ./console-login
./console-login: svcprop: not found
./console-login: svcprop: not found
./console-login: svcprop: not found
./console-login: svcprop: not found
./console-login: svcprop: not found
./console-login: svcprop: not found
./console-login: svcprop: not found
./console-login: /usr/lib/saf/ttymon: not found


And tried to use 'fs-usr' to mount the filesystem but again I got a weird error message:
Code:
# ./fs-usr
/sbin/swapadd: expr: not found
/sbin/swapadd: swap: not found
WARNING - /usr/sbin/fsck not found. Most likely the
WARNING - /usr/sbin/fsck not found. Most likely the
mount of /usr failed or the /usr filesystem is badly
mount of /usr failed or the /usr filesystem is badly
damaged.
damaged.

I don't even know how to reboot the box now (I don't have physical access) and 'reboot' and 'shutdown' are not working since they are located under the inaccessible '/usr/sbin'.

So, I would like to hear any suggestions. Thanks.
# 2  
Old 12-15-2010
boot from an external media and check your filesystems and the configuration of /etc/vfstab and the log files for error messages.
These 2 Users Gave Thanks to DukeNuke2 For This Post:
# 3  
Old 12-16-2010
Yes, I will try that...

I've managed to find the 'init' tool under 'sbin' but when I run '/sbin/init 0' or '/sbin/init 6' it doesn't do anything and just stays there as if no command was ever given.

I think the only option now would be to go there and physically reboot the server.
# 4  
Old 12-16-2010
you can also try commands like "reboot" or "halt". or (are you on sparc or x86 hardware?) use a break sequence to drop to the "ok" prompt (if you are on sparc).
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

File system mounted or not

Hi, I know something about file system that its a directory to hold files. My query is how to identify file system is mounted or not .Can you give me some examples? OS --- Linux 2.6 (7 Replies)
Discussion started by: Maddy123
7 Replies

2. UNIX for Advanced & Expert Users

Which system calls to move data on a device with mounted partitions?

I need to be able to move data around a disk that has mounted partitions. I am not touching the data on the mounted partition, the MBR or any other disk metadata, only the freespace and unmounted partitions. At the moment I am using libparted but it causes data corruption sometimes although there... (1 Reply)
Discussion started by: vstrom
1 Replies

3. AIX

Error unmounting a remote mounted file system

Hi All, I'm facing an issue while trying to unmount a remotely mounted file system, strangely it's not even getting mounted, Kindly find the reply messages. Mounting error msg nfsmnthelp: 1831-019 <Server host>: Cannot mount a file system that is already remotely mounted. mount: 1831-008... (13 Replies)
Discussion started by: Abhishekag
13 Replies

4. UNIX for Dummies Questions & Answers

What happens if i unmount local file system when is mounted to a different server?

Hi, as title says what happens if i unmount local file system when is mounted to a diffrent server ? (2 Replies)
Discussion started by: galuzan
2 Replies

5. Ubuntu

display the mounted file system types

how can i list/display the mounted partitions in Ubunutu, mount command just display the devices but not the file system used. (4 Replies)
Discussion started by: XP_2600
4 Replies

6. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

7. Solaris

How to find which file system was not mounted ?

Hello all, can someone help on how can i check if all file system were mounted during reboot? I know that we have first to look on /etc/vfstab; the containing of this one should be mounted during boot of system, and after with : df -k we can see if mentioned file system on vfstab were... (3 Replies)
Discussion started by: vitchi
3 Replies

8. UNIX for Dummies Questions & Answers

Solaris10:How to check where /usr are really mounted

How can I check which partition /usr are mounted on ? Usually this is mounted on root (/). If I want to move /usr to another partition, how do I do this ? BR Ludwig (1 Reply)
Discussion started by: ludwig
1 Replies

9. UNIX for Dummies Questions & Answers

how many directory can be mounted on one file system

I have a question and seek help. How many directory can be mounted on one file system on UNIX with solaris 9? For example, I have one file system as /dev/dsk/cieit0a6. I have created one directory as /u01/app/oracle and mounted this directory to cieit06. It works. Then I create another directory as... (4 Replies)
Discussion started by: duke0001
4 Replies

10. UNIX for Dummies Questions & Answers

fsck on a mounted file system?

I have a Solaris 7 box. We got a strange error in the syslog, which read as follows: Nov 15 11:50:16 server-01 unix: NOTICE: free inode /mount1/8025691 had size 0x20d I consulted with a fellow sysadmin, and he suggested running "fsck -N" on the filesystem in question without unmounting it. So I... (1 Reply)
Discussion started by: GKnight
1 Replies
Login or Register to Ask a Question