The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Urgent help please Katkota UNIX for Dummies Questions & Answers 0 01-09-2008 07:31 AM
Very urgent ..please help jisha Shell Programming and Scripting 3 01-08-2008 04:22 AM
URGENT,URGENT- Need help tape drive installation sriny UNIX for Advanced & Expert Users 3 11-16-2006 11:43 AM
URGENT---URGENT--No OK PROMPt after RSC CONFIG sriny SUN Solaris 7 10-29-2006 07:06 AM
please help urgent mkan UNIX for Dummies Questions & Answers 5 09-08-2005 12:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #8 (permalink)  
Old 06-17-2008
Registered User
 

Join Date: Mar 2007
Posts: 28
Stumble this Post!
Quote:
Originally Posted by taran View Post
Step 1: Boot CDROM at a single mode

ok>boot cdrom -s

Step2: Find Root-Mirror

metastat -p and find the root mirror ( if y need help post the output)

Step 3: Mount the disk in a temp dir
Code:

#mkdir /tmp/a
#mount /dev/md/dsk/D?(Root-mirror) /tmp/a

Step 4: Re-change the owner
Code:

#chown -R root:sys /tmp/a/etc

Step 5: Umount the disk
Code:

#umount /tmp/a

Step 6: Reboot
Code:

#reboot
Thank you very much!

Wish the best to all of you!
Reply With Quote
Forum Sponsor
  #9 (permalink)  
Old 06-20-2008
Registered User
 

Join Date: Mar 2007
Posts: 28
Stumble this Post!
I have just reboot in single mode successfully, but I get one trouble. My server is running with SAN, and when I use the statment
Code:
#echo | format
this show like
Code:
AVAILABLE DISK SELECTIONS:
        0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
           /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf6f1b1f,0
        1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
           /pci@8,600000/SUNW,qlc@4/fp@0,0/ssd@w21000004cf6efe8d,0
        2. c5t600A0B80001323B80000000040F2051Dd0
And I can not mount the disk root by
Code:
#mount dev/dsk/c1t0d0 /a
Help me to solve this problem!

Thank you!

Last edited by trantuananh24hg; 06-20-2008 at 01:29 PM.
Reply With Quote
  #10 (permalink)  
Old 06-20-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,303
Stumble this Post!
you can not mount the whole disk... you have to mount the slice containing the filesystem you want to edit.

e.g. c0t0d0s0
Reply With Quote
  #11 (permalink)  
Old 06-20-2008
Registered User
 

Join Date: Mar 2007
Posts: 28
Stumble this Post!
Quote:
Originally Posted by DukeNuke2 View Post
you can not mount the whole disk... you have to mount the slice containing the filesystem you want to edit.

e.g. c0t0d0s0
Thanks for your reply!

But when I used this command
Code:
#df -k
This did not show the device such as like filesystem, instead of cdrom and platform...
Reply With Quote
  #12 (permalink)  
Old 06-20-2008
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,303
Stumble this Post!
post the output of "df -h".
Reply With Quote
  #13 (permalink)  
Old 06-22-2008
Registered User
 

Join Date: Mar 2007
Posts: 28
Stumble this Post!
Quote:
Originally Posted by DukeNuke2 View Post
post the output of "df -h".
Thank you for your reply!

Now, I have solved this problem, it's caused by my mistake.
I am a newbie, so that, instead of booting -s to direct load /dev/dsk/Disk_root but I boot by cdrom -s.

Fixed by [/b]chgrp[b] command line . When I used
Code:
#chown -R root:sys /etc
This show the errors (I am sorry but I did not remember exactly) and I could not change the owner.

Thanks so much!
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 09:17 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0