Mountall error at system startup


 
Thread Tools Search this Thread
Operating Systems Solaris Mountall error at system startup
# 1  
Old 07-15-2009
Mountall error at system startup

Hi

I have SVM on my Solaris 10 5/08 SPARC with the following configuration:
Code:
d1: Mirror
    Submirror 0: d11
      State: Okay         
    Submirror 1: d12
      State: Okay         
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 20982912 blocks (10 GB)

d11: Submirror of d1
    State: Okay         
    Size: 20982912 blocks (10 GB)
    Stripe 0:
    Device                             Start Block  Dbase        State Reloc Hot Spare
    /dev/dsk/c4t500000E014383390d0s0          0     No            Okay   Yes 


d12: Submirror of d1
    State: Okay         
    Size: 20982912 blocks (10 GB)
    Stripe 0:
    Device                             Start Block  Dbase        State Reloc Hot Spare
    /dev/dsk/c4t500000E014352D00d0s0          0     No            Okay   Yes 

Device Relocation Information:
Device                           Reloc    Device ID
/dev/dsk/c4t500000E014352D00d0   Yes      id1,ssd@n500000e014352d00
/dev/dsk/c4t500000E014383390d0   Yes      id1,ssd@n500000e014383390

Recently, I broke the root password and was unable to log as root. So I've booted in single user mode, mounted root slice (/dev/dsk/c4t500000E014383390d0s0) ang delete root password in shadow file. I case that there were SVM configured, I know that I shouldn't do this in that way, but I did it and now, at system startup I receive the following error:
Code:
Jul  8 16:53:41 server svc.startd[8]: [ID 652011 daemon.warning] svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Jul  8 16:53:41 server svc.startd[8]: [ID 748625 daemon.error] system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
Jul  8 16:53:42 server Cluster.CCR: [ID 795553 daemon.error] /usr/cluster/bin/scgdevs: Filesystem /global/.devices/node@2 is not available in /etc/mnttab.

And most system services don't start. There is configured Sun Cluster and I'm sure that /etc/fstab is correct. This problem disappeared after issuing svcadm clear filesystem/local command. I try to issue metasync d1, but it doesn't help and at next system boot the situation is the same... How can I handle such circumstances?..

Last edited by Sapfeer; 07-16-2009 at 02:40 AM..
# 2  
Old 07-16-2009
If you run:
Code:
# svcs -l system/filesystem/local:default

You will see the name of the log file that the local filesystem SMF service is using, the contents of which may contains useful error messages.

Is the /global filesystem listed in /etc/vfstab and if so is the filesystem it is in still visible to the operating system?

Changing one side of a mirror should not break things, all that might happen is that the side that still has a root password set wins the battle when the tow side of the mirror resync, I would have thought?
# 3  
Old 07-17-2009
Thanks for answer!

Quote:
Originally Posted by TonyFullerMalv
If you run:
Code:
# svcs -l system/filesystem/local:default

You will see the name of the log file that the local filesystem SMF service is using, the contents of which may contains useful error messages.
It contains no useful messages - just like that script /lib/svc/method/fs-local exited with non zero state.

Quote:
Originally Posted by TonyFullerMalv
Is the /global filesystem listed in /etc/vfstab and if so is the filesystem it is in still visible to the operating system?
I can't say that it is definite visible, but if it is not, why only one command, that just clears the state of service (svcadm clear filesystem/local), without any preceding actions makes all things done?

Quote:
Originally Posted by TonyFullerMalv
Changing one side of a mirror should not break things, all that might happen is that the side that still has a root password set wins the battle when the tow side of the mirror resync, I would have thought?
In that case, I suppose, I should change the root password again to force sync shadow files on both mirror...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

2. Shell Programming and Scripting

[Solved] Process dies when launched in system startup script

Good morning! I'm trying to add Maven to the system boot by the moment without success. Testing the operation of the script I realize that the process isn't persistent when the program is launched with the start option. ---- #Startup Script ---- #! /bin/sh # chkconfig: 345 99 1 #... (5 Replies)
Discussion started by: carpannav
5 Replies

3. Shell Programming and Scripting

how to delete files at booting of system (system startup)

hi all I have a problem how to write a shell script which delete files/folder form directory whenever system boot and copy last updated folder/file in the specified directory.pse help me ASAP. i write a script which copy files in directory.I want when system boot up using script it check whether... (1 Reply)
Discussion started by: shubhig15
1 Replies

4. Solaris

Startup error

Hi, Greetings to all :), I am using Solaris 5.10 on a HP xw6600 workstation with 2 Intel Xeon processors. System works fine. But during startup the below WARNINGS occur. WARNING:CPU 1 feature mismatch WARNING:There will be no MCA support on chip 0 core 0 strand 2(cmd_hdl_create returned... (1 Reply)
Discussion started by: sachin.bedraman
1 Replies

5. UNIX for Dummies Questions & Answers

Understanding System Vish startup scripts

I'm trying to get a clear picture of how startup scripts are executed during bootup. When run-level N is entered, the scripts in /rcN.d are executed. I understand that the S* scripts are executed in numerical order during bootup. What I don't understand is if the K* scripts are executed... (0 Replies)
Discussion started by: darkmatter14B
0 Replies

6. SuSE

Executing set of sh files at system startup

Hi Everybody I am totally new to Linux. We are using Suse Linux version 9. Currently we have 4 to 5 shell scripts which needs to be executed manually by the users.I want these scripts to be run automatically when system starts...something like system startup service. When system is... (1 Reply)
Discussion started by: appleforme1415
1 Replies

7. Solaris

stop a process to start at system startup

Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies

8. UNIX for Advanced & Expert Users

AIX 5.3: Start Service on System startup

Hi, I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX? Greetings, Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies

9. UNIX for Dummies Questions & Answers

System Startup Time

Hi all, Can anyone tell me how to find the System Startup time. Currently I am using "who -b" to get last reboot time. I wanted to know is there any log file for SCO Openserver 5, in which all this sort of imformations are kept. I have tried searching the forum with words like "WHO... (6 Replies)
Discussion started by: shoeb_syed
6 Replies

10. UNIX for Dummies Questions & Answers

How can I add my own service when system startup?

Hi All, My OS is redhat 7.1. How can I start my own service (e.g. simple scripts) when the system is started? I found something like /etc/rc.d, /etc/rc.init ... But I have no idea on them, have anyone can help me? regards wilson (6 Replies)
Discussion started by: wilsonchan1000
6 Replies
Login or Register to Ask a Question