Please give answers for this interview questions


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Solaris Please give answers for this interview questions
# 1  
Please give answers for this interview questions

I was not able to get answers for these interview questions. It will be appreciable and useful if any one answers this questions.

Quote:
1. How will you find the primary boot block of a filesystem?
2. If the remote server keeps on restarting, what will you do? and in which files will you check?
3. What will you do if primary superblock is corrupted?
4.what will you do to recover root disk failure using SVM?
5. If database server become slow, how will you find the process which cause the server to perform slow? and what will you do to bring the server back in good condition?
6. Which cpmmand is used to display processor information physically?
7. How will you install Solaris on a box which has no display card?
9. How will you reset root password which has no cd/dvd ROM?
10. Which command can be used to display the date and time of a file which is originally created?
11. How can you mount a filesystem without having entry in /etc/mnttab?
12. How can you reboot a box to init1 state without using commands init 1 or shutdown -i1.
13. Jumpstart between 2 servers is slow, why?
14. How will you find disk errors and options you use?
15. If the server crashes while booting, what will you do and on which files will you check?
16. Root user is not able to create files on a filesystem even there are free space and having permission, why?
17. Kernel tuning files in Solaris 8, 9 and 10.
18. Will the server boot if only half of the metadb is available? What will you do to create new metadb if the server doesn't boot?
19. How many(maximum) submirrors can be attached to a mirror?
# 2  
  • 1 - newfs -N /dev/rdsk/cxtxdxsx -> however, i think it will only work if you used the newfs with the default settings.
    2 -
    3 - fsck -o b=<backsuperblocknumber_from_1> /dev/rdsk/cxtxdxsx
    5 - just install and use the top utility. find, stop and restart the process if possible
    6 - Don't know any "cpmmand" put for processor info. you can use psrinfo -pv or for a detailed description use the kstat -m cpu_info
    7 - using the console and CLI installation method
    10 - ls -l shows the last modified date, don't know about the originally created one
    11 - /etc/mnttab or /etc/vfstab
    12 - I think run the appropriate rc script (i think /etc/rc/rc1) or if you are in solaris 10 and at the ok prompt use the boot -m milestone=multi-user
    13 - jumstart is done over the network. Check for bottle necks in the network
    14 - i think iostat -e or E
    15 - /var/crash/<hostname>/ -> has the core dump
    16 - perhaps the filesystem is mounted in readonly mode
    17 -
    18 - No, Half + 1 metadb is required.
    19 -
Moderator's Comments:
Mod Comment code tags for code and listings please. There's a separate[LIST] tags for lists

Last edited by Mack1982; 07-23-2010 at 08:23 AM..
# 3  
  • 14. iostat -En
  • 16. check for inode status by using the command "df -oi /filesystem"
# 4  
5. prstat

6. I'm not sure what physically means, but prtdiag does what I think the OP is asking

10 unix filesystems do not have a file creation time.
Some oddball filesystems may support it but ufs does not. This is a trick question. Or one asked by somebody who does not know unix. Which means you are in trouble in this interview because the people who are asking do not actually know the right answer.
# 5  
5. you can also use “sar” utility
6. isainfo -v
9. if box is on network and you have boot server then you can boot from server. on the OK> boot net -s.
11. if any file system is mounted then the entry will be on /etc/mnttab, however without placing the entries on /etc/vfstab, still you can mount the file which will be not boot persistence
12 svcadm milestone -d milestone/single-user:default
17. isn’t its /etc/system!!
# 6  
Code:
2. /var/adm/messages
4. metastat, metattach, metadetach, metarecover
9. Take out the disk and mount in another similar solaris box??


Last edited by rdcwayx; 07-26-2010 at 02:09 AM..
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #678
Difficulty: Medium
Wi-Fi positioning systems use the positions of local cellular towers to identify the location of a Wi-Fi device.
True or False?

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Answers for few objective questions.

Hi Unix geniuses, I need your help for the answers of few objective Q&A. i dont know if my answers are correct or not. So i really need your help to provide the answers which will help me in unix programming. (1 Reply)
Discussion started by: Vivekit82
1 Replies

2. Shell Programming and Scripting

Bash script to give multiple choices and a varying number of answers

Hello everybody, I use `case' quite a lot but , excellent as it is , it only gives one final result ; can anyone suggest a way whereas , say long lists of choices are given and I , or a user could select either one two or any number of results to be echoed . many thanks in... (3 Replies)
Discussion started by: V686
3 Replies

3. Shell Programming and Scripting

Perl script give answers by file

Hi, I am new in perl. I am running a perl installation script, its asking for paths and so many inputs. Can we provide that info by any file. so i can avoid the interactive installation. (2 Replies)
Discussion started by: Priy
2 Replies

4. UNIX for Advanced & Expert Users

Interview questions and answers on HP Unix administration

Hi, Can some body help me to get Interview questions and answers on HP Unix administration? Thanks Krsnadasa (1 Reply)
Discussion started by: krsnadasa
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Eric's Questions and Answers Blog

I hope this is ok so I will ask if I may use this thread to ask questions about programming. May I use this thread to ask questions and answer questions? If the answer is yes, this is a thread made for minimizing the amount of threads I post to ask questions about programming. Please feel... (3 Replies)
Discussion started by: Errigour
3 Replies

6. Solaris

Please give me answer for these interview questions.

As i'm going to attend my first interview day after tomorrow, What should i need to answer if the interviewer asked me about 1. Tell me about your production environment. 2. What about your team size? 3. Tell me about the most critical situation/issue you have ever faced. Can any... (10 Replies)
Discussion started by: Sesha
10 Replies

7. Solaris

solaris 10 OS administration interview questions and answers

Hello, I am new to this forum and I am preparing for interview .Kindly can anybody send me Solaris 10 OS administration interview questions and answers (2 Replies)
Discussion started by: meet2muneer
2 Replies

8. Solaris

expecting answers for these questions?

hi all plese clarify me in the following area. 1. What is the default NFS version in solaris 5.10. If it is 3, then why it asks me to specify "-o vers=3" keyword while i am mounting a share from a RHEL 5.1 Server? 2. Can someone give the link to download packages for accessing "ntfs"... (4 Replies)
Discussion started by: kingston
4 Replies

9. Solaris

Interview Questions

hi everybody, my name is samir, i m from delhi,india. i m a student in solaris. just few days ago i had completed my course. can anybody tell me the possible interview questions in solaris. (1 Reply)
Discussion started by: samir_sinu
1 Replies

Featured Tech Videos